xAI
Grok 4.7
Total Context
500K
Max Output
500K
Released
N/A
grok-4.6Grok 4.6 is xAI’s advanced reasoning model built for complex programming, long-running agent tasks, and knowledge work. It supports text and image input, a context window of up to 500k tokens, and configurable low/medium/high/xhigh reasoning intensity. With function calling, web and X search, code execution, and structured output, Grok 4.6 is optimized for cross-codebase analysis, sustained multi-step tool use, self-verification, and end-to-end engineering workflows. It is best understood as a general-purpose reasoning and agentic model—not merely a chatbot associated with the X platform.
Context Window
500K tokens
Maximum Output
500K tokens
Release Date
Aug 12, 2026
Modalities
| Token Tier | Input Price | Output Price | Cache Read |
|---|---|---|---|
| <=200K | $2/M | $6/M | $0.3/M |
| >200K | $4/M | $12/M | $0.6/M |
Reasoning
Tool calling
Temperature parameter
Attachments
Knowledge Base
Endpoint Protocols
Grok 4.6 provides reasoning, image understanding, and a 500,000-token context for coding, agentic tasks, and knowledge work.
The model can reason before producing its response, helping with complex questions that require intermediate analysis.
Grok 4.6 is positioned for coding and agentic tasks that combine technical reasoning with coordinated actions.
Text and image inputs can be examined within a 500,000-token context, supporting analysis across extensive mixed-format material.
Grok 4.6 is suited to software development, multi-step automation, and knowledge analysis involving large text and image inputs.
Generate and revise code, investigate defects, and reason through implementation choices for complex engineering tasks.
Break down a goal, choose successive actions, and use external systems to complete an agent-driven workflow.
Compare long text sources with diagrams or screenshots, identify relevant evidence, and consolidate the findings into a report.
import OpenAI from "openai"
const client = new OpenAI({
apiKey: process.env.TOKENHUB_API_KEY,
baseURL: "https://us-api.tokenhub.com/v1",
})
const result = await client.chat.completions.create({})
console.log(result.choices[0]?.message?.content)Useful questions and answers about using Grok 4.6 on TokenHub.
Grok 4.6 is a frontier model from SpaceXAI designed for coding, agentic tasks, and knowledge work.
It is well suited to complex coding, long-running tool workflows, large-context analysis, and knowledge work involving text or images.
Its strengths include a 500,000-token context window, text and image inputs, configurable reasoning effort, and support for tool-enabled API workflows.
The API produces text-only output, and prompts above 200,000 tokens use higher pricing. Review important results and test quality, latency, tool behavior, and cost before production use.
Select the exact model identifier grok-4.6 in your TokenHub API request, use your TokenHub endpoint and credentials, and pass only parameters supported by the configured route.
For prompts below 200,000 tokens, xAI lists $2 input, $0.50 cached input, and $6 output per million tokens; above that threshold it lists $4, $1, and $12. TokenHub pricing and availability may differ, so check the current catalog.
Choose it for demanding coding, agentic, image-understanding, or long-context work. For simpler high-volume tasks, compare it with lighter models using representative prompts for quality, latency, and total cost.
Use one API key to access Grok 4.6 and more AI models through TokenHub.
Grok 4.6 Media and Discussions
Selected public announcements, analyses, videos, and community discussions about Grok 4.6.
X (Twitter)
Reddit
YouTube