Code Llama 34B Instruct

KodDostupno
od MetaID modela: 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.

Cijena
≈ 0,0408 US$/pokretanje
Kontekst
16.384 tokena
Maks. izlaz
4.096 tokena
Ulaz → izlaz
Tekst → Tekst
Razvojni inženjer
Meta
Ažurirano
23. septembar 2026.
01

Playground

Isprobaj Code Llama 34B Instruct

Unos i rezultat

≈ 0,0408 US$/pokretanje
Isprobaj Code Llama 34B Instruct
Napredne postavke (3)
Rezultat
Odgovor se pojavljuje ovdje.

Ovaj pokus

oko 0,0408 US$ · 4,08 kredita

Na početku se rezervira 0,1224 US$ (12,24 kredita); naplata se vrši prema stvarnom GPU vremenu.

Za račune bez prethodne kupnje: pokusi iznad 2 kredita trebaju dopunjavanje.

Novi si ovdje?

10 besplatnih kredita (0,10 US$) kada se registriraš s Googlom

Dostupno 24 sati nakon registracije, do 5 pokusa dnevno i najviše 2 kredita po pokusu. Ostale metode prijave počinju bez kredita.

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

O Code Llama 34B Instruct

UkratkoStanje: 23. septembar 2026.

Code Llama 34B Instruct je model od Meta iz kategorije Kod. Na Railwailu, Code Llama 34B Instruct košta ≈ 0,0408 US$ po pokretanju. Kontekstni prozor sadrži 16.384 tokena, a jedan odgovor može biti dugačak do 4.096 tokena.

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

Cijene

Cijene u USD-u. Korištenje se naplaćuje iz unaprijed plaćenih kredita.
Tipično pokretanje (≈ 35 s na L40S)0,0408 US$ po pokretanju
GPU vrijeme (L40S)0,00117 US$ po GPU sekundi
  • Naplaćuje se prema GPU vremenu koje pokretanje zapravo traje. Kada se pokretanje počne, 3× tipična cijena se rezervira iz vašeg stanja i naknadno se namiruje.
  • 1 kredit = 0,01 US$

Kalkulator troškova

Kalkulator cijena

s

Tipično prema pružatelju: oko 34,9 s

Ukupno

4,08 US$

408 kredita

Po pokretanju

0,0408 US$ · 4,08 kredita

Naplaćuje se stvarno GPU vrijeme; ovo je procjena.

05

API

Pozovi Code Llama 34B Instruct sa svojim Railwail API ključem. Koristi ovaj ID modela u zahtjevu:

Nema provjeren primjer API-ja

Javni API prosleđuje drugačiji format unosa nego što ovaj model trebuje. Koristite playground gore.

06

Specifikacije

ID modela
codellama-34b-instruct
Razvojni inženjer
Meta
Kategorija
Kod
Ulaz
Tekst
Izlaz
Tekst
Kontekstni prozor
16.384 tokena
Maks. izlaz
4.096 tokena
Naplata
Po potrošnji (tokeni ili GPU vrijeme)
Katalog ažuriran
23. septembar 2026.

Parametri ulaza

Ulazi i postavke iz sheme ulaza modela. Primjer u odjeljku API pokazuje koje od njih API prihvaća.

  • promptobavezno

    Coding prompt

    Tip: Tekst
    Zadano: –
    Dozvoljene vrijednosti: –
  • max_tokens
    Tip: Cijeli broj
    Zadano: 1024
    Dozvoljene vrijednosti: 1 do 4.096
  • temperature
    Tip: Broj
    Zadano: 0.2
    Dozvoljene vrijednosti: 0 do 2
  • system_prompt

    Optional system instruction

    Tip: Tekst
    Zadano: –
    Dozvoljene vrijednosti: –

Oznake

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

Primjena

08

Često postavljana pitanja

Što je Code Llama 34B Instruct?

Code Llama 34B Instruct je model od Meta iz kategorije Kod.

Koliko stoji Code Llama 34B Instruct na Railwailu?

Na Railwailu, Code Llama 34B Instruct košta ≈ 0,0408 US$ po pokretanju. Naplaćuje se ono što svaki zahtjev zapravo koristi. Korištenje se plaća iz unaprijed kupljenih kredita; 1 kredit jednaka je 0,01 US$.

Koliki je kontekstni prozor od Code Llama 34B Instruct?

Kontekstni prozor od Code Llama 34B Instruct sadrži 16.384 tokena. Jedan odgovor može biti dugačak do 4.096 tokena.

Koliko je brz Code Llama 34B Instruct?

Za Code Llama 34B Instruct na Railwailu još nema dovoljno izmjerenih pokretanja da bi se navedlo vrijeme izvršavanja. Ovisi o unošenju, postavkama i opterećenju kod pružatelja.

Je li Code Llama 34B Instruct bolji od Code Llama 13B Instruct?

To ovisi o zadatku. Code Llama 34B Instruct (Meta) i Code Llama 13B Instruct (Meta) su oba modela iz kategorije Kod. Stranica za usporedbu prikazuje njihove cijene i specifikacije usporedno.

Usporedi Code Llama 34B Instruct i Code Llama 13B Instruct
09

Usporedivi modeli

Svi u ovoj kategoriji

Svi modeli preko jednog API-ja

Jedan API ključ za sve modele na Railwailu. Korištenje se naplaćuje iz unaprijed plaćenih kredita, 1 kredit = 0,01 US$.