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.
- 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
Playground
Prova Granite Code 20B
Input e output
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.
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.
Informazioni su Granite Code 20B
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.
Prezzi
| Input | 0,12Â USD / 1M token |
|---|---|
| Output | 0,60Â USD / 1M token |
- Fatturato in base ai token che ogni richiesta utilizza effettivamente.
- 1 credito = 0,01Â USD
Calcolatore di costi
Calcolatore prezzi
Totale
0,05Â USD
5 crediti
Per richiesta
0,0005 USD · 0,05 crediti
Ogni richiesta viene arrotondata a 0,01 crediti.
API
Nessun esempio API verificato
L'API pubblica passa un formato di input diverso da quello richiesto da questo modello. Usa il playground sopra.
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
Casi d'uso
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 InstructModelli comparabili
Tutti in questa categoriaIBM 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/esecuzione
Confronta Granite Code 20B e 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/esecuzione
Confronta Granite Code 20B e Code Llama 34B Instruct
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.