xAI: Grok 4.6
Chatx-ai/grok-4.6Grok 4.6 is xAI's most intelligent and fastest model, with frontier performance on coding, knowledge work, and STEM. 500K context, reasoning model, prompt caching supported. OpenAI-compatible protocol. Released August 12, 2026.
Context Window
500K
Max Output Tokens
66K
Released
2026-08-12
Capabilities
Function CallingReasoningPrompt Caching
Available Providers
xAI
Supported Protocols
openai
Providers
xAI
Input Tokens
$2/M
Output Tokens
$6/M
Cache Read
$0.5/M
Protocols
openai
/v1/chat/completionsCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="x-ai/grok-4.6",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Related Models
Frequently Asked Questions
xAI: Grok 4.6 on Ofox.ai costs $2/M per million input tokens and $6/M per million output tokens. Pay-as-you-go, no monthly fees.
xAI: Grok 4.6 supports a context window of 500K tokens with max output of 66K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
xAI: Grok 4.6 supports the following capabilities: Function Calling, Reasoning, Prompt Caching. Access all features through the Ofox.ai unified API.