xAI · Model
Grok 4.6 API
Grok 4.6 answers at api.apmix.ai under the id below — one key and one monthly plan, on the OpenAI and Anthropic wire formats your tools already speak. No separate xAI account, no per-provider bill.
Model id
xai/grok-4.6StarterProMaxAt a glance
- Provider
- xAI
- Included in
- Starter, Pro, Max — from $4.99/month
- Weighted-token cost
- 0.5× — a 1,000-token exchange costs 500 weighted tokens
- Context window
- 500K tokens
- Free trial
- Paid plans only — the free models are the place to start
Call Grok 4.6
Set the model to grok-4.6 in any OpenAI- or Anthropic-compatible client. Both base URLs accept the same apmix key.
OpenAI-compatible · Chat Completions
curl https://api.apmix.ai/v1/chat/completions \
-H "Authorization: Bearer apx_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4.6", "messages": [{"role": "user", "content": "Hello"}]}'Anthropic-compatible · Messages
curl https://api.apmix.ai/v1/messages \
-H "x-api-key: apx_live_YOUR_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4.6", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'Questions about Grok 4.6
- Is Grok 4.6 free on apmix?
- Not on the free trial. Grok 4.6 is included from the Starter plan ($4.99/month), which covers every model in the catalog with one monthly allowance. You can still start free on the free Claude models.
- Which plan includes Grok 4.6?
- Starter, Pro, Max. Each plan is a monthly allowance of weighted tokens shared across every model and every key; Grok 4.6 counts at 0.5× per token.
- How do I use Grok 4.6 in Claude Code, Codex CLI or Cursor?
- Point the tool at apmix — https://api.apmix.ai/v1 for OpenAI-compatible clients, https://api.apmix.ai for Anthropic-compatible ones — with your apmix key, and set the model to grok-4.6. The Docs page has copy-paste setup for each tool.

