Models / xAI
Grok 4.6 API
Call Grok 4.6 (xAI) with one OpenAI- and Anthropic-compatible API key. $0.0202 per 1M input tokens, $0.0605 per 1M output, 500K context. Top up in Rupiah via QRIS.
| Model id | grok-4.6 |
|---|---|
| Provider | xAI |
| Input | $0.0202 per 1M tokens |
| Output | $0.0605 per 1M tokens |
| Cache read | $0.0126 per 1M tokens |
| Context window | 500000 tokens |
| Max output | 500000 tokens |
| Capabilities | chat, tools, vision |
Quick start
curl https://moyra.ai.id/v1/chat/completions \
-H "Authorization: Bearer $MOYRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4.6", "messages": [{"role": "user", "content": "Hello"}]}'Get an API key · Compare all models