Grok Code Fast 1 API Pricing
Grok Code Fast 1 is now an archive row: historical pricing was $0.20/M input, $0.02/M cached input, and $1.50/M output. From May 2026 the slug was an alias of Grok Build 0.1, and SpaceXSI ended that model too, on November 19, 2026.
Grok Code Fast 1 API cost calculator.
Calculator pre-loaded with Grok Code Fast 1 archive rates. After May 15, 2026 the slug answered as Grok Build 0.1, which reached end of life on November 19, 2026.
Grok Code Fast 1 cost on real workloads.
Invoice replay
Legacy agent task
Migration cost comparison
Archived RAG answer
This is a chars-per-token approximation, not a real tokenizer. Actual tokens vary by language, code density, and tool-call overhead — counts are typically ±10–20% off for English prose, more for code or non-Latin scripts. For exact billing, use the vendor's official tokenizer.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| Grok Code Fast 1 Current | $0.20 cache $0.02 | $1.50 | $0.168 agentic 92/8 | 256K | Archive coding invoices |
| Grok 4.3 | $1.25 cache $0.20 | $2.50 | $0.558 +3.3× | 1M | Current Grok default |
| Gemini 3.8 Flash | $0.75 cache $0.075 | $3.75 | $0.481 +2.9× · promo | 1M | Mainstream multimodal work |
| GPT-6.1 Terra | $1.00 cache $0.05 | $5.00 | $0.645 +3.8× | 1.05M | OpenAI's fast, efficient GPT-6 tier |
| DeepSeek V4 Pro | $1.32 cache $0.044 | $3.96 | $0.569 +3.4× | 1M | Low-cost reasoning alternative |
Grok Code Fast 1 API pricing FAQ.
Grok Code Fast 1 pricing questions, with archive status separated from token math.
Q · 01 What was Grok Code Fast 1's API price? +
$0.2/M input, $0.02/M cached input, and $1.5/M output. Use it for historical billing and migration math, not fresh production routing.Q · 02 Is Grok Code Fast 1 still available? +
grok-code-fast-1 as retired. The slug then answered as an alias of grok-build-0.1, and the release notes put that model's end of life on November 19, 2026. SpaceXSI has not said where the old slug goes now.Q · 03 What should replace it? +
Q · 04 Does prompt caching apply? +
$0.02/M. The effective blend assumes 82% cache hits; set cache to off in the calculator for fresh-input workloads.Q · 05 Why keep an archive page? +
Q · 06 How accurate is the tokenizer estimate? +
4.875 characters per token as a planning estimate. Exact billing can vary with language, hidden reasoning, cached prompt boundaries, and tool usage.