Code Llama 34B Instruct

KodE disponueshme
nga MetaID-ja e modelit: 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.

Çmim
≈ 0,0408 US$/ekz
Kontekst
16 384 token
Dalja maks.
4096 token
Hyrje → Dalje
Tekst → Tekst
Zhvillues
Meta
Përditësuar
23 shtator 2026
01

Loja e lojërave

Provo Code Llama 34B Instruct

Hyrje & rezultat

≈ 0,0408 US$/ekz
Provo Code Llama 34B Instruct
Cilësimet e avancuara (3)
Rezultat
Përgjigja shfaqet këtu.

Ky ekzekutim

rreth 0,0408 US$ · 4,08 kredite

0,1224 US$ (12,24 kredite) rezervohen në fillim; koha aktuale e GPU-t faturohet.

Për llogaritë pa blerje: ekzekutimet mbi 2 kredite kanë nevojë për një rimbushje.

I ri këtu?

10 kredite falas (0,10 US$) kur të regjistrohet me Google

I përdorshëm 24 orë pas regjistrimit, deri në 5 ekzekutime në ditë dhe më shumë se 2 kredite për ekzekutim. Metodat e tjera të hyrjes fillojnë pa kredite.

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

Rreth Code Llama 34B Instruct

PërmbledhjeMë 23 shtator 2026

Code Llama 34B Instruct Ă«shtĂ« njĂ« model i Meta nĂ« kategorinĂ« Kod. NĂ« Railwail, Code Llama 34B Instruct kushton ≈ 0,0408 US$ pĂ«r ekzekutim. Dritarja e kontekstit pĂ«rmban 16 384 token, dhe njĂ« pĂ«rgjigje mund tĂ« jetĂ« deri nĂ« 4096 token e gjatĂ«.

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

Çmimet

Çmimet nĂ« dollarĂ« amerikan. PĂ«rdorimi ngarkohet nga kreditet e parapaguar.
Ekzekutim tipik (≈ 35 s nĂ« L40S)0,0408 US$ pĂ«r ekzekutim
Koha GPU (L40S)0,00117 US$ për sekondë GPU
  • Faturohet sipas kohĂ«s GPU qĂ« ekzekutimi nĂ« tĂ« vĂ«rtetĂ« merr. Kur ekzekutimi fillon, 3× çmimi tipik rezervohet nga bilanci yt dhe zgjidhet mĂ« pas.
  • 1 kredi = 0,01 US$

Kalkulator i kostos

Kalkulator çmimesh

s

Tipike sipas ofruesi: rreth 34,9 s

Gjithsej

4,08 US$

408 kredite

Për ekzekutim

0,0408 US$ · 4,08 kredite

Faturohet koha aktuale e GPU; kjo është një vlerësim.

05

API

Thirr Code Llama 34B Instruct me çelësin tuaj të API-t Railwail. Përdor këtë ID modeli në kërkesë:

Nuk ka shembull API të verifikuar

API publike kalon një format hyrjeje të ndryshëm nga ai që ky model ka nevojë. Përdor lojërat më lart.

06

Specifikacione

ID i modelit
codellama-34b-instruct
Zhvilluesi
Meta
Kategoria
Kod
Hyrja
Tekst
Dalja
Tekst
Dritarja e kontekstit
16 384 token
Dalja maks.
4096 token
Faturimi
Sipas përdorimit (token ose kohë GPU)
Katalogu i përditësuar
23 shtator 2026

Parametrat e hyrjes

Hyrjet dhe cilësimet nga skema e hyrjes së modelit. Shembulli në seksionin API tregon cilat prej tyre e pranon API-ja.

  • prompti detyrueshĂ«m

    Coding prompt

    Lloji: Tekst
    Parazgjedhja: –
    Vlerat e lejuara: –
  • max_tokens
    Lloji: Numër i plotë
    Parazgjedhja: 1024
    Vlerat e lejuara: 1 deri 4096
  • temperature
    Lloji: Numër
    Parazgjedhja: 0.2
    Vlerat e lejuara: 0 deri 2
  • system_prompt

    Optional system instruction

    Lloji: Tekst
    Parazgjedhja: –
    Vlerat e lejuara: –

Etiketat

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

Raste përdorimi

08

Pyetje të shpeshta

ÇfarĂ« Ă«shtĂ« Code Llama 34B Instruct?

Code Llama 34B Instruct është një model nga Meta në kategorinë Kod.

Sa kushton Code Llama 34B Instruct në Railwail?

NĂ« Railwail, Code Llama 34B Instruct kushton ≈ 0,0408 US$ pĂ«r ekzekutim. TĂ« tarifohesh pĂ«r atĂ« qĂ« çdo kĂ«rkesĂ« nĂ« fakt pĂ«rdor. PĂ«rdorimi paguhet nga kredite tĂ« parapaguar; 1 kredit barazon 0,01 US$.

Cila është dritarja e kontekstit të Code Llama 34B Instruct?

Dritarja e kontekstit të Code Llama 34B Instruct përmban 16 384 token. Një përgjigje mund të jetë deri në 4096 token e gjatë.

Sa i shpejtë është Code Llama 34B Instruct?

Nuk ka ende mjaft ekzekutime të matura të Code Llama 34B Instruct në Railwail për të deklaruar një kohë ekzekutimi. Varet nga hyrja, cilësimet dhe ngarkesa në ofruesin e shërbimit.

A është Code Llama 34B Instruct më i mirë se Code Llama 13B Instruct?

Varet nga detyra. Code Llama 34B Instruct (Meta) dhe Code Llama 13B Instruct (Meta) janë të dy modele në kategorinë Kod. Faqja e krahasimit tregon çmimet dhe specifikacimet e tyre krah për krah.

Krahaso Code Llama 34B Instruct dhe Code Llama 13B Instruct
09

Të gjitha modelet përmes një API

Një çelës API për çdo model në Railwail. Përdorimi ngarkohet nga kreditet e parapaguar, 1 kredit = 0,01 US$.