Vercel — AI · · 1 min read

Grok 4.6 now available on AI Gateway

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

Grok 4.6 from SpaceXAI is now available on AI Gateway.

The model has a 500K token context window and accepts text and image inputs. Grok 4.6 supports low, medium, high, and xhigh reasoning levels and defaults to high.

To use Grok 4.6, set model to xai/grok-4.6 in the AI SDK:

import { streamText } from 'ai';
const result = streamText({
model: 'xai/grok-4.6',
reasoning: 'xhigh',
prompt: 'Analyze this dataset and summarize the key trends.',

To use it in a coding agent, run vercel ai-gateway coding-agents setup to connect Claude Code, Codex, OpenCode, or Pi, then select xai/grok-4.6 inside the agent.

To try Grok 4.5 with no code, try the model in the model playground.

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.

AI Gateway: Track top AI models by usage

The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.

View the leaderboard


Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI