Granite Code 20B

CodeDisponibile
di IBMID modello: granite-code-20b

IBM Granite 20B Code Instruct. Larger Granite code model balancing quality and inference cost for enterprise CI/CD code-review automation.

Prezzo · 1M in/out
0,12 USD / 0,60 USD
Contesto
8192 token
Max. output
8192 token
Input → output
Testo → Testo
Sviluppatore
IBM
Aggiornato
24 settembre 2026
01

Playground

Prova Granite Code 20B

Input e output

0,12 USD/1M in
Prova Granite Code 20B
Risultato
La risposta appare qui.

Questa esecuzione

al massimo 0,0025 USD · 0,25 crediti riservati

Fatturato in base ai token effettivamente utilizzati; la parte inutilizzata della prenotazione viene rimborsata.

Nuovo qui?

10 crediti gratuiti (0,10 USD) quando ti iscrivi con Google

Utilizzabile 24 ore dopo l'iscrizione, fino a 5 esecuzioni al giorno e al massimo 2 crediti per esecuzione. Altri metodi di accesso iniziano senza crediti. Sufficiente per 40 esecuzioni di questo modello.

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

Informazioni su Granite Code 20B

RiassuntoA partire da 24 settembre 2026

Granite Code 20B è un modello di IBM nella categoria Code. Su Railwail, Granite Code 20B costa 0,12 USD per 1M token di input e 0,60 USD per 1M token di output. La finestra di contesto contiene 8192 token e una risposta può essere lunga fino a 8192 token.

04

Prezzi

Prezzi in dollari USA. L'utilizzo viene addebitato dai crediti prepagati.
Input0,12 USD / 1M token
Output0,60 USD / 1M token
  • Fatturato in base ai token che ogni richiesta utilizza effettivamente.
  • 1 credito = 0,01 USD

Calcolatore di costi

Calcolatore prezzi

/ richiesta
/ richiesta

Totale

0,05 USD

5 crediti

Per richiesta

0,0005 USD · 0,05 crediti

Ogni richiesta viene arrotondata a 0,01 crediti.

05

API

Chiama Granite Code 20B con la tua chiave API Railwail. Usa questo ID modello nella richiesta:

Nessun esempio API verificato

L'API pubblica passa un formato di input diverso da quello richiesto da questo modello. Usa il playground sopra.

06

Specifiche

ID modello
granite-code-20b
Sviluppatore
IBM
Categoria
Code
Input
Testo
Output
Testo
Finestra di contesto
8192 token
Output massimo
8192 token
Fatturazione
In base all'utilizzo (token o tempo GPU)
Voce di catalogo aggiornata
24 settembre 2026

Etichette

  • replicate
  • code-generation
  • ibm
  • granite
  • open-weights
  • apache-2
07

Casi d'uso

08

Domande frequenti

Cos'è Granite Code 20B?

Granite Code 20B è un modello di IBM nella categoria Code.

Quanto costa Granite Code 20B su Railwail?

Su Railwail, Granite Code 20B costa 0,12 USD per 1M token di input e 0,60 USD per 1M token di output. Ti viene addebitato ciò che ogni richiesta utilizza effettivamente. L'utilizzo viene pagato con crediti prepagati; 1 credito equivale a 0,01 USD.

Qual è la finestra di contesto di Granite Code 20B?

La finestra di contesto di Granite Code 20B contiene 8192 token. Una risposta può essere lunga fino a 8192 token.

Quanto è veloce Granite Code 20B?

Non ci sono ancora abbastanza esecuzioni misurate di Granite Code 20B su Railwail per indicare un tempo di esecuzione. Dipende dall'input, dalle impostazioni e dal carico presso il provider.

Granite Code 20B è migliore di Code Llama 13B Instruct?

Dipende dall'attività. Granite Code 20B (IBM) e Code Llama 13B Instruct (Meta) sono entrambi modelli nella categoria Code. La pagina di confronto mostra i loro prezzi e le specifiche affiancati.

Confronta Granite Code 20B e Code Llama 13B Instruct
09

Modelli comparabili

Tutti in questa categoria

Tutti i modelli tramite un'API

Una chiave API per tutti i modelli su Railwail. L'utilizzo viene addebitato da crediti prepagati, 1 credito = 0,01 USD.