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.

8 Ways to Use Fewer Tokens

Get the free PDF guide — practical tips to cut your token usage and API costs. Subscribe to the Price Per Token newsletter and download instantly.

Last updated: March 19, 2026 at 04:34 PM

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
Output155 tok/s
TTFT3.55s
median latency
Capabilities
ReasoningToolsCaching

Pricing Comparison

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

Current Pricing (per 1M tokens)

1 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.200
$1.500
65.7
79.3
72.7
256,000
Try

* 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.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Grok Code Fast 1 perform? Vote based on your experience.

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 (70th pct)
Coding
23.7 (62th pct)
Math
43.3 (45th pct)
MMLU Pro
79.3 (63th pct)
GPQA
72.7 (68th pct)
LiveCodeBench
65.7 (73th 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 0 provider(s). Check the comparison table offers the best price.
We compare Grok Code Fast 1 with 0 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 →