xAI review

Updated September 28, 2026 · DeployCue Editorial Team · Facts checked September 26, 2026

We earn a commission when you sign up through links on this site. Partner status can affect where a brand appears in our rankings. Partners with a live offer in your country come first, then every other brand by score.

Our verdict

xAI suits developers who want the Grok family behind an OpenAI-compatible API and can absorb premium token fees. Input fees of $1 to $4 and output fees of $2 to $12 sit well above gateway rivals, while a context window of 1,000,000 on the largest model is what earns the higher bill.

Key facts

Best for
Grok access with a 1,000,000 context window, at a premium you have budgeted for.
Input price from
$1 to $4↗
Output price from
$2 to $12↗
Models offered
Grok-4.7, Grok-4.6, Grok-4.5, Grok-4.3, Grok-4.20-0309-reasoning, Grok-4.20-0309-non-reasoning, Grok-build-0.1, Grok-4.20-multi-agent-0309, Grok-imagine-image, Grok-imagine-image-2.0, Grok-imagine-image-quality, Grok-imagine-video, Grok-imagine-video-1.5, Grok-voice-think-fast-2.0↗
Largest context window
1,000,000↗
OpenAI-compatible API
Yes↗
Official website
x.ai

Facts checked September 26, 2026, 3 sources

Apps and profiles

Pricing

  • xAI Grok 4 (USD)

    input-tokens: $3.00 / million

  • xAI Grok 4 (USD)

    output-tokens: $15.00 / million

  • xAI Grok 4 (USD)

    cached-input-tokens: $0.75 / million

  • xAI Grok 3 (USD)

    input-tokens: $3.00 / million

  • xAI Grok 3 (USD)

    output-tokens: $15.00 / million

  • xAI Grok 3 (USD)

    cached-input-tokens: $0.75 / million

Pros and cons

Pros

  • A context window of 1,000,000 on the largest Grok models, enough for long documents and whole repositories in one pass.
  • An OpenAI-compatible API, so existing clients, base URLs and SDK calls carry over with a changed endpoint and key.
  • The catalogue behind grok 4.7, grok 4.6 and grok 4.5 covers text, reasoning, image, video and voice, so media work stays with one provider.

Cons

  • Input fees of $1 to $4 and output fees of $2 to $12 are the weakest part of the case, and the cost mark here is 1.
  • Everything in grok 4.7, grok 4.6 and grok 4.5 comes from a single family, so a mixed workload needs a second supplier or a gateway.
xAI

Ready to try xAI?

Scored 8.6 / 10 by DeployCue.

Who it suits

  • Teams already calling an OpenAI-shaped endpoint who want one more vendor to compare against.
  • Developers passing very long documents or large repositories in a single request.
  • Builders who want image, video and voice output from the same catalogue as their text calls.

Who should look elsewhere

  • Token-heavy batch work: Salad lists input fees of $0.06 against Grok's $1 to $4.
  • Workloads that need OpenAI, embedding or audio models, which Azure AI Foundry carries through gpt 6 astra, gpt 6 luna and gpt 6 sol.
  • Anyone who wants one gateway across many vendors: Supascale AI lists DeepSeek V4 Pro, GPT 5.6 Sol and GPT 5.6 Terra in a single place.

Core features

The catalogue behind grok 4.7, grok 4.6 and grok 4.5 runs from chat and reasoning Grok releases through multi-agent and build variants to image, video and voice models, so generation beyond text stays in the same line-up. The largest context window reaches 1,000,000, which suits whole-codebase and long-document passes. The API is OpenAI-compatible, so client code and SDK settings move over with little change.

Frequently asked questions

What does xAI charge per token?+

Prices are per token, with input fees of $1 to $4 and output fees of $2 to $12 across the catalogue. Neither figure is marked as an introductory rate, so budget with those numbers from the first call. Replies carry the larger share, so long generations cost more than the input rate suggests.

How large a context window does xAI offer?+

The largest context window listed is 1,000,000. That figure is the ceiling for the catalogue, so a specific Grok release may sit lower and it is worth checking the model you plan to call. At that size, long documents and large codebases fit in one pass.

Is the xAI API OpenAI-compatible?+

Yes. The API is OpenAI-compatible, so base URLs, SDK settings and request code move over with a new endpoint and key. Teams on an existing OpenAI-shaped stack can add Grok without rewriting handlers, and the catalogue behind grok 4.7, grok 4.6 and grok 4.5 is reachable through the same interface.

Which models are available on xAI?+

The list behind grok 4.7, grok 4.6 and grok 4.5 spans several chat and reasoning releases, a multi-agent variant, a build-oriented model, and image, video and voice models. Text and media therefore come from one provider, and the fast-thinking voice model sits alongside the newest reasoning entries.

How does xAI pricing compare with cheaper LLM API providers?+

It sits at the expensive end of the field. Input fees of $1 to $4 and output fees of $2 to $12 run well above rivals, while Salad lists input fees of $0.06. When token volume is the main cost line, a cheaper route cuts the bill noticeably.

Who is xAI a good fit for?+

It suits developers who want a 1,000,000 context window, want Grok specifically and already speak an OpenAI-compatible API. It suits them less when volume dominates, because $1 to $4 and $2 to $12 set the ceiling on what a busy month costs.

How does xAI compare with a multi-model gateway?+

A gateway sells breadth, a model vendor sells depth on its own family. Supascale AI lists DeepSeek V4 Pro, GPT 5.6 Sol and GPT 5.6 Terra across many vendors, while xAI stays within grok 4.7, grok 4.6 and grok 4.5. Pick the gateway when model optionality matters, and xAI when a 1,000,000 window on a single family matters more.

Sources

  • docs.x.ai/developers/models checked September 26, 2026

    Backs: Largest context window, Models offered

    “grok-4.3 (< 200k prompt tokens) | 1M | $1.25 | $0.20 | $2.50”

  • docs.x.ai/developers/pricing checked September 26, 2026

    Backs: Input price from, Output price from

    “grok-build-0.1 (< 200k prompt tokens) | 256k | $1.00 | $0.20 | $2.00”

  • docs.x.ai/docs/overview checked September 26, 2026

    Backs: OpenAI-compatible API

    “from openai import OpenAI ... client = OpenAI(api_key="YOUR_XAI_API_KEY", base_url="https://api.x.ai/v1")”

Compiled from 3 source pages, checked September 26, 2026. We did not open an account.

xAI

xAI

Grok access with a 1,000,000 context window, at a premium you have budgeted for.

8.6/10See alternatives