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.
- Cijena · 1M ulaz/izlaz
- 0,12 USD / 0,60 USD
- Kontekst
- 8.192 tokena
- Maks. izlaz
- 8.192 tokena
- Ulaz → izlaz
- Tekst → Tekst
- Razvojni inženjer
- IBM
- Ažurirano
- 24. septembar 2026.
Playground
Isprobaj Granite Code 20B
Unos i rezultat
Ovaj pokus
najviše 0,0025 USD · 0,25 kredita rezervirano
Naplata se vrši prema stvarno korištenim tokenima; nekorišteni dio rezervacije se vraća.
Novi si ovdje?
10 besplatnih kredita (0,10 USD) kada se registriraš s Googlom
Dostupno 24 sati nakon registracije, do 5 pokusa dnevno i najviše 2 kredita po pokusu. Ostale metode prijave počinju bez kredita. Dovoljno za 40 pokretanja ovog modela.
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.
O Granite Code 20B
Granite Code 20B je model od IBM iz kategorije Kod. Na Railwailu, Granite Code 20B košta 0,12 USD po 1M ulaznih tokena i 0,60 USD po 1M izlaznih tokena. Kontekstni prozor sadrži 8.192 tokena, a jedan odgovor može biti dugačak do 8.192 tokena.
Cijene
| Ulaz | 0,12 USD / 1M tokena |
|---|---|
| Izlaz | 0,60 USD / 1M tokena |
- Naplaćuje se prema tokenima koje svaki zahtjev zapravo koristi.
- 1 kredit = 0,01 USD
Kalkulator troškova
Kalkulator cijena
Ukupno
0,05 USD
5 kredita
Po zahtjevu
0,0005 USD · 0,05 kredita
Svaki zahtjev se zaokružuje na 0,01 kredita.
API
Nema provjeren primjer API-ja
Javni API prosleđuje drugačiji format unosa nego što ovaj model trebuje. Koristite playground gore.
Specifikacije
- ID modela
granite-code-20b- Razvojni inženjer
- IBM
- Kategorija
- Kod
- Ulaz
- Tekst
- Izlaz
- Tekst
- Kontekstni prozor
- 8.192 tokena
- Maks. izlaz
- 8.192 tokena
- Naplata
- Po potrošnji (tokeni ili GPU vrijeme)
- Katalog ažuriran
- 24. septembar 2026.
Oznake
- replicate
- code-generation
- ibm
- granite
- open-weights
- apache-2
Primjena
Često postavljana pitanja
Što je Granite Code 20B?
Granite Code 20B je model od IBM iz kategorije Kod.
Koliko stoji Granite Code 20B na Railwailu?
Na Railwailu, Granite Code 20B košta 0,12 USD po 1M ulaznih tokena i 0,60 USD po 1M izlaznih tokena. Naplaćuje se ono što svaki zahtjev zapravo koristi. Korištenje se plaća iz unaprijed kupljenih kredita; 1 kredit jednaka je 0,01 USD.
Koliki je kontekstni prozor od Granite Code 20B?
Kontekstni prozor od Granite Code 20B sadrži 8.192 tokena. Jedan odgovor može biti dugačak do 8.192 tokena.
Koliko je brz Granite Code 20B?
Za Granite Code 20B na Railwailu još nema dovoljno izmjerenih pokretanja da bi se navedlo vrijeme izvršavanja. Ovisi o unošenju, postavkama i opterećenju kod pružatelja.
Je li Granite Code 20B bolji od Code Llama 13B Instruct?
To ovisi o zadatku. Granite Code 20B (IBM) i Code Llama 13B Instruct (Meta) su oba modela iz kategorije Kod. Stranica za usporedbu prikazuje njihove cijene i specifikacije usporedno.
Usporedi Granite Code 20B i Code Llama 13B InstructUsporedivi modeli
Svi u ovoj kategorijiIBM 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/pokretanje
Usporedi Granite Code 20B i 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/pokretanje
Usporedi Granite Code 20B i Code Llama 34B Instruct
Svi modeli preko jednog API-ja
Jedan API ključ za sve modele na Railwailu. Korištenje se naplaćuje iz unaprijed plaćenih kredita, 1 kredit = 0,01 USD.