xAI: grok-4.7
grok-4.7- Input / Output
- $2.00 / $6.00
- Context
- 500K
- Released
- Sep 21, 2026
- Max output
- 128K
- Modalities
- VisionChat
- Capabilities
- Tool usePrompt CacheReasoning
Getting started
Create API key
Create a key in Console, then use it with every model on the platform.
Send your first request
Copy the example for your language and run it against the endpoint.
chat_completionResponses APIPOST/v1/responsesAPI format:curl https://api.tokenlab.sh/v1/responses \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-xxx" \ -d '{ "model": "grok-4.7", "input": "Hello!" }'
Pricing
Official price is the model maker's public baseline. TokenLab price is what you pay for this model on TokenLab.
Input tokens <= 200K
Per 1M tokens- Official price
- Input $2.00 / Output $6.00 / Cache read $0.50
- TokenLab price
- Input $2.00 / Output $6.00 / Cache read $0.50
- Discount
- -
Input tokens 200K-500K
Per 1M tokens- Official price
- Input $4.00 / Output $12.00 / Cache read $1.00
- TokenLab price
- Input $4.00 / Output $12.00 / Cache read $1.00
- Discount
- -
Cache read
- Official price
- $0.50
- TokenLab price
- $0.50
- Discount
- -
| Official pricePer 1M tokens | TokenLab pricePer 1M tokens | Discount | |
|---|---|---|---|
| Input tokens <= 200K | Input $2.00 / Output $6.00 / Cache read $0.50 | Input $2.00 / Output $6.00 / Cache read $0.50 | - |
| Input tokens 200K-500K | Input $4.00 / Output $12.00 / Cache read $1.00 | Input $4.00 / Output $12.00 / Cache read $1.00 | - |
| Cache read | $0.50 | $0.50 | - |
Usage & activity
Success rate is the share of requests that completed. Latency is how long a full response takes; P95 means 95% of requests finished within that time.
Usage & availability
Last 24 hoursNo data yet
Data is based on aggregate user requests, excluding status checks.
Open in Console
Open Grok 4.7 in Console with a prompt ready to edit or send.
Help me try grok-4.7 with a short message at /v1/responses. Show the reply, latency, and cost.
Use cases
Best forReasoning
Multi-step reasoning, analysis, and research workflows
Vision
Reading images, parsing documents, and answering visual questions
Agents and tools
Handle reasoning, support triage, tool calls, and multi-step tasks.
Coding
Generate, review, or debug code in the tools you already use.
Knowledge assistants
Build chat, search, and retrieval with a clear price and capability profile.
Side-by-side test
Compare response quality, latency, and price side by side.
Prompt examples
Write a concise support reply and list the assumptions behind it.
Review this API design and call out the top three integration risks.
Turn a long changelog into release notes a non-engineer would read.
This model has conditional pricing. Monthly token totals alone cannot produce a reliable estimate; use the detailed pricing for the request specification, cache, and applicable time window.
FAQ
How much does Grok 4.7 cost?
On TokenLab, Grok 4.7 costs Input $2.00 / Output $6.00 Per 1M tokens. The pricing table above shows the full breakdown. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.
What is Grok 4.7 best for?
Grok 4.7 supports JSON mode, Prompt Cache, Reasoning. You can open it directly in Create.
How do I test Grok 4.7?
Open Grok 4.7 in Create. A sample for /v1/responses will be ready to try.
Which endpoint should Grok 4.7 use?
Use https://api.tokenlab.sh/v1/responses for Grok 4.7. The request example below shows the matching code shape.
Can I test Grok 4.7 before integrating it?
Yes. Open Console starts a ready draft for Grok 4.7 and keeps your prompt after sign-in, so you don’t lose context.
Which operations does Grok 4.7 support?
Grok 4.7 supports chat_completion. Select an operation above to see its endpoint and request example.