X
xAI
TextVisionTools

Grok 4.6 API

The flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.

Try in Playground ↗View API docs →
PLAYGROUND

Test a Grok 4.6 prompt.

Interactive browser preview · no credits used

Chat Playground2.0
Chat

INPUT

Chat

Message

Temperature

Max tokens

OUTPUT

Grok 4.6

Hello
Hello, how can I help you?
Ready to run
API DOCUMENTATION

Sample code and API

Use the Grok 4.6 API to integrate powerful AI capabilities into your applications.

POST/v1/chat/completions
POST/v1/responses
PRICING

Grok 4.6 pricing

standardlen < 200,000
Input tokens
$2.00
per 1M tokens
Output tokens
$6.00
per 1M tokens
long_context
Input tokens
$4.00
per 1M tokens
Output tokens
$12.00
per 1M tokens

Keep exploring.

All models →

Start building with RunBridge AI

One bridge to every generation model.

Start building ↗