Grok 4
fastrouter/x-ai/grok-4 · family grok · in: text → out: text · price provider-declared (via models.dev). Capabilities: tools reasoning text.
$6.00
Blended $/1M (3:1)
$3
Input $/1M
$15
Output $/1M
$18.00
1M in + 1M out
$0.75 −75%
Cache read $/1M
#6802 of 7,708
Cheapest rank
- Provider
- FastRouter (
fastrouter) - Kind
- text (outputs text)
- Context
- 256,000 tokens
- Max output
- 64,000 tokens
- Capabilities
- tools reasoning text
Same model, other providers
“Grok 4” is offered by 3 providers — cheapest-effective first. This one (FastRouter) is the cheapest.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| FastRouter (this) | $3 | $15 | $6.00 | 256k |
| Abacus | $3 | $15 | $6.00 | 256k |
| DevPass (LLM Gateway) | $3 | $15 | $6.00 | 256k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at FastRouter and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"x-ai/grok-4","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):