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.
- Prezzo
- ≈ 0,0408 USD/esecuzione
- Contesto
- 16.384 token
- Max. output
- 4096 token
- Input → output
- Testo → Testo
- Sviluppatore
- Meta
- Aggiornato
- 23 settembre 2026
Playground
Prova Code Llama 34B Instruct
Input e output
Questa esecuzione
circa 0,0408 USD · 4,08 crediti
0,1224Â USD (12,24 crediti) sono riservati all'inizio; il tempo GPU effettivo viene fatturato.
Per account senza acquisti precedenti: le esecuzioni oltre 2 crediti richiedono una ricarica.
Nuovo qui?
10 crediti gratuiti (0,10Â USD) quando ti iscrivi con Google
Utilizzabile 24 ore dopo l'iscrizione, fino a 5 esecuzioni al giorno e al massimo 2 crediti per esecuzione. Altri metodi di accesso iniziano senza crediti.
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.
Informazioni su Code Llama 34B Instruct
Code Llama 34B Instruct è un modello di Meta nella categoria Code. Su Railwail, Code Llama 34B Instruct costa ≈ 0,0408 USD per esecuzione. La finestra di contesto contiene 16.384 token e una risposta può essere lunga fino a 4096 token.
Prezzi
| Esecuzione tipica (≈ 35 s su L40S) | 0,0408 USD per esecuzione |
|---|---|
| Tempo GPU (L40S) | 0,00117Â USD per secondo GPU |
- Fatturato in base al tempo GPU effettivamente utilizzato. All'avvio, 3× il prezzo tipico viene riservato dal tuo saldo e regolato successivamente.
- 1 credito = 0,01Â USD
Calcolatore di costi
Calcolatore prezzi
Tipico secondo il provider: circa 34,9 s
Totale
4,08Â USD
408 crediti
Per esecuzione
0,0408 USD · 4,08 crediti
Fatturato in base al tempo GPU effettivo; questo è una stima.
API
Nessun esempio API verificato
L'API pubblica passa un formato di input diverso da quello richiesto da questo modello. Usa il playground sopra.
Specifiche
- ID modello
codellama-34b-instruct- Sviluppatore
- Meta
- Categoria
- Code
- Input
- Testo
- Output
- Testo
- Finestra di contesto
- 16.384 token
- Output massimo
- 4096 token
- Fatturazione
- In base all'utilizzo (token o tempo GPU)
- Voce di catalogo aggiornata
- 23 settembre 2026
Parametri di input
Input e impostazioni dallo schema di input del modello. L'esempio nella sezione API mostra quali di essi l'API accetta.
promptObbligatorioCoding prompt
Tipo: TestoPredefinito: –Valori consentiti: –max_tokensTipo: Numero interoPredefinito:1024Valori consentiti: 1 a 4096temperatureTipo: NumeroPredefinito:0.2Valori consentiti: 0 a 2system_promptOptional system instruction
Tipo: TestoPredefinito: –Valori consentiti: –
Etichette
- meta
- code-llama
- coding
- instruct
- open-weights
- replicate
Casi d'uso
Domande frequenti
Cos'è Code Llama 34B Instruct?
Code Llama 34B Instruct è un modello di Meta nella categoria Code.
Quanto costa Code Llama 34B Instruct su Railwail?
Su Railwail, Code Llama 34B Instruct costa ≈ 0,0408 USD per esecuzione. Ti viene addebitato ciò che ogni richiesta utilizza effettivamente. L'utilizzo viene pagato con crediti prepagati; 1 credito equivale a 0,01 USD.
Qual è la finestra di contesto di Code Llama 34B Instruct?
La finestra di contesto di Code Llama 34B Instruct contiene 16.384 token. Una risposta può essere lunga fino a 4096 token.
Quanto è veloce Code Llama 34B Instruct?
Non ci sono ancora abbastanza esecuzioni misurate di Code Llama 34B Instruct su Railwail per indicare un tempo di esecuzione. Dipende dall'input, dalle impostazioni e dal carico presso il provider.
Code Llama 34B Instruct è migliore di Code Llama 13B Instruct?
Dipende dall'attività . Code Llama 34B Instruct (Meta) e Code Llama 13B Instruct (Meta) sono entrambi modelli nella categoria Code. La pagina di confronto mostra i loro prezzi e le specifiche affiancati.
Confronta Code Llama 34B Instruct e Code Llama 13B InstructModelli comparabili
Tutti in questa categoriaMeta'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 USD/esecuzione
84 % più economico per unitÃ
Confronta Code Llama 34B Instruct e 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 USD/esecuzione
24 % più costoso per unitÃ
Confronta Code Llama 34B Instruct e 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 USD/esecuzione
82 % più economico per unitÃ
Confronta Code Llama 34B Instruct e Code Llama 7B Instruct
Tutti i modelli tramite un'API
Una chiave API per tutti i modelli su Railwail. L'utilizzo viene addebitato da crediti prepagati, 1 credito = 0,01Â USD.