Назад к моделям
Grok 4.6
xaixai/grok-4.6
Чем обслуживание в TheRouter отличается от вендорского
Как её эксплуатирует вендор
xAI обслуживает Grok 4.6 через собственный API на api.x.ai: проприетарные эндпоинты, нативный контроль reasoning-effort (low / medium / high / xhigh) и собственный биллинг.
На TheRouter
TheRouter предоставляет xai/grok-4.6 через единый OpenAI-compatible эндпоинт /v1/chat/completions. Параметр reasoning передаётся без изменений. Цены, регионы и поддерживаемые параметры берутся из live каталога TheRouter, а не из vendor card.
Гид по API
Chat completion
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"xai/grok-4.6","messages":[{"role":"user","content":"Hello"}]}'Vision (ввод изображения)
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai/grok-4.6",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "What is in this image?"},
{"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
]
}]
}'Вызов функций
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai/grok-4.6",
"messages": [{"role": "user", "content": "What is the weather in San Francisco?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {"location": {"type": "string"}},
"required": ["location"]
}
}
}],
"tool_choice": "auto"
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата релиза | — | — | неизвестно |
| Контекстное окно | docs.x.ai ↗ | 2026-08-18 | проверено |
| Макс. токенов вывода | docs.x.ai ↗ | 2026-08-18 | проверено |
| Модальности ввода | docs.x.ai ↗ | 2026-08-18 | проверено |
| Дата отсечения данных | — | — | неизвестно |
| Лицензия | — | — | проверено |
| MMLU | x.ai ↗ | 2026-08-18 | неизвестно |
| MATH-500 | x.ai ↗ | 2026-08-18 | неизвестно |
| SWE-bench Verified | x.ai ↗ | 2026-08-18 | неизвестно |