Text
Grok
by xAI
xAI Grok models for real-time reasoning, coding, and tool-driven agent workflows.
Capabilities
- Chat
- Reasoning
- Live search
Available models
Pass any of these IDs in the model field.
| Model ID | Detail | Price |
|---|---|---|
| grok-5 | 256K context | $3.00 / 1M input tokens |
| grok-5-mini | 256K context | $0.30 / 1M input tokens |
Pricing starts at
$0.0003 / 1K tokens
Pay only for what you use. Each response returns the exact amount settled against your balance — no subscriptions, no minimums.
Quickstart
Grok · grok-5
cURL
curl https://capi.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-5",
"messages": [{"role": "user", "content": "Hello"}]
}'More LLM models
View allText
Claude
Anthropic
Claude API access for Anthropic's LLM across complex reasoning, code, analysis, and extended-context tasks.
from $0.0006 / 1K tokensView
Text
GPT
OpenAI
OpenAI's flagship reasoning and chat models through the OpenAI-compatible chat completions endpoint.
from $0.0005 / 1K tokensView
Text
Gemini
Gemini API access for Google's multimodal LLM across chat, code generation, reasoning, and long-context tasks.
from $0.0003 / 1K tokensView