xAI's model building on Grok 4.5 with a focus on long-running agents and ambitious interactive and visual work. Sustains complex multi-step tasks across research, analysis, and whole codebases, and shows more self-testing and verification on long trajectories. Reaches frontier intelligence across agentic coding and knowledge work benchmarks, matching GPT-5.6 Sol on the Artificial Analysis Intelligence Index, and produces notably stronger first passes on visual and interactive projects. Trained with agentic RL across kernel optimization, web development, and computer-aided design, with real-time information access and an OpenAI-compatible API.
500K tokens
2
Available
Cheapest
OpenRouter
$8.00/1M tokens
OpenRouter, xAI
Sorted by total cost (input + output per 1M tokens). Select a row to view provider details.
| Provider | Pricing (per 1M) | Rate limits | Regions | Health | Latency |
|---|---|---|---|---|---|
In: $2.00Out: $6.00 | 200 RPM / 300K TPM | us-east-1 | Healthy | 0ms | |
In: $2.00Out: $6.00 | 300 RPM / 500K TPM | us-east-1global | Healthy | 0ms |
Use this model via OpenRouter with an OpenAI-compatible SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "x-ai/grok-4.6",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);Using OpenRouter API · OpenAI-compatible SDK