Code Llama 34B Instruct

CodeDisponibile
di MetaID modello: codellama-34b-instruct

Meta'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
01

Playground

Prova Code Llama 34B Instruct

Input e output

≈ 0,0408 USD/esecuzione
Prova Code Llama 34B Instruct
Impostazioni avanzate (3)
Risultato
La risposta appare qui.

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.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • 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.

03

Informazioni su Code Llama 34B Instruct

RiassuntoA partire da 23 settembre 2026

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.

Code Llama 34B Instruct sits in the middle-upper range of Meta's Code Llama family. It generates and edits code from natural-language instructions and was a popular open-weights choice for self-hosted coding assistants before newer families arrived.
04

Prezzi

Prezzi in dollari USA. L'utilizzo viene addebitato dai crediti prepagati.
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

s

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.

05

API

Chiama Code Llama 34B Instruct con la tua chiave API Railwail. Usa questo ID modello nella richiesta:

Nessun esempio API verificato

L'API pubblica passa un formato di input diverso da quello richiesto da questo modello. Usa il playground sopra.

06

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.

  • promptObbligatorio

    Coding prompt

    Tipo: Testo
    Predefinito: –
    Valori consentiti: –
  • max_tokens
    Tipo: Numero intero
    Predefinito: 1024
    Valori consentiti: 1 a 4096
  • temperature
    Tipo: Numero
    Predefinito: 0.2
    Valori consentiti: 0 a 2
  • system_prompt

    Optional system instruction

    Tipo: Testo
    Predefinito: –
    Valori consentiti: –

Etichette

  • meta
  • code-llama
  • coding
  • instruct
  • open-weights
  • replicate
07

Casi d'uso

08

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 Instruct
09

Modelli comparabili

Tutti in questa categoria

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.