Granite Code 20B

KoodiSaatavilla
kehittäjä: IBMMallin tunnus: granite-code-20b

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

Hinta · 1M sisään/ulos
0,12 $ / 0,60 $
Konteksti
8 192 tokenia
Enint. tuloste
8 192 tokenia
Syöte → tulos
Teksti → Teksti
Kehittäjä
IBM
Päivitetty
24. syyskuuta 2026
01

Leikkikenttä

Kokeile Granite Code 20B

Syöte ja tulos

0,12 $/1M in
Kokeile Granite Code 20B
Tulos
Vastaus ilmestyy tähän.

Tämä suoritus

enintään 0,0025 $ · 0,25 creditiä varattu

Laskutus todella käytettyjen tokenien mukaan; varauksen käyttämätön osa palautetaan.

Uusi täällä?

10 ilmaista creditiä (0,10 $) kun rekisteröidyt Googlella

Käytettävissä 24 tuntia rekisteröinnin jälkeen, enintään 5 suoritusta päivässä ja enintään 2 creditiä suoritusta kohti. Muut kirjautumismenetelmät alkavat ilman creditejä. Riittää 40 suoritukseen tästä mallista.

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

Tietoja: Granite Code 20B

Lyhyesti24. syyskuuta 2026 alkaen

Granite Code 20B on IBM-kehittäjän malli kategoriasta Koodi. Railwailissa Granite Code 20B maksaa 0,12 $ per 1M syötetokenia ja 0,60 $ per 1M tulostetokenia. Kontekstiikkuna sisältää 8 192 tokenia, ja vastaus voi olla enintään 8 192 tokenia pitkä.

04

Hinnat

Hinnat Yhdysvaltain dollareissa. Käyttö laskutetaan prepaid-krediiteistä.
Syöte0,12 $ / 1M tokenia
Tuloste0,60 $ / 1M tokenia
  • Laskutus perustuu kunkin pyynnön todella käyttämiin tokeneihin.
  • 1 krediitti = 0,01 $

Kustannuslaskin

Hintalaskin

/ pyynnöllä
/ pyynnöllä

Yhteensä

0,05 $

5 krediittiä

Pyynnöllä

0,0005 $ · 0,05 krediittiä

Jokainen pyyntö pyöristetään ylöspäin 0,01 krediittiin.

05

API

Kutsu Granite Code 20B Railwail-API-avaimellasi. Käytä tätä mallin tunnusta pyynnössä:

Ei vahvistettua API-esimerkkiä

Julkinen API välittää eri syötemuotoa kuin tämä malli tarvitsee. Käytä yllä olevaa leikkikenttää.

06

Tekniset tiedot

Mallin tunnus
granite-code-20b
Kehittäjä
IBM
Kategoria
Koodi
Syöte
Teksti
Tuloste
Teksti
Konteksti-ikkuna
8 192 tokenia
Enimmäistuloste
8 192 tokenia
Laskutus
Käytön mukaan (tokeneja tai GPU-aikaa)
Luettelokirjaus päivitetty
24. syyskuuta 2026

Tunnisteet

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

Käyttötapaukset

08

Usein kysytyt kysymykset

Mikä on Granite Code 20B?

Granite Code 20B on IBMn kehittämä malli Koodi-kategoriassa.

Paljonko Granite Code 20B maksaa Railwailissa?

Railwailissa Granite Code 20B maksaa 0,12 $ per 1M syötetokenia ja 0,60 $ per 1M tulostetokenia. Sinua veloitetaan siitä, mitä kukin pyyntö todella käyttää. Käyttö maksetaan ennakkoon ostettujen krediittien avulla; 1 krediitti vastaa 0,01 $.

Mikä on Granite Code 20Bn kontekstiikkuna?

Granite Code 20Bn kontekstiikkuna sisältää 8 192 tokenia. Vastaus voi olla enintään 8 192 tokenia pitkä.

Kuinka nopea Granite Code 20B on?

Granite Code 20Blla ei ole vielä tarpeeksi mitattuja suorituksia Railwailissa suoritusajan ilmoittamiseksi. Se riippuu syötteestä, asetuksista ja palveluntarjoajan kuormituksesta.

Onko Granite Code 20B parempi kuin Code Llama 13B Instruct?

Se riippuu tehtävästä. Granite Code 20B (IBM) ja Code Llama 13B Instruct (Meta) ovat molemmat malleja Koodi-kategoriassa. Vertailussa näkyvät niiden hinnat ja tekniset tiedot rinnakkain.

Vertaa Granite Code 20B ja Code Llama 13B Instruct
09

Vertailukelpoiset mallit

Kaikki tässä kategoriassa

Kaikki mallit yhden API:n kautta

Yksi API-avain kaikille Railwailin malleille. Käyttö laskutetaan prepaid-krediiteistä, 1 krediitti = 0,01 $.