Back to Models
Grok

Grok 4.6

Available

Description

Grok 4.6 is xAI's frontier reasoning model for coding, agentic workflows, and complex STEM tasks. It features a 500k context window with native multimodal capabilities and tunable reasoning.

At a Glance

Key pricing and model details available for this model.

Input price

$2.00

per 1M tokens

Output price

$6.00

per 1M tokens

Context window

500K

tokens

Hallucination rate

0%

Token Pricing

Token pricing normalized to per-million-token rates.

Input / 1M tokens

$2.00

Output / 1M tokens

$6.00

Cache Read / 1M tokens

$0.50

Token Pricing Details

Rates are shown per 1M tokens for easier comparison.

Input / 1M tokens$2.00
Input unit1M tokens
Output / 1M tokens$6.00
Output unit1M tokens
Cache Read / 1M tokens$0.50
Cache Read unit1M tokens

Feature Availability

Capabilities explicitly listed in the current payload.

LLM

Available

Yes

Vision

Available

Yes

Function calling

Available

Yes

Reasoning

Available

Yes

Service tiers

Not listed

No

Reasoning Effort Levels

low
medium
high
xhigh

Supported Parameters

frequency_penalty
logit_bias
max_completion_tokens
presence_penalty
reasoning_effort
response_format
stop
temperature
tool_choice
tools
top_p

Code Samples

Quick start with the Routeway API

import OpenAI from 'openai';

const openai = new OpenAI({
  baseURL: "https://api.routeway.ai/v1",
  apiKey: "<YOUR_API_KEY>",
});

async function main() {
  const completion = await openai.chat.completions.create({
    model: "grok-4.6",
    messages: [
      {
        role: "user",
        content: "Explain quantum computing in simple terms"
      }
    ]
  });

  console.log(completion.choices[0].message);
}

main();