Last verified
RETIREDCODING MODELARCHIVE PRICEREDIRECTS TO GROK-4-3

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. xAI's May 15 retirement guide recommends Grok 4.3 for code workloads.

Input - per 1M tokens
$0.20/M
Historical code tier archive
Output - per 1M tokens
$1.50/M
Archive code price archive
Cached input
$0.02/M
Prompt cache discount
Effective - agentic blend
$0.17/M
92/8 split - 82% cache
§ 01 / TERMINAL

Run the numbers.

Calculator pre-loaded with Grok Code Fast 1 archive rates. After May 15, 2026, xAI routes this retired code slug to Grok 4.3.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
Words equivalent (English)
Effective rate
§ 02 / SCENARIOS

Real-world presets.

§ 03 / TAPE

Price history.

Grok Code Fast 1 retired on 2026-05-15; archive price remains $0.20/$1.50 per M.

Input · $0.20/M
Output · $1.5/M
Cached · $0.02/M
AUG 19 Launched at $0.2/M input and $1.5/M outputMAY 18 Retirement verified; code slug redirects to Grok 4.3 after May 15, 2026
§ 04 / TOKENIZER

Paste text. See tokens. See cost.

Estimate · grok-tokenizer-estimate · ≈3.85 chars/token Auto-counts as you type

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.

Characters
Words
Tokens (estimated)
Cost as input · uncached
Cost as output · uncached
Cost as cached input
§ 05 / SHELF

Up against the shelf.

All models →
Model Input /M Output /M Effective blended Context Best for
Grok Code Fast 1 Current $0.20 cache $0.02 $1.50 $0.17 archive 92/8 256K Archive coding invoices
Grok 4.3 $1.25 cache $0.20 $2.50 $0.56 current replacement 1M Current Grok default
Gemini 2.5 Flash $0.30 cache $0.03 $2.50 $0.27 budget Gemini 1M Low-cost multimodal work
GPT-5.4 mini $0.75 cache $0.07 $4.50 $0.54 OpenAI mini 400K Subagents and lightweight coding
DeepSeek V4 Pro $0.43 cache $0.00 $0.87 $0.14 budget reasoning 1M Low-cost reasoning alternative

Frequently asked.

Grok Code Fast 1 pricing questions, with archive status separated from token math.

Q · 01 What was Grok Code Fast 1's API price? +
This archive page uses $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? +
xAI's May 15, 2026 retirement guide lists grok-code-fast-1 as retired. After retirement, requests route to grok-4.3.
Q · 03 What should replace it? +
Use grok-4.3. xAI's current pricing page lists Grok 4.3 at $1.25/M input, $0.20/M cached input, and $2.50/M output.
Q · 04 Does prompt caching apply? +
The archive row includes cached input at $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? +
Retired model prices still matter for old invoices, migration plans, benchmarks, and generation-to-generation price history. The page is marked as archive so it does not imply current endpoint availability.
Q · 06 How accurate is the tokenizer estimate? +
The widget uses 4.875 characters per token as a planning estimate. Exact billing can vary with language, hidden reasoning, cached prompt boundaries, and tool usage.