We're thrilled to introduce grok-code-fast-1, a speedy and economical reasoning model that excels at agentic coding.
At a glance
Modalities
Context window
256,000
Pricing
Capabilities
Function calling
Connect the xAI model to external tools and systems.
Structured outputs
Return responses in specific, organized formats.
Reasoning
The model thinks before responding.
Pricing
Input
Tokens
$0.20/ 1M tokens
Cached tokens
$0.02/ 1M tokens
Output
Tokens
$1.50/ 1M tokens
You are charged for each token used when making calls to our API.
Using cached input tokens can significantly reduce your costs.
This model is available on multiple clusters, you can find full regional based pricing below.
Details
Model name
Aliases
| Region | us-east-1, eu-west-1 |
|---|---|
| Pricing per million tokens * | |
| Input | $0.20 |
| Cached input | $0.02 |
| Output | $1.50 |
| Rate limits | |
| Requests per minute | 2,100 |
| Tokens per minute | 2,000,000 |