Chat modes, real-time X integration, and image generation reference for xAI's Grok.
| Model ID | Context | Notes | Input / M |
|---|---|---|---|
| grok-4.6 | 500k | Current flagship. Knowledge cutoff 1 February 2026. | $2.00–$4.00 |
| grok-4.5 | 500k | Previous flagship, same price band. | $2.00–$4.00 |
| grok-4.3 | 1M | Larger context, cheaper — good for long-document work. | $1.25–$2.50 |
| grok-4.20-0309-reasoning | 1M | Explicit reasoning variant. Slower, better on multi-step problems. | $1.25–$2.50 |
| grok-4.20-0309-non-reasoning | 1M | Same model without the reasoning pass — faster and cheaper per answer. | $1.25–$2.50 |
| grok-4.20-multi-agent-0309 | 1M | Multi-agent variant. | $1.25–$2.50 |
| grok-build-0.1 | 256k | Build/coding-oriented model. | $1.00–$2.00 |
| grok-imagine-image-2.0 | — | Image generation. | $0.04 / image |
| grok-imagine-video-1.5 | — | Video generation. | $0.08 / second |
| Voice service | Price |
|---|---|
| Speech to speech (grok-voice-think-fast-2.0) | $0.08 / minute of audio |
| Speech to text | $0.10 / hour |
| Text to speech | $15.00 / 1M characters |
- General work:
grok-4.6. Newest, and the one the chat product uses. - Long documents or large codebases:
grok-4.3— 1M context at half the input price of the 4.5/4.6 band. - Multi-step problems: the
-reasoningvariant. For everything else the-non-reasoningone is faster and cheaper, and reasoning tokens are billed. - Coding:
grok-build-0.1is purpose-built and the cheapest text tier, though only 256k context. - Prices show a range — check the live models page for which tier applies to your account and region.
- Keys come from the xAI console. Never put one in client-side code — anything in a browser bundle is public.
- Function calling and structured output follow the OpenAI shapes, so existing tool definitions largely port across.
- Reasoning models bill their reasoning tokens as output. A cheap-looking request can cost several times what you expect.
- Set
temperaturelow (0–0.3) for anything factual or code-generating; the default is tuned for conversation. - Streaming matters for perceived latency on the big-context models.
- Rate limits and concurrency vary by tier — handle 429s with backoff rather than assuming headroom.
- Live events. The X integration makes it the strongest option for "what is happening right now" — an ongoing outage, a breaking story, live reaction.
- Sentiment on a topic. It can summarise what's actually being said about something, which no static-corpus model can do.
- Long context. 500k–1M windows handle whole codebases and large document sets without chunking.
- Voice. Speech-to-speech at $0.08/minute is competitive for building conversational interfaces.
- Available through grok.com, the X apps, and the API. The chat product and the API expose different feature sets.
- Say explicitly when you want current information — otherwise it may answer from training data with a February 2026 cutoff.
- Ask for sources on anything drawn from X, then check them. A post is evidence that someone said a thing, not that it's true.
- Use a system prompt to set format and tone. Grok's default voice is deliberately informal and often not what you want in a product.
- For factual work, ask it to say when it doesn't know rather than to guess.
- Long context is not free attention — put the important material near the start or end of a very large prompt.
Gotchas
- The X feed is a source, not a fact-checker. Real-time access means real-time access to whatever is being posted, including coordinated and mistaken claims. Verify anything consequential.
- Knowledge cutoff for grok-4.6 is 1 February 2026. Without an explicit request for current information you may get training-data answers presented confidently.
- Reasoning tokens are billed as output. The reasoning variants can cost markedly more per request than the sticker price suggests.
- Grok's default persona is informal and edgier than other assistants. Fine in chat, usually wrong for a customer-facing product — constrain it in the system prompt.
- Model IDs change often and older ones get retired. Pin a specific ID in production and watch the changelog rather than tracking "latest".
- Chat-product features and API features are not the same set. Something you saw in the app may not be exposed via the API.
- Prices are shown as ranges. Confirm your actual rate in the console before budgeting.
- As with any model, don't paste secrets or personal data into prompts, and check the data-retention terms for your tier.
Tips
Point the OpenAI SDK at https://api.x.ai/v1 with an xAI key. Everything else in an existing integration generally works unchanged — easy to A/B against another provider.
grok-4.3 gives you 1M context at roughly half the input price of the 4.6 band. For bulk document work that difference compounds fast.
The explicit -non-reasoning variant is faster and avoids paying for reasoning tokens on tasks that don't benefit.
On anything sourced from X, request links. It turns an unverifiable claim into something you can check in ten seconds.
0–0.3 for factual answers, extraction, and code. The conversational default introduces variance you don't want in a pipeline.
Dated IDs like grok-4.20-0309-reasoning are stable. Tracking a moving alias means your output changes without a deploy.