Skip to content
xAICurrent

Grok 4.6 API pricing

xAI's current flagship model for coding, agentic tasks, tool use and general knowledge work.

How much does Grok 4.6 API cost?

Grok 4.6 costs $2.00 per 1 million input tokens and $6.00 per 1 million output tokens through TokenGate.

TokenGate API pricing
ConditionInput tokens / 1MCached input / 1MOutput tokens / 1M
Short context$2.00$0.50$6.00
Long context (≥ 200K)$4.00$1.00$12.00
  • Requests with 200K context or more use higher long-context pricing.

Estimate Grok 4.6 API cost

Estimated monthly cost (USDT)$50.00USDT

Estimated TokenGate cost, denominated in USDT.

Use Grok 4.6 with the OpenAI SDK

curl https://api.tokengate.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENGATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.6","messages":[{"role":"user","content":"Hello"}]}'

Change the model identifier to use another supported model through the same TokenGate integration.

Model specifications

Provider
xAI
API model identifier
grok-4.6
Generation
4.6
Provider lifecycle
Active
Context window
500K
Input modalities
Text, Image
Output modalities
Text
Capabilities
Function calling, Structured outputs, Vision, Reasoning, Tool use, Web search, Code execution

Best for

  • Coding
  • Agents
  • Knowledge work
  • Complex reasoning

Access Grok 4.6 through TokenGate

Use supported models through a single TokenGate integration.

  • · One API integration
  • · OpenAI-compatible interface
  • · Payment in USDT

Frequently asked questions

Related models

TokenGate