Skip to main content
xAI model for coding, agentic tasks, and knowledge work with configurable reasoning.

Model Information

Context and output sizes describe the model specification. Effective request limits, availability, and billing depend on the MixRoute route.

Capabilities and Usage

  • Accepts text and images and produces text; supports function calling and structured output.
  • reasoning.effort supports low, medium, high, and xhigh; the default is high.
  • In multi-turn Responses requests, preserve returned reasoning items unchanged. Hosted search and other server-side tools depend on the selected route.

Request Example

Set MIXROUTE_API_KEY before making the request.

Request Fields

Complete request format: responses-openai.