Grok 4.7
⧉Grok 4.7 is xAI's flagship reasoning model, strong at complex reasoning, coding and long-document analysis, with image input. It always thinks before it answers; the reasoning comes back in reasoning_content and reasoning tokens bill at the output rate. Tool calling, JSON Schema structured output and streaming are supported. Fully OpenAI-compatible: set model to grok-4.7. Pay-as-you-go, failed calls never billed, and no long-context surcharge.
Live Test · Playground
Try out Grok 4.7 right here (available after login).
Input
Advanced
Conversation
About Grok 4.7
Grok 4.7 is xAI's flagship reasoning model, offered on NezhaGate through an OpenAI-compatible API. It is strong at complex reasoning, coding and long-document analysis, and supports image input, tool calling and JSON Schema structured output. The model always thinks before it answers: the reasoning returns in message.reasoning_content, the answer in content, and reasoning tokens bill at the output rate within usage.completion_tokens. Set model to grok-4.7; pay-as-you-go, failed calls never billed.
Use cases
It thinks before it answers, which suits math, logic and multi-step problems; the reasoning is available in reasoning_content.
Write, explain and change code, trace the cause of an error and propose a fix that runs.
Summaries and Q&A over contracts, papers and logs. Verified to pinpoint a fact inside a 240K-token document, with no long-context surcharge.
OpenAI-style tools / tool_calls (streamed too) and strict JSON Schema output, plus image input, for workflow orchestration and data extraction.
How to choose
Pick Grok 4.7 for strong reasoning, long-document analysis or structured output; for lower-cost everyday chat, DeepSeek V4.1 Flash or GLM-5.3 work well, and switching is just a change of the model field.
FAQ
Can I turn thinking off or change the reasoning effort?
Which parameters are not supported?
Why does a short prompt show over a thousand input tokens?
How long is the context, and do long prompts cost more?
Am I charged for failed calls?
Related Models
Explore other models you can integrate.
Kimi K3
Moonshot's new flagship - long context and agents
GPT-6 Sol
Built for complex coding and agentic workflows - 1.05M context
Claude Sonnet 4.6
Balanced, efficient chat and coding model
Gemini 3.1 Pro
Next-generation flagship reasoning model from Google
DeepSeek V4.1 Flash
DeepSeek's current Flash model - thinking on or off