xAI·Updated Nov 2026
Grok Code Fast 1 logo

Grok Code Fast 1

xAI · Compare per-1M input/output rates, prompt cache discounts, and context windows.

Lowest Effective ($100)
$1.29
3 providers · Vercel
Input / 1M
$1.00
Output / 1M
$2.00
Cache Read
$0.20-80%
Context / Max Output
256K / 256K
5m Cache Write $1.00/1MInput Modalities: Text

Verified Provider Routes (Grok Code Fast 1)

Rank model × provider routes by effective $/1M cost after top-up fees.

Providers Directory
$10 – $100,000
$
Value Ranking · Net Purchasing Power

Tokens Bought per $100 Out-of-Pocket

Grok Code Fast 1 (75% / 25%)

Top pick yields +2.4% more tokens than highest-cost route
#1
Vercel AI Gateway logo
Vercel
Gateway· Best Value
+$3.20 card fee · $96.80
77.44M tokens
$1.29/1M blended
Visit
#2
+$4.70 card fee · $95.30
76.24M tokens
$1.31/1M blended
Visit
#3
OpenRouter logo
OpenRouter
Gateway
+$5.50 card fee · $94.50
75.60M tokens
$1.32/1M blended
Visit

Flat-Rate Coding Plans Including Grok Code Fast 1

Subscription tiers apply rolling 5h/weekly caps unlike unlimited PAYG APIs; saturated estimates divide seat fee by published pool.

1 coding plans
Cursor logoCursor$8/mo
Plus $8 · Premium $30 · Ultra $200/mo
Shared IDE usage pool (4x Premium / 50x Ultra)
Monthly pooled creditsPooled credits

Checkout Fee & Rate Breakdown

Comparing Providers For: Grok Code Fast 1 · $100

3 routes
ProviderTypeListFees & Discounts ($100)Eff. Input / Eff. OutputtokensConfidenceNotesOfficial docs
Gateway$1.00 / $2.00$3.20 (3.2%)$1.03 / $2.07
77.44M tokens
+2.4%
Pass-ThroughCache Read $0.20/1MOfficial docs
Gateway$1.00 / $2.00$4.70 (4.7%)$1.05 / $2.10
76.24M tokens
+0.8%
Pass-ThroughCache Read $0.20/1MOfficial docs
Gateway$1.00 / $2.00$5.50 (5.5%)$1.06 / $2.12
75.60M tokens
Pass-ThroughCache Read $0.20/1MOfficial docs
Runs locally · 256K context
Open BPE token visualizer
Estimated Tokens
45
Characters
243
Context Window (256K)0.02%
Input cost (1 call)
$0.000045
Total w/ 400 out tokens
$0.0008
10,000 calls (uncached)
$8.45
10,000 calls (cached input)
$8.09

Billing Tiers, Long-Context & Off-Peak Rate Bands

Verified upstream rate cards separated from the standard baseline — including async batch, flex, priority throughput, fine-tuned inference, prompt-depth tiers, and UTC off-peak schedules.

ProviderRaw Model IDBilling TierInput / 1MOutput / 1MContext / Time Brackets
LiteLLM logoLiteLLM
xai/grok-code-fast-1default$1.00$2.00
>200K: $2.00 in / $4.00 out

Comparable Alternatives (Grok Code Fast 1)

Model Catalog
ModelVendorInput / 1MOutput / 1MCache ReadContext
xAI logoxAI$1.00$2.00$0.20256K
OpenAI logoOpenAI$1.00$5.00$0.051.05MCompare →
Anthropic logoAnthropic$1.00$5.00$0.10200KCompare →
Google logoGoogle$1.00$5.00$0.10131KCompare →
Google logoGoogle$1.00$5.00$1.00131KCompare →

Frequently Asked Questions

Where is the cheapest place to run Grok Code Fast 1 API?

On a $100 card deposit at a 3:1 input/output ratio, Vercel offers the lowest effective cost for Grok Code Fast 1 at $1.29 per 1M blended tokens across 3 tracked providers (list rate $1.00 input / $2.00 output).

How much does Grok Code Fast 1 cost per 1M tokens?

Grok Code Fast 1 lists at $1.00 per 1M input tokens and $2.00 per 1M output tokens ($1.25 blended at 3:1). Effective provider rates after payment fees range from $1.29 to $1.32 per 1M.

What is the context window and max output of Grok Code Fast 1?

Grok Code Fast 1 supports a 256K context window and up to 256K output tokens per request.

Does Grok Code Fast 1 support prompt caching or open-weight deployment?

Prompt cache reads are billed at $0.20/1M (80% off list input). Proprietary weights available via official APIs, clouds, and AI gateways.

Related Head-to-Head Matchups

Comparisons