xAI
grok-4.6 API
Call grok-4.6 by xAI through one OpenAI-compatible API. Keep your SDK, change the base URL, and pay per token from your Yeap balance.
xAI's frontier model for long-running agents, coding, knowledge work, and visual projects
New LLM API accounts get $5 of free credit.
Quick start
Call grok-4.6 in a few lines
Use any OpenAI SDK or plain HTTP. Point the base URL at Yeap Cloud and set the model name.
curl https://llm.yeap.cloud/v1/chat/completions \
-H "Authorization: Bearer $YEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.6",
"messages": [{"role": "user", "content": "Hello"}]
}'grok-4.6 variants
Same model with a different reasoning effort, mode or snapshot. Use the exact name in the model field.
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
grok-4.6-high | $2 | $6 |
grok-4.6-xhigh | $2 | $6 |