Skip to main content

Models

Always trust the model list returned for your key.

Grok 4.5 context (important)

Grok 4.5 accepts ~500k context, but quality drops past ~200k.
Keep coding agents in a ≤200k working set and let the client compact earlier. Do not run forever-long sessions just to fill the 500k window. See Grok Build · Context.

List models

Models and groups

  • The API key group decides which models you see
  • The same name may map to different upstream pools
  • On model_not_found, check the group first

Call example

Client guides