Grok 4.5 API: pricing and how to call it
Grok 4.5 has the model ID grok-4.5. On MYUSAPI it costs $0.70 per 1M input tokens and $2.10 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.
Grok 4.5 API pricing
| Item | Per 1M tokens |
|---|---|
| Input | Official |
| Output | Official |
| Cache read | Official |
USD. The struck figure is xAI’s official standard list price; bold is ours, with input and output at 35% of list. Source of the list price
Example: a job that uses 1M input tokens and 200K output tokens costs $1.12 at our rates and $3.20 at list price.
Official rates: Input and output rates double from 200K tokens; check /v1/models for availability.
Specifications
| Model ID | grok-4.5 |
| Provider | xAI |
| Context window | 500K tokens |
| Endpoints | Responses |
| Capabilities | Reasoning, Tools, JSON |
Supports low, medium and high reasoning.
How to call the Grok 4.5 API
Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.
Sign up and get an API keyTested 2026-11-12: the cURL requests on this page answered for grok-4.5.
Responses (cURL)
The address is https://myusapi.com/v1/responses. Add "stream": true to the body to stream.
curl https://myusapi.com/v1/responses \ -H "Authorization: Bearer $MYUSAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4.5","input":"Hello"}'
Grok 4.5 is offered here over Responses; this page prints that request only.
Whether your key can call it now is what GET https://myusapi.com/v1/models returns.
Other xAI models
- Grok 4.7 API: $0.70 input, $2.10 output per 1M tokens
- Grok 4.3 API: $0.50 input, $1.00 output per 1M tokens
- Grok Build 0.1 API: $0.30 input, $0.60 output per 1M tokens
- Grok 4.6 API: $0.70 input, $2.10 output per 1M tokens
- Grok 4.20 Non-Reasoning API: $0.50 input, $1.00 output per 1M tokens
- Grok 4.20 Reasoning API: $0.50 input, $1.00 output per 1M tokens
- Grok 4.20 Multi-Agent Beta API: $0.50 input, $1.00 output per 1M tokens