Granite Code 20B

CodDisponibil
de IBMID model: granite-code-20b

IBM 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
01

Playground

Încearcă Granite Code 20B

Intrare & rezultat

0,12 USD/1M in
Încearcă Granite Code 20B
Rezultat
Răspunsul apare aici.

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.

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

    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.

03

Despre Granite Code 20B

Pe scurtDin 24 septembrie 2026

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.

04

Prețuri

Prețuri în dolari americani. Utilizarea se percepe din credite prepay.
Intrare0,12 USD / 1M token-uri
Ieșire0,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ț

/ cerere
/ cerere

Total

0,05 USD

5 credite

Pe cerere

0,0005 USD · 0,05 credite

Fiecare cerere este rotunjită la 0,01 credite.

05

API

Apelează Granite Code 20B cu cheia ta API Railwail. Folosește acest ID de model în cerere:

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.

06

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
07

Cazuri de utilizare

08

Î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 Instruct
09

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.