Grok 4.7 API
NewLLMGrok 4.7 is xAI's newest flagship coding model here, with a 500K context window, vision, and structured tool use.
- Input · USD / 1M tokens$3.2 USDOfficial price
$4 USD - Output · USD / 1M tokens$9.6 USDOfficial price
$12 USD - Savings20%
- Context500K
- Last verified2026-09-22
- View tool pricing and billing rules
What are we making today?
Bring an idea, a question, or a first draft.
01
Where it fits
Grok 4.7 is xAI's newest flagship coding model here, with a 500K context window, vision, and structured tool use.
Choose it for demanding OpenAI-compatible coding-agent workflows that want xAI's latest revision at the same 80%-of-list pricing as 4.6.
02
Model capabilities
Vision
Accepts visual input alongside text for multimodal coding and analysis tasks.
Tool use
Can select and call tools in agent workflows that support structured tool use.
03
OpenAI-compatible API
Keep your client and change the base URL, API key, and model ID.
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Explain this codebase"}],
"stream": true
}'04
Compatible coding tools
More xAI models
Frequently asked questions
How much does Grok 4.7 cost on OmniaKey?
OmniaKey charges $3.2 USD per 1M input tokens and $9.6 USD per 1M output tokens, in USD. Official prices are $4 USD and $12 USD; you save 20%.
What is the context window for Grok 4.7?
The listed context window is 500K. Actual usable limits can also depend on the client and upstream request format.
Which coding tools work with Grok 4.7?
The current catalog lists compatibility with Codex, Cursor, Cline, Aider. Use the model ID shown on this page when the client supports model selection.