Skip to main content

Grok Code Fast: API pricing, providers and specs

Textby xAIProprietary (API only)

Grok Code Fast is a text model by xAI. One provider serves it: APIYI, at $1.50 /1M.

Lowest price$1.50/1Mat APIYI
Maker's price—The maker does not sell it
Providers1
Context256K

How Grok Code Fast compares

Against the 737 text models on the site priced the same way.

  • Mid-priced: its lowest price is $1.50 /1M against a median of $1.10; 58% of comparable models cost less.
  • Its 256K-token context window is larger than 38% of them (median 262K), about 380 pages of text.
  • 1 providers serve it; 0% of comparable models have fewer.

Grok Code Fast prices by provider

Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.

ProviderInputOutputPrompt cachingContext
APIYI$0.20/1M$1.50/1M——
Prices in US dollars, updated daily from each provider. Prices last checked Oct 25, 2026.

Specs

Type
Text
Maker
xAI
Inputs
Image, Text
Outputs
Text
Context
256K≈ 380 pages of text
Max output
—
Capabilities
Prompt caching, JSON, Tool calling, Vision
Released
—
License
proprietary
Open weights
No, API only

Alternatives to Grok Code Fast

Same kind of model from other makers, at a similar price.

ModelLowest priceContextArenaProviders
Grok Code Fastthis model$1.50/1M256K—1
GLM-5.3$1.10/1M1.05M162349
Qwen3.8 2.4T A95B$4.11/1M1M—22
Gemini 3 Flash$2.40/1M1.05M14665
Mistral Large 4$2.09/1M1.05M154313
Muse Spark 1.3$4.25/1M1.05M165711
Qwen3.8 27B$0.50/1M262K159133
Sonar$1/1M127K—9
GLM-5.2$1.80/1M1M160444

More from xAI

All 41 xAI models

Grok Code Fast FAQ





Can't find what you're looking for? Contact us