Grok 4.5
xAI frontier model for coding, agentic tasks and knowledge work. 500K-token context, text and image input.
Starting at
$0.3
input price per 1M tokens
Playground
Input
openaiInput
$0.3 / 1M
Output
$0.9 / 1M
Output
Start a conversation
Ask Grok 4.5 anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatPricing
| Option | Price per 1M tokens |
|---|---|
| input | $0.3 |
| output | $0.9 |
| cacheRead | $0.075 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/chat/completions \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "grok-4.5",6 "messages": [7 {8 "role": "user",9 "content": "A cinematic shot of a city at dusk"10 }11 ]12 }'
Frequently asked questions
How much does Grok 4.5 cost?
Grok 4.5 starts at $0.3 per 1M input tokens through the API Stock API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Grok 4.5 API?
Send a POST request to https://api.api-stock.com/api/v1/chat/completions with your API key and the model "grok-4.5", using the openai-compatible request format shown in the quick start above.
What happens if a Grok 4.5 request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Grok 4.5 with the same API key as other models?
Yes. Every model on API Stock — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Grok 4.5 without new credentials.