Qwen 4 Max Preview API
Call Qwen 4 Max Preview through Wokey and review published catalog pricing, upstream-native API forms, context, and model capabilities.
- Model ID
qwen4-max-preview- Vendors
- qwen
- Supply status
- Currently callable
Catalog pricing snapshot
Prices are per 1M tokens; request-time pricing controls settlement.
| Meter | Wokey | Official reference | Savings |
|---|---|---|---|
| Input | $0.5175 | $1.725 | 70% |
| Output | $1.5525 | $5.175 | 70% |
| Cache read | $0.1035 | $0.345 | 70% |
| Cache write | — | — | — |
Official price source: https://help.aliyun.com/zh/model-studio/qwen4-max-preview
Model capabilities
- Context
- 1,000,000 tokens
- Max output
- 393,216 tokens
- Streaming
- Supported
- Tools
- Supported
- Vision
- Supported
- Supported API forms
/v1/chat/completions
Send a request
/v1/chat/completions
curl https://api.wokey.ai/v1/chat/completions \
-H "Authorization: Bearer $WOKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen4-max-preview","messages":[{"role":"user","content":"Hello"}]}'Use Qwen 4 Max Preview in your tools
The gateway is https://api.wokey.ai (OpenAI-compatible clients usually take https://api.wokey.ai/v1), and the model ID is qwen4-max-preview. Open the guide for the client you use.
- Use Qwen 4 Max Preview in opencode: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in DeepSeek Harness: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in Cherry Studio: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in WorkBuddy: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in OpenClaw: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in Hermes Agent: OpenAI Chat Completions · base URL and API key setup
- Use Qwen 4 Max Preview in Magpie: OpenAI Chat Completions · base URL and API key setup
- OpenRouter alternative: Wokey vs OpenRouter: Compare token prices, payment fees, API forms, and upstream sources.
- Verifiable AI API: which models and API forms carry response proofs: Response proofs currently cover only raw passthrough Claude Messages and GPT Responses on official routes.
Frequently asked questions
How much does the Qwen 4 Max Preview API cost, and how much does it save versus the official API?
Wokey lists input at $0.5175 per 1M tokens and output at $1.5525 per 1M tokens; the official references are $1.725 and $5.175. That is 70% lower for input and 70% lower for output. Request-time pricing controls settlement, and the vendor pricing source is linked on this page.
What is the Qwen 4 Max Preview API model ID?
The model ID for Qwen 4 Max Preview on Wokey is qwen4-max-preview. Use it exactly as written in the request body's model field or in your client's model setting (for example ANTHROPIC_MODEL in Claude Code, or model in the Codex CLI config.toml); GET https://api.wokey.ai/v1/models also lists it.
Which API forms does Qwen 4 Max Preview support, and how do I call it through Wokey?
Qwen 4 Max Preview supports /v1/chat/completions (Chat Completions requests). Set the API base URL to https://api.wokey.ai, authenticate with a Wokey API key, and use the canonical model ID qwen4-max-preview; you can start with /v1/chat/completions. The Send a request section includes a curl example for every supported API form.
How do I use Qwen 4 Max Preview in opencode, Hermes Agent, and similar clients?
These clients call Qwen 4 Max Preview over OpenAI Chat Completions: point the API address at https://api.wokey.ai (clients that expect an OpenAI SDK-style address take https://api.wokey.ai/v1), add your Wokey API key, and use the model ID qwen4-max-preview. Each client's guide shows its config format.
What are the context window and maximum output for Qwen 4 Max Preview?
The catalog context window is 1,000,000 tokens and the maximum output is 393,216 tokens. These are separate limits, and a request must also satisfy the upstream constraints in effect when it is processed.
How are cache reads and cache writes priced for Qwen 4 Max Preview?
Cache read: Wokey lists $0.1035 per 1M tokens and the official reference is $0.345 per 1M tokens. Cache write: the vendor does not publish a separate meter, so Wokey also shows — as the public price.
How does calling Qwen 4 Max Preview through Wokey differ from OpenRouter?
Wokey lists Qwen 4 Max Preview at $0.5175 input / $1.5525 output per 1M tokens, against an official reference of $1.725 / $5.175. OpenRouter states it adds no markup on inference and charges its fee when you buy credits (5.5% by card). Wokey carries a curated set of models and has no per-provider routing parameters, so OpenRouter fits better if you need a wider catalog. The OpenRouter alternative page has the full comparison.
How do Qwen 4 Max Preview and Qwen 3.8 Max differ in price and context?
In the published price comparison, Qwen 4 Max Preview lists input/output at $0.5175 / $1.5525 with a 1,000,000-token context window; Qwen 3.8 Max lists $0.5175 / $1.5525 with a 1,000,000-token context window. This is a factual price-and-capacity comparison, not a quality ranking; also compare their supported API forms and capabilities.
Related models and documentation
Get API key · qwen4-max-preview