xAI: Grok 4
xai/grok-4-0709Created N/A|256K context context|Starting at $3/M input tokens|Starting at $15/M output tokens
[Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world use cases like customer support and deep research. 2M context window. Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. Learn more in our docs]
Providers for Grok 4
Routes requests to the best providers that are able to handle your prompt size and parameters.
| Provider | Context Window | Max Output | Input Price | Output Price | Cache Read | Cache Write |
|---|---|---|---|---|---|---|
X.AI | 256K | 65K | $3 | $15 | $0 | $0.75 |