Code Llama 7B Instruct

CodeVerfĂŒgbar
von MetaModell-ID: codellama-7b-instruct

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

Preis
ca. 0,0074 $/Lauf
Kontext
16.384 Token
Max. Ausgabe
4.096 Token
Eingabe → Ausgabe
Text → Text
Entwickler
Meta
Aktualisiert
23. September 2026
01

Playground

Code Llama 7B Instruct ausprobieren

Eingabe & Ergebnis

ca. 0,0074 $/Lauf
Code Llama 7B Instruct ausprobieren
Erweiterte Einstellungen (3)
Ergebnis
Die Antwort erscheint hier.

Dieser Lauf

ca. 0,0074 $ · 0,74 Credits

Beim Start werden 0,022 $ (2,2 Credits) vorgemerkt, abgerechnet wird die tatsÀchliche GPU-Zeit.

FĂŒr Konten ohne bisherigen Kauf: LĂ€ufe ĂŒber 2 Credits brauchen eine Aufladung.

Neu hier?

10 Gratis-Credits (0,10 $) bei Anmeldung mit Google

Nutzbar 24 Stunden nach der Anmeldung, bis zu 5 LÀufe pro Tag und höchstens 2 Credits je Lauf. Andere Anmeldearten starten ohne Guthaben.

02

Beispiele

Echte Ergebnisse aus den öffentlichen Beispielen dieses Modells auf Replicate, mit dem Prompt und den Einstellungen, die sie erzeugt haben. Sie wurden nicht live auf dieser Seite erzeugt.
  • Prompt

    Write a javascript function that calculates euclidean distance between two coordinates of any dimension

    Antwort

    Here is an example of how you could define such a function in JavaScript: function computeEuclideanDistance(coord1, coord2) { // Get the dimensions of both coordinate arrays var dim1 = coord1.length; var dim2 = coord2.length; // Initialize the sum of squared differences var sumOfSquaredDifferences = 0; // Iterate over each element in both coordinate arrays and calculate the difference and square it to get the squared difference and then add up all these squared differences to get the total sum of squared differences. for ( var i = 0; i < Math.min(dim1, dim2)); i++) { sumOfSquaredDifferences += Math.pow((coord1[i]) - ((coord2[i]))), 2); } return Math.sqrt(sumOfSquaredDifferences)), dim1 + dim2)); }

03

Über Code Llama 7B Instruct

Kurz gesagtStand: 23. September 2026

Code Llama 7B Instruct ist ein Modell von Meta aus der Kategorie Code. Über Railwail kostet Code Llama 7B Instruct ca. 0,0074 $ pro Lauf. Das Kontextfenster umfasst 16.384 Token, eine Antwort bis zu 4.096 Token.

Code Llama 7B Instruct is the entry-size Code Llama. It is fast and inexpensive, good for autocomplete-style tasks, small functions, and snippet explanation. Supports infilling for cursor-position code insertion.
04

Preise

Preise in US-Dollar. Abgerechnet wird ĂŒber vorab gekaufte Credits.
Typischer Lauf (ca. 6 s auf L40S)0,0074 $ pro Lauf
GPU-Zeit (L40S)0,00117 $ pro GPU-Sekunde
  • Abgerechnet wird die GPU-Zeit, die der Lauf tatsĂ€chlich braucht. Beim Start wird das 3-Fache des typischen Preises vom Guthaben vorgemerkt und danach verrechnet.
  • 1 Credit = 0,01 $

Kostenrechner

Preisrechner

s

Typisch laut Anbieter: ca. 6,3 s

Gesamt

0,74 $

74 Credits

Je Lauf

0,0074 $ · 0,74 Credits

Abgerechnet wird die tatsÀchliche GPU-Zeit; der Wert ist eine SchÀtzung.

05

API

Rufe Code Llama 7B Instruct mit deinem Railwail-API-SchlĂŒssel auf. Diese Modell-ID gehört in die Anfrage:

Kein geprĂŒftes API-Beispiel

Die öffentliche API ĂŒbergibt ein anderes Eingabeformat, als dieses Modell braucht. Nutze den Playground oben.

06

Spezifikationen

Modell-ID
codellama-7b-instruct
Entwickler
Meta
Kategorie
Code
Eingabe
Text
Ausgabe
Text
Kontextfenster
16.384 Token
Max. Ausgabe
4.096 Token
Abrechnung
Nach Verbrauch (Token bzw. GPU-Zeit)
Katalogeintrag aktualisiert
23. September 2026

Eingabeparameter

Eingaben und Einstellungen laut Eingabeschema des Modells. Welche davon die API annimmt, zeigt das Beispiel im Abschnitt API.

  • promptPflicht

    Coding prompt

    Typ: Text
    Standard: –
    Erlaubte Werte: –
  • max_tokens
    Typ: Ganzzahl
    Standard: 1024
    Erlaubte Werte: 1 bis 4.096
  • temperature
    Typ: Zahl
    Standard: 0.2
    Erlaubte Werte: 0 bis 2
  • system_prompt

    Optional system instruction

    Typ: Text
    Standard: –
    Erlaubte Werte: –

Schlagwörter

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

Einsatzgebiete

08

HĂ€ufige Fragen

Was ist Code Llama 7B Instruct?

Code Llama 7B Instruct ist ein Modell von Meta aus der Kategorie Code.

Was kostet Code Llama 7B Instruct bei Railwail?

Über Railwail kostet Code Llama 7B Instruct ca. 0,0074 $ pro Lauf. Abgerechnet wird, was jede Anfrage tatsĂ€chlich verbraucht. Bezahlt wird mit vorab gekauften Credits; 1 Credit entspricht 0,01 $.

Wie groß ist das Kontextfenster von Code Llama 7B Instruct?

Das Kontextfenster von Code Llama 7B Instruct umfasst 16.384 Token. Eine Antwort kann bis zu 4.096 Token lang sein.

Wie schnell ist Code Llama 7B Instruct?

FĂŒr Code Llama 7B Instruct gibt es bei Railwail noch zu wenige gemessene LĂ€ufe, um eine Laufzeit anzugeben. Sie hĂ€ngt von der Eingabe, den Einstellungen und der Auslastung beim Anbieter ab.

Ist Code Llama 7B Instruct besser als Code Llama 13B Instruct?

Das hÀngt von der Aufgabe ab. Code Llama 7B Instruct (Meta) und Code Llama 13B Instruct (Meta) sind beide Modelle aus der Kategorie Code. Die Vergleichsseite zeigt Preise und Spezifikationen nebeneinander.

Code Llama 7B Instruct und Code Llama 13B Instruct vergleichen
09

Vergleichbare Modelle

Alle dieser Kategorie

Alle Modelle ĂŒber eine API

Ein API-SchlĂŒssel fĂŒr alle Modelle auf Railwail. Abgerechnet wird ĂŒber vorab gekaufte Credits, 1 Credit = 0,01 $.