Granite Code 20B
granite-code-20bIBM Granite 20B Code Instruct. Larger Granite code model balancing quality and inference cost for enterprise CI/CD code-review automation.
- Preis · 1 Mio. In/Out
- $ 0.12 / $ 0.60
- Kontext
- 8'192 Token
- Max. Ausgabe
- 8'192 Token
- Eingabe → Ausgabe
- Text → Text
- Entwickler
- IBM
- Aktualisiert
- 24. September 2026
Playground
Granite Code 20B ausprobieren
Eingabe & Ergebnis
Dieser Lauf
höchstens $ 0.0025 · 0.25 Credits vorgemerkt
Abgerechnet werden die tatsächlich verbrauchten Token, der Rest der Vormerkung wird erstattet.
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. Reicht für 40 Läufe dieses Modells.
Beispiele
Prompt
Could you please explain what APR means?
Antwort
APR stands for Annual Percentage Rate. It is a figure that represents the annual cost of borrowing, including fees and interest. It is used to help consumers compare the costs of different loans and credit products. The higher the APR, the more expensive the loan is.
Einstellungen
system_prompt: You are an expert in finance that knows many concepts related to loans and credit.
Prompt
Now, please explain APR meaning with a simple example, so that even a 5 years old kid can understand you.
Antwort
Sure, I'd be happy to explain it to a 5-year-old! Let's say you want to buy a toy that costs $10. You ask your parents if you can borrow the money, and they agree. You sign a loan agreement promising to pay them back the $10 plus some extra money, called interest. The interest is calculated as a percentage of the loan amount, and it's called the Annual Percentage Rate, or APR for short. For example, let's say the APR is 5%. This means that you have to pay an extra $0.50 for each dollar you borrow. So, if you borrow $10, you have to pay $10 + ($10 * 0.05) = $10.50 back. The APR is important because it helps you understand how much extra money you'll have to pay back. The higher the APR, the more interest you'll have to pay. So, you want to make sure the APR is as low as possible when you take a loan.
Einstellungen
system_prompt: You are an expert in finance that knows many concepts related to loans and credit.
Über Granite Code 20B
Granite Code 20B ist ein Modell von IBM aus der Kategorie Code. Über Railwail kostet Granite Code 20B $ 0.12 je 1 Mio. Input-Token und $ 0.60 je 1 Mio. Output-Token. Das Kontextfenster umfasst 8'192 Token, eine Antwort bis zu 8'192 Token.
Preise
| Eingabe | $ 0.12 / 1 Mio. Token |
|---|---|
| Ausgabe | $ 0.60 / 1 Mio. Token |
- Abgerechnet werden die Token, die jede Anfrage tatsächlich verbraucht.
- 1 Credit = $ 0.01
Kostenrechner
Preisrechner
Gesamt
$ 0.05
5 Credits
Je Anfrage
$ 0.0005 · 0.05 Credits
Jede Anfrage wird auf 0,01 Credits aufgerundet.
API
Kein geprüftes API-Beispiel
Die öffentliche API übergibt ein anderes Eingabeformat, als dieses Modell braucht. Nutze den Playground oben.
Spezifikationen
- Modell-ID
granite-code-20b- Entwickler
- IBM
- Kategorie
- Code
- Eingabe
- Text
- Ausgabe
- Text
- Kontextfenster
- 8'192 Token
- Max. Ausgabe
- 8'192 Token
- Abrechnung
- Nach Verbrauch (Token bzw. GPU-Zeit)
- Katalogeintrag aktualisiert
- 24. September 2026
Schlagwörter
- replicate
- code-generation
- ibm
- granite
- open-weights
- apache-2
Einsatzgebiete
Häufige Fragen
Was ist Granite Code 20B?
Granite Code 20B ist ein Modell von IBM aus der Kategorie Code.
Was kostet Granite Code 20B bei Railwail?
Über Railwail kostet Granite Code 20B $ 0.12 je 1 Mio. Input-Token und $ 0.60 je 1 Mio. Output-Token. Abgerechnet wird, was jede Anfrage tatsächlich verbraucht. Bezahlt wird mit vorab gekauften Credits; 1 Credit entspricht $ 0.01.
Wie gross ist das Kontextfenster von Granite Code 20B?
Das Kontextfenster von Granite Code 20B umfasst 8'192 Token. Eine Antwort kann bis zu 8'192 Token lang sein.
Wie schnell ist Granite Code 20B?
Für Granite Code 20B 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 Granite Code 20B besser als Code Llama 13B Instruct?
Das hängt von der Aufgabe ab. Granite Code 20B (IBM) und Code Llama 13B Instruct (Meta) sind beide Modelle aus der Kategorie Code. Die Vergleichsseite zeigt Preise und Spezifikationen nebeneinander.
Granite Code 20B und Code Llama 13B Instruct vergleichenVergleichbare Modelle
Alle dieser KategorieIBM Granite 8B Code Instruct. Trained on permissively-licensed code, strong on multi-language code completion and instruction-following.
Meta's 13B Code Llama tuned for instruction following. A faster mid-size option for code generation and completion, supporting infilling for inserting code at a cursor position. Served on Replicate per call.
ca. $ 0.0065/Lauf
Granite Code 20B und Code Llama 13B Instruct vergleichenMeta'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.
ca. $ 0.0408/Lauf
Granite Code 20B und Code Llama 34B Instruct vergleichen
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.