Free Tool
xAI API Cost Calculator
Estimate your monthly and annual xAI Grok API cost from your request volume and average token counts. See the full xAI listing.
لست متأكدا من عدد الرموز التي تستخدمها موجهاتك؟ الصق نصك في حاسبة الرموز للحصول على العدد الدقيق أولا.
المعادلة: التكلفة الشهرية = الطلبات الشهرية × ((متوسط توكنات الإدخال × سعر الإدخال) + (متوسط توكنات الإخراج × سعر الإخراج)) / 1,000,000
grok-4.3
$1.25/M إدخال · $2.5/M إخراج
xAI Grok pricing
Published list price per million tokens for xAI's current Grok models.
| Model | Input $/M tokens | Output $/M tokens |
|---|---|---|
| grok-4.3 | $1.25 | $2.5 |
| grok-4.7 | $2 | $6 |
| grok-4.6 | $2 | $6 |
| grok-4.5 | $2 | $6 |
| grok-4.20 | $2 | $6 |
| grok-4.20-beta | $2 | $6 |
| grok-4.20-beta-non-reasoning | $2 | $6 |
| grok-4.20-beta-reasoning | $2 | $6 |
Frequently asked questions
How much does xAI's grok-4.3 cost?
grok-4.3 costs $1.25 per million input tokens and $2.5 per million output tokens. Use the calculator above to estimate your own monthly cost from your expected request volume and average token counts.
What is the cheapest xAI model?
grok-4.3 is xAI's most affordable current model, priced at $1.25 per million input tokens and $2.5 per million output tokens.
How does xAI API pricing work?
xAI bills per token, separately for input tokens (what you send) and output tokens (what the model generates), priced per million tokens. Output tokens typically cost more than input tokens because generation is more compute-intensive. Total request cost is (input tokens × input price + output tokens × output price) / 1,000,000, multiplied by your request volume.
How do I estimate my monthly xAI API cost?
Enter your expected monthly request volume and average input/output tokens per request into the calculator above, pick one or more Grok models to compare, and it computes monthly cost, annual cost, cost per request, and cost per user instantly. Add an optional monthly growth rate to see a 12-month cost projection.
Compare across providers
Want to compare xAI against other providers side by side? Use the full AI Cost Calculator.