Available now
xAI
grok-4.1
TextToolsFilesVision200K
Per request$0.02
Context200K
Endpointsopenai
Capabilities
ToolsVision
Quick stats
Context window200K
Performance
Loading performance data...
§ 01
Pricing
| Price per request | $0.02 · request |
| Context window | 200K tokens |
| Compatible endpoints | openai |
| Vendor | xAI |
§ 02
Call grok-4.1 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.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
Frequently asked questions
How much does grok-4.1 cost per request?
grok-4.1 is billed at a fixed $0.02 per request.
How do I access grok-4.1 via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=grok-4.1. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of grok-4.1?
grok-4.1 supports a context window of 200K tokens, shared between your prompt and the model's response.
§ 04