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.
- Kaina · 1M į / iš
- 0,12 USD / 0,60 USD
- Kontekstas
- 8 192 žetonų
- Maks. išvestis
- 8 192 žetonų
- Įvestis → išvestis
- Tekstas → Tekstas
- Kūrėjas
- IBM
- Atnaujinta
- 2026 m. rugsėjo 24 d.
Žaidimų aikštelė
Išbandyti Granite Code 20B
Įvestis ir rezultatas
Šis paleidimas
daugiausia 0,0025 USD · 0,25 kreditų rezervuota
Sąskaita sudaroma pagal faktiškai panaudotus žetonus; neišleista rezervo dalis grąžinama.
Naujas čia?
10 nemokami kreditai (0,10 USD), kai užsiregistruojate naudodami Google
Galima naudoti 24 valandų po registracijos, iki 5 paleidimų per dieną ir daugiausia 2 kreditų per paleidimą. Kiti prisijungimo būdai pradedami be kreditų. Pakanka 40 šio modelio paleidimų.
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.
Apie Granite Code 20B
Granite Code 20B yra IBM modelis iš Kodas kategorijos. Per Railwail Granite Code 20B kainuoja 0,12 USD už 1M įvesties žetonų ir 0,60 USD už 1M išvesties žetonų. Konteksto langas saugo 8 192 žetonų, o vienas atsakymas gali būti iki 8 192 žetonų ilgio.
Kainos
| Įvestis | 0,12 USD / 1M žetonų |
|---|---|
| Išvestis | 0,60 USD / 1M žetonų |
- Apmokestinama pagal žetonus, kuriuos iš tikrųjų naudoja kiekvienas užklausa.
- 1 kreditas = 0,01 USD
Kainos skaičiuoklė
Kainos skaičiuoklė
Iš viso
0,05 USD
5 kreditai
Per užklausą
0,0005 USD · 0,05 kreditai
Kiekviena užklausa suapvalinama iki 0,01 kredito.
API
Nėra patikrinto API pavyzdžio
Viešoji API perduoda kitą įvesties formatą nei šis modelis reikalingas. Naudokite aukščiau esančią žaidimų aikštelę.
Specifikacijos
- Modelio ID
granite-code-20b- Kūrėjas
- IBM
- Kategorija
- Kodas
- Įvestis
- Tekstas
- Išvestis
- Tekstas
- Konteksto langas
- 8 192 žetonų
- Maks. išvestis
- 8 192 žetonų
- Sąskaita
- Pagal naudojimą (žetonai arba GPU laikas)
- Katalogo įrašas atnaujintas
- 2026 m. rugsėjo 24 d.
Žymos
- replicate
- code-generation
- ibm
- granite
- open-weights
- apache-2
Panaudojimo atvejai
Dažnai užduodami klausimai
Kas yra Granite Code 20B?
Granite Code 20B yra IBM modelis iš Kodas kategorijos.
Kiek kainuoja Granite Code 20B Railwail?
Per Railwail Granite Code 20B kainuoja 0,12 USD už 1M įvesties žetonų ir 0,60 USD už 1M išvesties žetonų. Jums sąskaitoje pateikiama suma, kurią iš tikrųjų sunaudoja kiekvienas užklausa. Naudojimas apmokamas iš išanksto nupirktų kreditų; 1 kreditas = 0,01 USD.
Koks yra Granite Code 20B konteksto langas?
Granite Code 20B konteksto langas saugo 8 192 žetonų. Vienas atsakymas gali būti iki 8 192 žetonų ilgio.
Koks yra Granite Code 20B greitis?
Granite Code 20B Railwail platformoje dar nėra pakankamai išmatuotų vykdymų, kad būtų galima nurodyti vykdymo laiką. Jis priklauso nuo įvesties, nustatymų ir teikėjo apkrovos.
Ar Granite Code 20B geriau nei Code Llama 13B Instruct?
Tai priklauso nuo užduoties. Granite Code 20B (IBM) ir Code Llama 13B Instruct (Meta) yra abu modeliai iš Kodas kategorijos. Palyginimo puslapyje jų kainos ir specifikacijos rodomos viena šalia kitos.
Palyginti Granite Code 20B ir Code Llama 13B InstructPanašūs modeliai
Visi šioje kategorijojeIBM 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/paleidimas
Palyginti Granite Code 20B ir 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/paleidimas
Palyginti Granite Code 20B ir Code Llama 34B Instruct
Visi modeliai per vieną API
Vienas API raktas visiems Railwail modeliams. Naudojimas apmokestinamas iš iš anksto nupirktų kreditų, 1 kreditas = 0,01 USD.