grok-4.6 through MixRoute using the endpoint shown below.
Key capabilities
- 500K context window - Handles large repositories and long-running tasks
- Multimodal input - Accepts text and image input
- Agentic reasoning - Supports configurable reasoning and function calling
- Structured output - Produces schema-constrained responses
- OpenAI-compatible - MixRoute supports both Chat Completions and Responses
The examples below use Chat Completions. MixRoute also exposes this model through the OpenAI-compatible Responses endpoint.
Quick example
- cURL
- Python
- Streaming