xAI: Grok 4.20 (0309) Reasoning
xAI Grok 4.20 (0309) Reasoning API pricing
Grok 4.20 (0309) Reasoning costs $0.500 per million input tokens and $1.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $1.25 input and $2.50 output), and cached input tokens are billed at $0.080 per million. It accepts text and images and returns text, with a 1M-token context window. A cheaper xAI option is Grok Build 0.1 at $0.400 / $0.800 per 1M tokens; for every model and rate, see Grok API pricing.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Input /M | Output /M | Cache read /M |
|---|---|---|---|
| xAI | $0.500 | $1.00 | $0.080 |
Capabilities (12)
Supported parameters (2)
A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Input | $1.25 | $0.500 | per 1M input tokens |
| Output | $2.50 | $1.00 | per 1M output tokens |
| Cached input | $0.200 | $0.080 | per 1M cached input tokens |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Long-context pricing. Once the prompt is larger than the threshold, the whole request is billed at these charged rates per 1M tokens; rates not listed keep the price above.From 200,000 tokens in the prompt: input $1.00 / output $2.00 / cache read $0.160.
Specifications
- Model ID
grok-4.20-0309-reasoning- Developer
- xAI
- Type
- Text
- Input
- Text and images
- Output
- Text
- Context window
- 1,000,000 tokens
- Tokenizer
- Grok
- Series
- Grok 4.20
- Image input
- Up to 20 MB each
- Endpoint
/v1/chat/completions
Best for
Quickstart
Call grok-4.20-0309-reasoning with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.chat.completions.create(
model="grok-4.20-0309-reasoning",
messages=[
{"role": "user", "content": "Explain unified AI APIs in one sentence."},
],
)
print(response.choices[0].message.content)Availability
The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.
Frequently asked questions
What is Grok 4.20 (0309) Reasoning?
How much does Grok 4.20 (0309) Reasoning cost?
What is the context length of Grok 4.20 (0309) Reasoning?
Does Grok 4.20 (0309) Reasoning support tool calling and structured outputs?
What inputs and outputs does Grok 4.20 (0309) Reasoning support?
Which API endpoint does Grok 4.20 (0309) Reasoning use?
What other models does xAI have?
Alternatives to Grok 4.20 (0309) Reasoning
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.


