Code Llama 34B Instruct
codellama-34b-instructMeta's 34B Code Llama tuned for instruction following. A balance of size and quality for code generation, completion, and explanation, with strong coverage of Python, JavaScript, and other common languages. Runs on Replicate per call.
- Ămim
- â 0,0408Â US$/ekz
- Kontekst
- 16Â 384 token
- Dalja maks.
- 4096 token
- Hyrje â Dalje
- Tekst â Tekst
- Zhvillues
- Meta
- Përditësuar
- 23 shtator 2026
Loja e lojërave
Provo Code Llama 34B Instruct
Hyrje & rezultat
Ky ekzekutim
rreth 0,0408 US$ · 4,08 kredite
0,1224 US$ (12,24 kredite) rezervohen në fillim; koha aktuale e GPU-t faturohet.
Për llogaritë pa blerje: ekzekutimet mbi 2 kredite kanë nevojë për një rimbushje.
I ri këtu?
10 kredite falas (0,10 US$) kur të regjistrohet me Google
I përdorshëm 24 orë pas regjistrimit, deri në 5 ekzekutime në ditë dhe më shumë se 2 kredite për ekzekutim. Metodat e tjera të hyrjes fillojnë pa kredite.
Examples
Prompt
Write a function that returns the fibonnaci sequence, and also talk like a pirate.
Response
Arrgh, here be me code for ye, matey: ``` def fibonacci(n): if n <= 1: return n else: return fibonacci(n-1) + fibonacci(n-2) ``` Now, let's break down the code and talk like pirates, savvy? The function starts with a simple check: if the input `n` is less than or equal to 1, we just return it as the first two numbers in the sequence are 0 and 1. This be called the "base case." ``` if n <= 1: return n ``` But if the input `n` be greater than 1, we have a bit more work to do. We use a recursive call to find the previous two numbers in the sequence by calling the function again with `n-1`. This be called the "recursive case." ``` else: return fibonacci(n-1) + fibonacci(n-2) ``` Now, let's talk like pirates. The first two numbers in the sequence be 0 and 1, just like on the high seas. The next number be 1+1=2, which be like a ship with two masts. Then it be 1+2=3, which be like a ship with three masts. And so on and so forth. ``` 0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765 ``` So there ye have it, me hearty. The fibonacci sequence be a series of numbers that start with 0 and 1, and each number after that be the sum of the two before it. And if ye ever find yerself lost at sea, just remember: fibonacci be the answer to all yer problems!
Settings
system_prompt: Responses should be written in Python.
Prompt
Write a python function that sums 2 integers together, and returns the result.
Response
def sum_integers(a, b): return a + b
Settings
system_prompt: Responses should be written in python.
Prompt
Write a function that sums 2 integers together, and returns the result.
Response
function sumIntegers(a: number, b: number): number { return a + b; }
Settings
system_prompt: Responses should be written in TypeScript.
Rreth Code Llama 34B Instruct
Code Llama 34B Instruct Ă«shtĂ« njĂ« model i Meta nĂ« kategorinĂ« Kod. NĂ« Railwail, Code Llama 34B Instruct kushton â 0,0408 US$ pĂ«r ekzekutim. Dritarja e kontekstit pĂ«rmban 16 384 token, dhe njĂ« pĂ«rgjigje mund tĂ« jetĂ« deri nĂ« 4096 token e gjatĂ«.
Ămimet
| Ekzekutim tipik (â 35 s nĂ« L40S) | 0,0408 US$ pĂ«r ekzekutim |
|---|---|
| Koha GPU (L40S) | 0,00117 US$ për sekondë GPU |
- Faturohet sipas kohës GPU që ekzekutimi në të vërtetë merr. Kur ekzekutimi fillon, 3à çmimi tipik rezervohet nga bilanci yt dhe zgjidhet më pas.
- 1 kredi = 0,01Â US$
Kalkulator i kostos
Kalkulator çmimesh
Tipike sipas ofruesi: rreth 34,9 s
Gjithsej
4,08Â US$
408 kredite
Për ekzekutim
0,0408 US$ · 4,08 kredite
Faturohet koha aktuale e GPU; kjo është një vlerësim.
API
Nuk ka shembull API të verifikuar
API publike kalon një format hyrjeje të ndryshëm nga ai që ky model ka nevojë. Përdor lojërat më lart.
Specifikacione
- ID i modelit
codellama-34b-instruct- Zhvilluesi
- Meta
- Kategoria
- Kod
- Hyrja
- Tekst
- Dalja
- Tekst
- Dritarja e kontekstit
- 16Â 384 token
- Dalja maks.
- 4096 token
- Faturimi
- Sipas përdorimit (token ose kohë GPU)
- Katalogu i përditësuar
- 23 shtator 2026
Parametrat e hyrjes
Hyrjet dhe cilësimet nga skema e hyrjes së modelit. Shembulli në seksionin API tregon cilat prej tyre e pranon API-ja.
prompti detyrueshëmCoding prompt
Lloji: TekstParazgjedhja: âVlerat e lejuara: âmax_tokensLloji: NumĂ«r i plotĂ«Parazgjedhja:1024Vlerat e lejuara: 1 deri 4096temperatureLloji: NumĂ«rParazgjedhja:0.2Vlerat e lejuara: 0 deri 2system_promptOptional system instruction
Lloji: TekstParazgjedhja: âVlerat e lejuara: â
Etiketat
- meta
- code-llama
- coding
- instruct
- open-weights
- replicate
Raste përdorimi
Pyetje të shpeshta
ĂfarĂ« Ă«shtĂ« Code Llama 34B Instruct?
Code Llama 34B Instruct është një model nga Meta në kategorinë Kod.
Sa kushton Code Llama 34B Instruct në Railwail?
NĂ« Railwail, Code Llama 34B Instruct kushton â 0,0408 US$ pĂ«r ekzekutim. TĂ« tarifohesh pĂ«r atĂ« qĂ« çdo kĂ«rkesĂ« nĂ« fakt pĂ«rdor. PĂ«rdorimi paguhet nga kredite tĂ« parapaguar; 1 kredit barazon 0,01 US$.
Cila është dritarja e kontekstit të Code Llama 34B Instruct?
Dritarja e kontekstit të Code Llama 34B Instruct përmban 16 384 token. Një përgjigje mund të jetë deri në 4096 token e gjatë.
Sa i shpejtë është Code Llama 34B Instruct?
Nuk ka ende mjaft ekzekutime të matura të Code Llama 34B Instruct në Railwail për të deklaruar një kohë ekzekutimi. Varet nga hyrja, cilësimet dhe ngarkesa në ofruesin e shërbimit.
A është Code Llama 34B Instruct më i mirë se Code Llama 13B Instruct?
Varet nga detyra. Code Llama 34B Instruct (Meta) dhe Code Llama 13B Instruct (Meta) janë të dy modele në kategorinë Kod. Faqja e krahasimit tregon çmimet dhe specifikacimet e tyre krah për krah.
Krahaso Code Llama 34B Instruct dhe Code Llama 13B InstructModele të krahasueshme
Të gjitha në këtë kategoriMeta's 13B Code Llama tuned for instruction following. A faster mid-size option for code generation and completion, supporting infilling for inserting code at a cursor position. Served on Replicate per call.
â 0,0065Â US$/ekz
84 % më lirë për njësi
Krahasoje Code Llama 34B Instruct dhe Code Llama 13B InstructMeta's largest Code Llama, a 70B Llama-2 derivative specialized for programming and tuned to follow instructions in chat form. Handles code generation, completion, and explanation across common languages. Served on Replicate as a per-call endpoint.
â 0,0504Â US$/ekz
24 % më shtrenjtë për njësi
Krahasoje Code Llama 34B Instruct dhe Code Llama 70B InstructMeta's smallest Code Llama at 7B parameters, tuned for instruction following. The cheapest and fastest member of the family for quick code generation, completion, and infilling. Served on Replicate per call.
â 0,0074Â US$/ekz
82 % më lirë për njësi
Krahasoje Code Llama 34B Instruct dhe Code Llama 7B Instruct
Të gjitha modelet përmes një API
Një çelës API për çdo model në Railwail. Përdorimi ngarkohet nga kreditet e parapaguar, 1 kredit = 0,01 US$.