Code Llama 34B Instruct

CodDisponibil
de MetaID model: 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.

Preț
≈ 0,0408 USD/rulare
Context
16.384 tokeni
Ieșire max.
4.096 tokeni
Intrare → ieșire
Text → Text
Dezvoltator
Meta
Actualizat
23 septembrie 2026
01

Playground

Încearcă Code Llama 34B Instruct

Intrare & rezultat

≈ 0,0408 USD/rulare
Încearcă Code Llama 34B Instruct
Setări avansate (3)
Rezultat
Răspunsul apare aici.

Această rulare

aproximativ 0,0408 USD · 4,08 credite

La start se rezervă 0,1224 USD (12,24 credite); se factureaza timpul GPU real.

Pentru conturi fără achiziție anterioară: rulările peste 2 credite necesită o reîncărcare.

Nou aici?

10 credite gratuite (0,10 USD) când te înregistrezi cu Google

Utilizabil 24 ore după înregistrare, până la 5 rulări pe zi și maximum 2 credite pe rulare. Alte metode de conectare încep fără credite.

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

Despre Code Llama 34B Instruct

Pe scurtDin 23 septembrie 2026

Code Llama 34B Instruct este un model de Meta din categoria Cod. Pe Railwail, Code Llama 34B Instruct costă ≈ 0,0408 USD per rulare. Fereastra de context conține 16.384 token-uri, iar un răspuns poate fi lung de până la 4.096 token-uri.

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

Prețuri

Prețuri în dolari americani. Utilizarea se percepe din credite prepay.
Rulare tipică (≈ 35 s pe L40S)0,0408 USD per rulare
Timp GPU (L40S)0,00117 USD per secundă GPU
  • Se facturează timpul GPU pe care îl necesită efectiv rularea. La pornire, se rezervă din soldul tău 3× prețul tipic și se decontează ulterior.
  • 1 credit = 0,01 USD

Calculator de costuri

Calculator de preț

s

Tipic conform furnizorului: aprox. 34,9 s

Total

4,08 USD

408 credite

Pe rulare

0,0408 USD · 4,08 credite

Se factură după timpul GPU real; aceasta este o estimare.

05

API

Apelează Code Llama 34B Instruct cu cheia ta API Railwail. Folosește acest ID de model în cerere:

Niciun exemplu API verificat

API-ul public transmite un format de intrare diferit de ceea ce are nevoie acest model. Folosește playground-ul de mai sus.

06

Specificații

ID model
codellama-34b-instruct
Dezvoltator
Meta
Categorie
Cod
Intrare
Text
Ieșire
Text
Fereastră de context
16.384 tokeni
Ieșire max.
4.096 tokeni
Facturare
După utilizare (tokeni sau timp GPU)
Intrare catalog actualizată
23 septembrie 2026

Parametri de intrare

Intrări și setări din schema de intrare a modelului. Exemplul din secțiunea API arată care dintre ele acceptă API-ul.

  • promptobligatoriu

    Coding prompt

    Tip: Text
    Implicit: –
    Valori permise: –
  • max_tokens
    Tip: Număr întreg
    Implicit: 1024
    Valori permise: 1 până la 4.096
  • temperature
    Tip: Număr
    Implicit: 0.2
    Valori permise: 0 până la 2
  • system_prompt

    Optional system instruction

    Tip: Text
    Implicit: –
    Valori permise: –

Etichete

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

Cazuri de utilizare

08

Întrebări frecvente

Ce este Code Llama 34B Instruct?

Code Llama 34B Instruct este un model de Meta din categoria Cod.

Cât costă Code Llama 34B Instruct pe Railwail?

Pe Railwail, Code Llama 34B Instruct costă ≈ 0,0408 USD per rulare. Ți se percepe taxa pentru ceea ce fiecare cerere folosește efectiv. Utilizarea se plătește din credite prepay; 1 credit egal cu 0,01 USD.

Care este fereastra de context a Code Llama 34B Instruct?

Fereastra de context a Code Llama 34B Instruct conține 16.384 token-uri. Un răspuns poate fi lung de până la 4.096 token-uri.

Cât de rapid este Code Llama 34B Instruct?

Nu sunt suficiente rulări măsurate ale Code Llama 34B Instruct pe Railwail încă pentru a indica un timp de rulare. Depinde de intrare, de setări și de sarcina la furnizor.

Este Code Llama 34B Instruct mai bun decât Code Llama 13B Instruct?

Depinde de sarcină. Code Llama 34B Instruct (Meta) și Code Llama 13B Instruct (Meta) sunt ambele modele din categoria Cod. Pagina de comparație arată prețurile și specificațiile lor una lângă alta.

Compară Code Llama 34B Instruct și Code Llama 13B Instruct
09

Toate modelele printr-o singură API

O cheie API pentru fiecare model pe Railwail. Utilizarea se percepe din credite prepay, 1 credit = 0,01 USD.