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.

السعر · 1 مليون إدخال/إخراج
‏0.12 US$ / ‏0.60 US$
السياق
8,192 رمز
الحد الأقصى للإخراج
8,192 رمز
Input → output
نص → نص
مطور
IBM
تم التحديث
24 سبتمبر 2026
01

Playground

جرّب Granite Code 20B

الإدخال والإخراج

‏0.12 US$/1M إدخال
جرّب Granite Code 20B
النتيجة
تظهر الإجابة هنا.

هذا التشغيل

بحد أقصى ‏0.0025 US$ · 0.25 رصيد محجوز

يتم فواتير الرموز المستخدمة فعلياً؛ يتم استرجاع الجزء غير المستخدم من الحجز.

جديد هنا؟

10 رصيد مجاني (‏0.10 US$) عند التسجيل باستخدام 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 US$ لكل مليون رمز إدخال و ‏0.60 US$ لكل مليون رمز إخراج. نافذة السياق تحتوي على 8,192 رموز، والرد الواحد يمكن أن يصل إلى 8,192 رموز.

04

التسعير

الأسعار بالدولار الأمريكي. يتم احتساب الاستخدام من الأرصدة المدفوعة مقدماً.
إدخال‏0.12 US$ / 1M رمز
إخراج‏0.60 US$ / 1M رمز
  • يتم الفرز بناءً على الرموز التي تستخدمها كل طلب فعلياً.
  • 1 رصيد = ‏0.01 US$

حاسبة التكلفة

حاسبة الأسعار

/ طلب
/ طلب

الإجمالي

‏0.05 US$

5 رصيد

لكل طلب

‏0.0005 US$ · 0.05 رصيد

يتم تقريب كل طلب إلى 0.01 رصيد.

05

API

استدعِ Granite Code 20B باستخدام مفتاح Railwail API الخاص بك. استخدم معرّف النموذج هذا في الطلب:

لا يوجد مثال API موثق

API العام يمرر صيغة إدخال مختلفة عما يحتاجه هذا النموذج. استخدم ساحة الاختبار أعلاه.

06

المواصفات

معرّف النموذج
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 US$ لكل مليون رمز إدخال و ‏0.60 US$ لكل مليون رمز إخراج. يتم فرض رسوم عليك مقابل ما تستخدمه كل طلب فعلياً. الاستخدام يُدفع من أرصدة مدفوعة مقدماً؛ 1 رصيد يساوي ‏0.01 US$.

ما حجم نافذة السياق في 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 US$.