> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok 4.7

> xAI model for coding, agentic tasks, and knowledge work with configurable reasoning.

xAI model for coding, agentic tasks, and knowledge work with configurable reasoning.

## Model Information

| Field      | Description        |
| ---------- | ------------------ |
| `model`    | grok-4.7           |
| `context`  | 500,000 tokens     |
| `endpoint` | POST /v1/responses |

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.

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/responses" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "grok-4.7",
  "input": "Explain the tradeoffs of database indexes.",
  "reasoning": {
    "effort": "low"
  },
  "max_output_tokens": 1024,
  "store": false
}'
```

## Request Fields

| Field               | Description                                                        |
| ------------------- | ------------------------------------------------------------------ |
| `model`             | Required. Use the exact model ID above.                            |
| `input`             | Required input text or Responses input items.                      |
| `reasoning.effort`  | Reasoning effort, using the model-specific values described above. |
| `max_output_tokens` | Budget for generated output, including reasoning tokens.           |
| `store`             | Whether to store the response. This example disables storage.      |

Complete request format: [responses-openai](/en/api-reference/endpoint/responses-openai).
