Grok 4.6
Grok logo

Grok 4.6

grok-4.6llms.txt
Grok
New
Grok 4.6 is xAI’s (SpaceXAI) flagship multimodal reasoning model for coding, long-running agents, knowledge work, and interactive application development. It supports image understanding, a 500K context window, tool calling, and structured outputs. Compared with Grok 4.5, it offers stronger multi-step execution, self-verification, coding, and visual project generation.

Pricing

TierPricingCache Read
Input<=200K
$2$6
$0.5/M tokens
200K<Input
$4.4$13.2
$1.1/M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Context length

  • 500K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Document input
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Providers

Azure grok-4.6
Pricing$2$6
Cache Read$0.5/M tokens
Pricing$4.4$13.2
Cache Read$1.1/M tokens
Context500K
Max output500K
Latency27.5S
Throughput10.1TPS
Uptime
99.75% uptime 2 days ago
100.00% uptime yesterday
99.67% uptime today
Grok grok-4.6
Pricing$2$6
Cache Read$0.5/M tokens
Pricing$4.4$13.2
Cache Read$1.1/M tokens
Context500K
Max output500K
Latency6.5S
Throughput16.1TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today

Performance for grok-4.6

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="grok-4.6",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Grok 4.6?

Grok 4.6 is xAI’s (SpaceXAI) flagship multimodal reasoning model for coding, long-running agents, knowledge work, and interactive application development. It supports image understanding, a 500K context window, tool calling, and structured outputs. Compared with Grok 4.5, it offers stronger multi-step execution, self-verification, coding, and visual project generation.