Models
Enterprise
Subscribe
Resource
Documentation
Console

x.ai/grok-4.6

Grok.Color

X.ai: grok-4.6

Grok 4.6 is xAI's current frontier model, built for coding, agentic tasks, knowledge work, and general reasoning.

Modetext → text
Input price
Output price$6 per M tokens
Context length
Weekly usage0 tokens
Listed at

X.ai

Latency
Throughput
Upload rate
Context length
Max output
Input price1M output tokens
Output price$61M output tokens
Cache read1M output tokens
Cache write1M output tokens

Performance

Avg TPS
Avg latency
Avg success rate
TPS
TTFT
Latency
Success rate

Success rate

Speed

Code Example

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST

Supported Parameters

ParameterTypeDefaultDescription

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

GroupBilling typePrice summary
Grok0%
Per call
Input priceper 1M tokens
Completion price6per 1M tokens
Cache read priceper 1M tokens
Cache write priceper 1M tokens
Grok0%
Per call
Input priceper 1M tokens
Completion price6per 1M tokens
Cache read priceper 1M tokens
Cache write priceper 1M tokens