Grok API pricing & models
WandAPI serves 8 xAI models: Grok Build 0.1, Grok 4.20 Multi-Agent Beta, Grok 4.20 (Non-Reasoning), Grok 4.20, Grok 4.3, Grok 4.5, Grok 4.6, Grok 4.7. Input costs 1–2 Credits / M tokens (1 Credit = ¥1), up to 85% below list price. Compatible with OpenAI Responses; one API key for all of them, pay as you go.
xAI model pricing
WandAPI default channel price in Credits (1 Credit = ¥1); struck-through is the list price. Click a model for full pricing, protocols and uptime.
| Model | Context · output | Input / M | Output / M | 7-day uptime |
|---|---|---|---|---|
| Grok Build 0.1grok-build-0.1 | 256K | — | ||
| Grok 4.20 Multi-Agent Betagrok-4.20-multi-agent-0309 | 1M | — | ||
| Grok 4.20 (Non-Reasoning)grok-4.20-non-reasoning | 1M | — | ||
| Grok 4.20grok-4.20-reasoning | 1M | — | ||
| Grok 4.3grok-4.3 | 1M · 128K | — | ||
| Grok 4.5grok-4.5 | 500K | — | ||
| Grok 4.6grok-4.6 | 500K | — | ||
| Grok 4.7grok-4.7 | 500K | — |
Input (prompt) / Output (completion) are per 1M tokens; image and video models show their primary unit price. Uptime comes from WandAPI probes; a dash means not probed yet.
How to call xAI models
Samples use Grok Build 0.1; change the model field to call any other model from this vendor.
Projects already on the OpenAI SDK need no code changes: point base_url at https://api.wandapi.com/v1 — streaming, tool calls and usage are all mapped.
curl https://api.wandapi.com/v1/responses \
-H "Authorization: Bearer $WANDAPI_KEY" \
-H "content-type: application/json" \
-d '{
"model": "grok-build-0.1",
"input": "Explain prompt caching in one sentence",
"max_output_tokens": 1024
}'xAI model capabilities
Exactly as flagged in the catalog.
| Capability | Grok Build 0.1 | Grok 4.20 Multi-Agent Beta | Grok 4.20 (Non-Reasoning) | Grok 4.20 | Grok 4.3 | Grok 4.5 | Grok 4.6 | Grok 4.7 |
|---|---|---|---|---|---|---|---|---|
| Vision | ||||||||
| Function Calling | ||||||||
| Reasoning | ||||||||
| Prompt Caching | ||||||||
| Response Schema | ||||||||
| Audio | ||||||||
| Video | ||||||||
| File Input | ||||||||
| Streaming | ||||||||
| Web Search | ||||||||
| Realtime | ||||||||
| Session | ||||||||
| Media | ||||||||
| Multipart Form | ||||||||
| Binary Response |
Compare xAI models
Pricing, context, capabilities and uptime side by side.
FAQ
How much does the Grok API cost on WandAPI?
xAI models cost 1–2 Credits / M input tokens, with 1 Credit = ¥1; the cheapest is Grok Build 0.1. That is up to 85% below list price — see the table above.
How do I call Grok models on WandAPI with the official SDK?
Point the base URL at https://api.wandapi.com and use a WandAPI key. OpenAI Responses are supported and request bodies are identical to the official API.
Which Grok model has the largest context window?
Grok 4.20 Multi-Agent Beta, with 1M tokens. Context and max output for every model are in the pricing table above.
Can I pay for the Grok API with Alipay?
Yes. WandAPI accepts Alipay top-ups; 1 Credit = ¥1, billed per use with no monthly fee or minimum.
One API key for every xAI model
Free credits on sign-up, pay as you go, no monthly fee.