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.
- Цена
- ≈ 0,0408 US$/покретање
- Контекст
- 16.384 токена
- Макс. излаз
- 4.096 токена
- Унос → излаз
- Текст → Текст
- Програмер
- Meta
- Ажурирано
- 23. септембар 2026.
Плејграунд
Пробајте Code Llama 34B Instruct
Унос и резултат
Овај покрет
око 0,0408 US$ · 4,08 кредита
При покретању се резервише 0,1224 US$ (12,24 кредита); наплаћује се стварно GPU време.
За налоге без куповине: покрети изнад 2 кредита захтевају допуну.
Нов си овде?
10 бесплатних кредита (0,10 US$) када се пријавиш са Google
Употребљиво 24 сати после пријаве, до 5 покрета дневно и највише 2 кредита по покрету. Други начини пријаве почињу без кредита.
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.
О Code Llama 34B Instruct
Code Llama 34B Instruct је модел од Meta из категорије Код. На Railwail-у, Code Llama 34B Instruct кошта ≈ 0,0408 US$ по покретању. Контекстни прозор садржи 16.384 токена, а један одговор може бити дугачак до 4.096 токена.
Цене
| Типично покретање (≈ 35 s на L40S) | 0,0408 US$ по покретању |
|---|---|
| GPU време (L40S) | 0,00117 US$ по GPU секунди |
- Наплаћује се GPU време које покретање заиста траје. Када се покретање почне, 3× типична цена се резервише са вашег салда и касније се намирава.
- 1 кредит = 0,01 US$
Калкулатор трошкова
Калкулатор цена
Типично према добављачу: око 34,9 s
Укупно
4,08 US$
408 кредита
По покретању
0,0408 US$ · 4,08 кредита
Наплаћује се стварно време GPU; ово је процена.
API
Нема верификованог API примера
Јавни API прослеђује другачији формат улаза него што овај модел треба. Користите playground изнад.
Спецификације
- ID модела
codellama-34b-instruct- Програмер
- Meta
- Категорија
- Код
- Унос
- Текст
- Излаз
- Текст
- Контекстни прозор
- 16.384 токена
- Макс. излаз
- 4.096 токена
- Наплата
- По потрошњи (токени или GPU време)
- Унос у каталог ажуриран
- 23. септембар 2026.
Параметри уноса
Уноси и подешавања из шеме уноса модела. Пример у API одељку показује које од њих API прихвата.
promptобавезноCoding prompt
Тип: ТекстПодразумевано: –Дозвољене вредности: –max_tokensТип: Целобројни бројПодразумевано:1024Дозвољене вредности: 1 до 4.096temperatureТип: БројПодразумевано:0.2Дозвољене вредности: 0 до 2system_promptOptional system instruction
Тип: ТекстПодразумевано: –Дозвољене вредности: –
Ознаке
- meta
- code-llama
- coding
- instruct
- open-weights
- replicate
Области примене
Често постављана питања
Шта је Code Llama 34B Instruct?
Code Llama 34B Instruct је модел од Meta у категорији Код.
Колико кошта Code Llama 34B Instruct на Railwail-у?
На Railwail-у, Code Llama 34B Instruct кошта ≈ 0,0408 US$ по покретању. Наплаћује се оно што свака захтева заиста користи. Коришћење се плаћа из унапред припремљених кредита; 1 кредит је једнак 0,01 US$.
Колики је контекстни прозор од Code Llama 34B Instruct?
Контекстни прозор од Code Llama 34B Instruct садржи 16.384 токена. Један одговор може бити дугачак до 4.096 токена.
Колико је брз Code Llama 34B Instruct?
За Code Llama 34B Instruct на Railwail-у још нема довољно измерених покретања да би се наводило време извршавања. Зависи од уноса, поставки и оптерећења код пружаоца услуге.
Да ли је Code Llama 34B Instruct бољи од Code Llama 13B Instruct?
То зависи од задатка. Code Llama 34B Instruct (Meta) и Code Llama 13B Instruct (Meta) су оба модела у категорији Код. Страница за поређење приказује њихове цене и спецификације упоредо.
Упоредите Code Llama 34B Instruct и Code Llama 13B InstructУпоредиви модели
Сви у овој категоријиMeta'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$/покретање
84 % јефтиније по јединици
Упоредите Code Llama 34B Instruct и 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$/покретање
24 % скупље по јединици
Упоредите Code Llama 34B Instruct и 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$/покретање
82 % јефтиније по јединици
Упоредите Code Llama 34B Instruct и Code Llama 7B Instruct
Сви модели преко једног API-ја
Један API кључ за сваки модел на Railwail. Употреба се наплаћује из унапред припремљених кредита, 1 кредит = 0,01 US$.