Granite Code 20B

קודזמין
מאת IBMמזהה מודל: granite-code-20b

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

מחיר · 1M בכניסה/יציאה
‏0.12 ‏$ / ‏0.60 ‏$
הקשר
8,192 טוקנים
פלט מקסימלי
8,192 טוקנים
קלט → פלט
טקסט → טקסט
מפתח
IBM
עודכן
24 בספטמבר 2026
01

Playground

נסה את Granite Code 20B

קלט ותוצאה

‏0.12 ‏$/1M קלט
נסה את Granite Code 20B
תוצאה
התשובה תופיע כאן.

הריצה הזו

לכל היותר ‏0.0025 ‏$ · 0.25 קרדיטים מסוכנים

יחויבו הטוקנים בפועל שנעשה בהם שימוש; החלק שלא נעשה בו שימוש מהסכום המסוכן יוחזר.

חדש כאן?

10 קרדיטים חינם (‏0.10 ‏$) כשאתה נרשם עם Google

ניתן להשתמש 24 שעות לאחר ההרשמה, עד 5 ריצות ביום ולכל היותר 2 קרדיטים לריצה. שיטות כניסה אחרות מתחילות ללא קרדיטים. מספיק ל-40 הרצות של מודל זה.

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

אודות Granite Code 20B

בקצרהנכון ל-24 בספטמבר 2026

Granite Code 20B הוא מודל של IBM בקטגוריית קוד. ב-Railwail, Granite Code 20B עולה ‏0.12 ‏$ ל-1M טוקנים קלט ו-‏0.60 ‏$ ל-1M טוקנים פלט. חלון ההקשר מכיל 8,192 טוקנים, והתשובה יכולה להיות עד 8,192 טוקנים.

04

תמחור

מחירים בדולר אמריקאי. השימוש מחויב מאשראי מראש.
קלט‏0.12 ‏$ / 1M אסימונים
פלט‏0.60 ‏$ / 1M אסימונים
  • חיוב לפי האסימונים שכל בקשה בעצם משתמשת בהם.
  • 1 קרדיט = ‏0.01 ‏$

מחשבון עלויות

מחשבון מחירים

/ בקשה
/ בקשה

סה״כ

‏0.05 ‏$

5 קרדיטים

לכל בקשה

‏0.0005 ‏$ · 0.05 קרדיטים

כל בקשה מעוגלת עד 0.01 קרדיטים.

05

API

קראו ל-Granite Code 20B עם מפתח ה-API של Railwail שלכם. השתמשו ב-ID מודל זה בבקשה:

אין דוגמה API מאומתת

ה-API הציבורי מעביר פורמט קלט שונה מזה שהדגם הזה צריך. השתמש בגובה המשחק למעלה.

06

מפרטים

ID מודל
granite-code-20b
מפתח
IBM
קטגוריה
קוד
קלט
טקסט
פלט
טקסט
חלון הקשר
8,192 טוקנים
פלט מקסימלי
8,192 טוקנים
חיוב
לפי שימוש (טוקנים או זמן GPU)
רשומת הקטלוג עודכנה
24 בספטמבר 2026

תגיות

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

מקרי שימוש

08

שאלות נפוצות

מה זה Granite Code 20B?

Granite Code 20B הוא מודל של IBM בקטגוריית קוד.

כמה עולה Granite Code 20B ב-Railwail?

ב-Railwail, Granite Code 20B עולה ‏0.12 ‏$ ל-1M טוקנים קלט ו-‏0.60 ‏$ ל-1M טוקנים פלט. אתה משלם על מה שכל בקשה בעצם משתמשת. השימוש משולם מקרדיטים שנרכשו מראש; 1 קרדיט שווה ‏0.01 ‏$.

מה גודל חלון ההקשר של Granite Code 20B?

חלון ההקשר של Granite Code 20B מכיל 8,192 טוקנים. התשובה יכולה להיות עד 8,192 טוקנים.

כמה מהיר Granite Code 20B?

עדיין אין מספיק הרצות שנמדדו של Granite Code 20B ב-Railwail כדי לציין זמן הרצה. זה תלוי בקלט, בהגדרות ובעומס אצל הספק.

האם Granite Code 20B טוב יותר מ-Code Llama 13B Instruct?

זה תלוי במשימה. Granite Code 20B (IBM) ו-Code Llama 13B Instruct (Meta) הם שניהם מודלים בקטגוריית קוד. דף ההשוואה מציג את המחירים והמפרטים שלהם זה לצד זה.

השווה בין Granite Code 20B ל-Code Llama 13B Instruct
09

דגמים דומים

הכל בקטגוריה זו

כל המודלים דרך API אחד

מפתח API אחד לכל מודל ב-Railwail. השימוש מחויב מאשראי מראש, 1 אשראי = ‏0.01 ‏$.