x-AI/Grok-Code-Fast 1 API Pricing

xAI · released 2025-09-02

Also searched as: x AI/Grok Code Fast 1 pricing

x-AI/Grok-Code-Fast 1 price

$1.00
input / 1M tokens
0.100¢ / 1K
$2.00
output / 1M tokens
0.200¢ / 1K
$1.25
blended / 1M tokens
0.125¢ / 1K

Single public source; verify on the official site; Higher rates apply above a context threshold; see the official site

Official list price from xAI, as recorded by litellm

What it actually costs

WorkloadTokensCost
Short chat reply500 in / 300 out0.11¢
RAG query4,000 in / 500 out0.5¢
Long document summary50,000 in / 1,000 out$0.0520
Code review of a 2k-line file30,000 in / 2,000 out$0.0340
1,000 chat replies/day for 30 days30,000 × (500 in / 300 out)$33.00

Cost = (input tokens ÷ 1,000,000 × $1.00) + (output tokens ÷ 1,000,000 × $2.00).

Benchmarks

BenchmarkValueSourceAs of
Epoch Capabilities Index (ECI) No public data yet
Epoch Mock AIME accuracy No public data yet
Epoch FrontierMath (T1–3) accuracy No public data yet
Arena text rating No public data yet
Arena coding rating (human preference votes, not task accuracy) No public data yet
Arena math rating No public data yet
Arena WebDev rating 1166 arena 2026-10-28

More from xAI

ModelReleasedBlended $/1M
Grok Voice 3.02026-10-14—
Grok Imagine Video 1.5 Lite2026-10-01—
Grok 4.72026-09-21$3.00
Grok Voice Transcribe 2.02026-09-17—
Grok 4.62026-08-12$3.00
Grok Imagine Image 2.02026-08-07—
Grok Voice STT 1.02026-08-04—
Grok Voice TTS 1.02026-07-31—

Count tokens & estimate cost for x-AI/Grok-Code-Fast 1

Prices: xAI's official list price as recorded by litellm; benchmarks: see sources below; last synced 2026-11-06.

FAQ

Who develops x-AI/Grok-Code-Fast 1?

x-AI/Grok-Code-Fast 1 is developed by xAI, released 2025-09-02.

How much does x-AI/Grok-Code-Fast 1 cost per million tokens?

x-AI/Grok-Code-Fast 1 costs $1.00 per 1M input tokens and $2.00 per 1M output tokens ($1.25 blended), per xAI's official list price as recorded by litellm.

What is the x-AI/Grok-Code-Fast 1 API price?

The x-AI/Grok-Code-Fast 1 API price is $1.00 per 1M input tokens and $2.00 per 1M output tokens ($1.25 per 1M blended).

How much does x-AI/Grok-Code-Fast 1 cost for a typical request?

A short chat reply (500 in / 300 out tokens) costs about 0.11¢ on x-AI/Grok-Code-Fast 1, at $1.00/1M input and $2.00/1M output.

Is x-AI/Grok-Code-Fast 1 free?

x-AI/Grok-Code-Fast 1's official API list price is $1.00 per 1M input tokens and $2.00 per 1M output tokens. This site tracks list prices only, not free tiers or trial credits — check xAI's site for those.

Where does this data come from?

Pricing for x-AI/Grok-Code-Fast 1 comes from models.dev and LiteLLM (open MIT-licensed catalogs); benchmark scores come from Epoch AI and LMArena (open CC BY 4.0 licenses) — see /data-sources/. Last synced 2026-11-06.