Back to all models

xAI

grok-4-1-thinking-1129

Vendor

xAI

Category

Large Language Model API

Pricing

Input price / 1M tokens

$2.00

Output price / 1M tokens

$10.00

Supported endpoints

openaiopenai-response

Quick start

OpenAI-compatible — just change base_url to treeRouter to use this model:

curl https://treerouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TREEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4-1-thinking-1129",
    "messages": [{"role": "user", "content": "Hello"}]
  }'