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.
- Fiyat
- ≈ $0,0408/çalıştırma
- Bağlam
- 16.384 token
- Maks. Çıkış
- 4.096 token
- Giriş → Çıkış
- Metin → Metin
- Geliştirici
- Meta
- Güncellendi
- 23 Eylül 2026
Playground
Code Llama 34B Instruct'ı deneyin
Giriş & Sonuç
Bu çalıştırma
yaklaşık $0,0408 · 4,08 kredi
Başlangıçta $0,1224 (12,24 kredi) ayrılır; gerçek GPU süresi faturalandırılır.
Satın alma olmayan hesaplar için: 2 kredinin üzerindeki çalıştırmalar bir yükleme gerektirir.
Yeni misiniz?
Google ile kaydolduğunuzda 10 ücretsiz kredi ($0,10)
Kaydolduktan 24 saat sonra kullanılabilir, günde 5 çalıştırmaya kadar ve çalıştırma başına en fazla 2 kredi. Diğer oturum açma yöntemleri kredi olmadan başlar.
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 Hakkında
Code Llama 34B Instruct, Meta tarafından Kod kategorisinde geliştirilen bir modeldir. Railwail üzerinde Code Llama 34B Instruct maliyeti ≈ $0,0408 çalıştırma başına. Kontekst penceresi 16.384 token içerir ve bir yanıt en fazla 4.096 token uzunluğunda olabilir.
Fiyatlandırma
| Tipik çalıştırma (≈ 35 s, L40S üzerinde) | $0,0408 çalıştırma başına |
|---|---|
| GPU Süresi (L40S) | $0,00117 GPU saniyesi başına |
- Çalıştırmanın gerçekten aldığı GPU süresi için faturalandırılır. Çalıştırma başladığında, bakiyenizden tipik fiyatın 3 katı ayrılır ve daha sonra kapatılır.
- 1 kredi = $0,01
Maliyet Hesaplayıcı
Fiyat hesaplayıcı
Sağlayıcıya göre tipik: yaklaşık 34,9 s
Toplam
$4,08
408 kredi
Çalışma başına
$0,0408 · 4,08 kredi
Gerçek GPU süresi faturalandırılır; bu bir tahmindir.
API
Doğrulanmış API örneği yok
Genel API, bu modelin ihtiyaç duyduğundan farklı bir giriş biçimi iletir. Yukarıdaki oyun alanını kullanın.
Özellikler
- Model Kimliği
codellama-34b-instruct- Geliştirici
- Meta
- Kategori
- Kod
- Giriş
- Metin
- Çıkış
- Metin
- Bağlam penceresi
- 16.384 token
- Maks. çıkış
- 4.096 token
- Faturalandırma
- Kullanıma göre (token veya GPU süresi)
- Katalog girişi güncellendi
- 23 Eylül 2026
Giriş Parametreleri
Modelin giriş şemasından giriş ve ayarlar. API bölümündeki örnek, API'nin hangilerini kabul ettiğini gösterir.
promptgerekliCoding prompt
Tür: MetinVarsayılan: –İzin verilen değerler: –max_tokensTür: Tam sayıVarsayılan:1024İzin verilen değerler: 1 ile 4.096 arasındatemperatureTür: SayıVarsayılan:0.2İzin verilen değerler: 0 ile 2 arasındasystem_promptOptional system instruction
Tür: MetinVarsayılan: –İzin verilen değerler: –
Etiketler
- meta
- code-llama
- coding
- instruct
- open-weights
- replicate
Kullanım Alanları
Sık Sorulan Sorular
Code Llama 34B Instruct nedir?
Code Llama 34B Instruct, Meta tarafından Kod kategorisinde oluşturulan bir modeldir.
Code Llama 34B Instruct Railwail'de ne kadar maliyetlidir?
Railwail üzerinde Code Llama 34B Instruct maliyeti ≈ $0,0408 çalıştırma başına. Her istek gerçekten ne kadar kullanırsa o kadar ücretlendirilirsiniz. Kullanım ön ödemeli kredilerden ödenir; 1 kredi $0,01 değerindedir.
Code Llama 34B Instruct'nin kontekst penceresi ne kadardır?
Code Llama 34B Instruct'nin kontekst penceresi 16.384 token içerir. Bir yanıt en fazla 4.096 token uzunluğunda olabilir.
Code Llama 34B Instruct ne kadar hızlıdır?
Railwail'de Code Llama 34B Instruct için henüz çalıştırma süresi belirtmek için yeterli ölçülen çalıştırma yoktur. Bu, giriş, ayarlar ve sağlayıcıdaki yüke bağlıdır.
Code Llama 34B Instruct, Code Llama 13B Instruct'dan daha iyi midir?
Bu göreve bağlıdır. Code Llama 34B Instruct (Meta) ve Code Llama 13B Instruct (Meta) her ikisi de Kod kategorisinde modellerdir. Karşılaştırma sayfası fiyatlarını ve özelliklerini yan yana gösterir.
Code Llama 34B Instruct ve Code Llama 13B Instruct'ı karşılaştırKarşılaştırılabilir modeller
Bu kategorideki tümü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/çalıştırma
Birim başına 84 % daha ucuz
Code Llama 34B Instruct ve Code Llama 13B Instruct karşılaştırMeta'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/çalıştırma
Birim başına 24 % daha pahalı
Code Llama 34B Instruct ve Code Llama 70B Instruct karşılaştırMeta'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/çalıştırma
Birim başına 82 % daha ucuz
Code Llama 34B Instruct ve Code Llama 7B Instruct karşılaştır
Tüm Modeller Tek Bir API Aracılığıyla
Railwail'deki her model için bir API anahtarı. Kullanım, ön ödemeli kredilerden tahsil edilir, 1 kredi = $0,01.