xAI has 6 tracked models in this catalog: 6 with verified first-party prices and 6 with an available OpenRouter route. Use the model pages below for a focused answer and source history.
What are the current xAI API prices?
This table sorts tracked xAI models by a consistent example workload when a verified first-party price is available. The example uses 1M input tokens and 250K output tokens; it is a comparison aid, not a promise that the models are equivalent.
| Model | Official in / out | OpenRouter in / out | Context | Example official | Example routed | Sources |
|---|---|---|---|---|---|---|
| Grok Build 0.1Official API price verified | In $1.00Out $2.00 | In $1.00Out $2.00 | 256K | $1.50 | $1.50 | |
| Grok 4.3Official API price verified | In $1.25Out $2.50 | In $1.25Out $2.50 | 1M | $1.875 | $1.875 | |
| Grok 4.20 ReasoningOfficial API price verified | In $1.25Out $2.50 | In $1.25Out $2.50 | 1M | $1.875 | $1.875 | |
| Grok 4.20 Non-ReasoningOfficial API price verified | In $1.25Out $2.50 | In $1.25Out $2.50 | 1M | $1.875 | $1.875 | |
| Grok 4.20 Multi-AgentOfficial API price verified | In $1.25Out $2.50 | In $1.25Out $2.50 | 1M | $1.875 | $1.875 | |
| Grok 4.5Official API price verified | In $2.00Out $6.00 | In $2.00Out $6.00 | 500K | $3.50 | $3.50 |
The first five model pages are also linked here for quick access: Grok Build 0.1 · Grok 4.3 · Grok 4.20 Reasoning · Grok 4.20 Non-Reasoning · Grok 4.20 Multi-Agent. All prices should be confirmed on the linked source before budgeting.
How should you compare xAI models?
Start with the input and output mix of your actual workload, then account for cached input, context-window tiers, tools, retries, and expected monthly runs. A lower output price can still produce a higher monthly bill if the model needs longer responses or more retries.
Use the workload calculator to change token volume, cached-input percentage, and monthly runs. The calculator keeps the official direct route separate from OpenRouter instead of treating a routed price as a first-party quote.
What is the difference between official and OpenRouter xAI pricing?
Official pricing refers to a provider-owned API or documentation source. OpenRouter pricing refers to a separate routing and billing channel with its own model ID, availability, verification time, and account terms. The two prices may match, differ, or exist on only one side.
For xAI, a missing official hosted price is shown as “No first-party API” rather than being replaced with an OpenRouter number. That distinction is especially important for open-weight or provider-specific routes.
Where can you find each model's source?
Every row links to the provider source used for the official channel and, when available, the exact OpenRouter model record used for the routed channel. The model detail pages include the latest verification date and the number of recorded price-history events.
Prices are checked by the scheduled updater, but a blocked or suspicious source keeps the last verified value instead of silently publishing an unverified change. Read the pricing methodology for the full verification rules.
xAI API pricing questions
What is the cheapest xAI API model in this catalog?
Grok Build 0.1 has the lowest verified xAI example workload cost in this catalog at $1.50 for 1M input tokens and 250K output tokens. A different input-to-output ratio can change the ranking.
Does xAI pricing match OpenRouter pricing?
Not necessarily. The official and OpenRouter channels are stored and checked separately for each model. Compare the two columns and follow each source link before making a production decision.
How are xAI token prices displayed?
Published standard text-token rates are normalized to USD per one million tokens. Input, cached-input, and output rates remain separate when the source provides them.
Are these xAI models interchangeable?
No. Price is only one dimension. Context limits, quality, latency, tools, availability, safety behavior, and provider terms still need to be tested for the intended workload.