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.
- Preț · 1M intrare/ieșire
- 0,12 USD / 0,60 USD
- Context
- 8.192 tokeni
- Ieșire max.
- 8.192 tokeni
- Intrare → ieșire
- Text → Text
- Dezvoltator
- IBM
- Actualizat
- 24 septembrie 2026
Playground
Încearcă Granite Code 20B
Intrare & rezultat
Această rulare
maximum 0,0025 USD · 0,25 credite rezervate
Se factureaza tokenurile efectiv utilizate; partea nefolosita a rezervării este rambursată.
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. Suficient pentru 40 de rulări ale acestui model.
Examples
Prompt
Could you please explain what APR means?
Response
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.
Settings
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.
Response
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.
Settings
system_prompt: You are an expert in finance that knows many concepts related to loans and credit.
Despre Granite Code 20B
Granite Code 20B este un model de IBM din categoria Cod. Pe Railwail, Granite Code 20B costă 0,12 USD per 1M tokeni de intrare și 0,60 USD per 1M tokeni de ieșire. Fereastra de context conține 8.192 token-uri, iar un răspuns poate fi lung de până la 8.192 token-uri.
Prețuri
| Intrare | 0,12 USD / 1M token-uri |
|---|---|
| Ieșire | 0,60 USD / 1M token-uri |
- Se facturează token-urile pe care le folosește efectiv fiecare cerere.
- 1 credit = 0,01 USD
Calculator de costuri
Calculator de preț
Total
0,05 USD
5 credite
Pe cerere
0,0005 USD · 0,05 credite
Fiecare cerere este rotunjită la 0,01 credite.
API
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.
Specificații
- ID model
granite-code-20b- Dezvoltator
- IBM
- Categorie
- Cod
- Intrare
- Text
- Ieșire
- Text
- Fereastră de context
- 8.192 tokeni
- Ieșire max.
- 8.192 tokeni
- Facturare
- După utilizare (tokeni sau timp GPU)
- Intrare catalog actualizată
- 24 septembrie 2026
Etichete
- replicate
- code-generation
- ibm
- granite
- open-weights
- apache-2
Cazuri de utilizare
Întrebări frecvente
Ce este Granite Code 20B?
Granite Code 20B este un model de IBM din categoria Cod.
Cât costă Granite Code 20B pe Railwail?
Pe Railwail, Granite Code 20B costă 0,12 USD per 1M tokeni de intrare și 0,60 USD per 1M tokeni de ieșire. Ț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 Granite Code 20B?
Fereastra de context a Granite Code 20B conține 8.192 token-uri. Un răspuns poate fi lung de până la 8.192 token-uri.
Cât de rapid este Granite Code 20B?
Nu sunt suficiente rulări măsurate ale Granite Code 20B pe Railwail încă pentru a indica un timp de rulare. Depinde de intrare, de setări și de sarcina la furnizor.
Este Granite Code 20B mai bun decât Code Llama 13B Instruct?
Depinde de sarcină. Granite Code 20B (IBM) ș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ă Granite Code 20B și Code Llama 13B InstructModele comparabile
Toate din această categorieIBM 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.
≈ 0,0065 USD/rulare
Compară Granite Code 20B vs. Code Llama 13B InstructMeta'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.
≈ 0,0408 USD/rulare
Compară Granite Code 20B vs. Code Llama 34B Instruct
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.