Models · xAI
Grok 4.7 API price
Grok 4.7 by xAI through Infer’s API, from $0.44 per 1M input tokens and $1.30 per 1M output tokens on the Low cost route.
Up to 78% below xAI’s list price · 4 routes open · prices from the live catalog at 2026-12-04 09:50 UTC
Routes and prices
USD per 1M tokens. Each route is a way to reach the same model; the model ID picks it. Savings are against the lab’s own list price for the same token class.
| Route | Input | Cached input | Output | Model ID |
|---|---|---|---|---|
| Low costThe lowest-cost supply that passes Infer’s checks | $0.4478% below list | $0.11 | $1.3078.3% below list | infer/grok-4.7:low-cost |
| BalancedStricter health, capability and privacy checks | $0.5672% below list | $0.14 | $1.6872% below list | infer/grok-4.7:balanced |
| StableThe strictest checks short of Official | $0.6269% below list | $0.16 | $1.8469.3% below list | infer/grok-4.7:stable |
| Official APIThe lab’s own API, at no more than 1.25× its list price | $2.50 | $0.625 | $7.50 | infer/grok-4.7:official |
xAI’s list price: $2.00 input, $0.50 cached input and $6.00 output per 1M tokens (Standard rate on the lab's own API, checked ). xAI API models
Details
- Context window: 200K tokens
- Longest reply: 450K tokens
- Supports tool calls, structured output, streaming
- Endpoints: /v1/chat/completions, /v1/responses and /v1/messages, with one key and one wallet
Send a request
Create a key in your dashboard, then call any OpenAI- or Anthropic-compatible endpoint. The docs cover the SDKs, streaming and tools.
curl https://infer.flow7.org/v1/chat/completions \
-H "Authorization: Bearer $INFER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "infer/grok-4.7:low-cost", "messages": [{"role": "user", "content": "Hello"}]}'Paying
Infer is prepaid: add credit to your wallet, from $5, and each request is charged at the rates above. There is no subscription.