Price Per TokenPrice Per Token
Xai

Grok Code Fast 1 API Pricing 2026

Compare pricing, benchmarks, and providers for Grok Code Fast 1. Find the best value for your use case.

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

100 out of our 304 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Last updated: February 3, 2026 at 08:06 AM

Overview

Grok Code Fast 1 was released on August 26, 2025. Pricing starts at $0.200 per million input tokens and $1.50 per million output tokens. The model supports a context window of up to 256K tokens. API access is available through Xai.

Context Window
256K
tokens
Pricing
Input$0.200
Output$1.50
Cached$0.020
per 1M tokens
Speed
Output288 tok/s
TTFT6.68s
median latency
Capabilities
ToolsCaching

Pricing Comparison

Compare Grok Code Fast 1 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.200
$1.500
65.7
79.3
72.7
256,000
$0.180
$2.100
256,000
$0.190
$0.870
35.9
75.2
55.7
163,840
$0.200
$0.800
131,072
$0.200
$0.600
61.1
42.4
32,768
$0.200
$0.600
53.9
65,536
$0.200
$1.100
131,072
$0.200
$0.200
35.1
69.3
57.2
262,144
$0.200
$0.500
39.9
74.3
63.7
2,000,000
$0.200
$0.600
34.5
64.9
43.9
131,072
$0.200
$0.500
40.1
73.0
60.6
2,000,000

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Grok Code Fast 1 is available from multiple providers with different pricing and availability.

1
Providers
$0.200
Cheapest Input/M
$1.500
Cheapest Output/M
xAI
Best Price

Provider Pricing

1 models

Provider
Input $/M
Output $/M
Uptime
xAI
xAI
Best Price
$0.200
$1.500
100.0%
Provider pricing data sourced from OpenRouter and Helicone

Cost vs. Quality

Compare Grok Code Fast 1's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Grok Code Fast 1
Other models

Detailed Benchmark Scores

Intelligence
28.7 (73th pct)
Coding
23.7 (65th pct)
Math
43.3 (44th pct)
MMLU Pro
79.3 (59th pct)
GPQA
72.7 (69th pct)
LiveCodeBench
65.7 (70th pct)
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Grok Code Fast 1

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Grok Code Fast 1 directly in your browser.

Open Playground

Frequently Asked Questions

Grok Code Fast 1 costs $0.000200 per 1,000 input tokens and $0.001500 per 1,000 output tokens.
Grok Code Fast 1 is available from 1 provider(s). xAI offers the best price.
We compare Grok Code Fast 1 with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Xai Models

See pricing for all Xai models.

View all Xai models →