Available now
xAI
grok-4-0709
TextReasoningToolsFilesVision256KCacheWebSearch
Input$3.15/ 1M
Output$15.75/ 1M
Context256K
Endpointsopenai, anthropic
Capabilities
ReasoningToolsVisionCacheWeb search
Quick stats
Context window256K
Max output256K
Modechat
Deprecation2026
Performance
Loading performance data...
§ 01
Pricing
| Input price | $3.15 · 1M tokens |
| Output price | $15.75 · 1M tokens |
| Context window | 256K tokens |
| Compatible endpoints | openai, anthropic |
| Vendor | xAI |
§ 02
Call grok-4-0709 from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4-0709",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
Frequently asked questions
How much does grok-4-0709 cost per 1M tokens?
Input is priced at $3.15 per 1M tokens, output at $15.75 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access grok-4-0709 via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=grok-4-0709. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of grok-4-0709?
grok-4-0709 supports a context window of 256K tokens, shared between your prompt and the model's response.
§ 04