Qwen4 Max API on Run BiOS
Built by Qwen and available through one OpenAI-compatible Run BiOS API, with serverless per-token pricing, 1M context, vision, tool calling and reasoning.
qwen/qwen4-max
Top up $20 and we add 50%. That gives you about 7.1M input tokens extra on this model, on us.
Create an accountPricing
USD per 1M tokens| Input | $1.41 |
| Output | $4.24 |
| Cached input | $0.0795% below fresh input |
Billed per token with no minimum and no monthly fee. Price your workload
Capabilities and limits
- Context window
- 1M tokens
- Max output
- 384K tokens
- Modality
- multimodal
- Tool calling
- Supported
- Vision
- Supported
- Reasoning
- Always on
- Reasoning effort
- low, medium, high (default: medium)
- Prompt caching
- Supported (automatic)
Measured performance
7d- Time to first token (p50)
- 3.0 s
- Time to first token (p95)
- 6.0 s
- Throughput (avg)
- 105.5 tok/s
- Throughput (p50)
- 100.0 tok/s
Measured on real Run BiOS traffic over the trailing 7d. Your figures will vary with prompt shape and region.
curl https://api.runbios.ai/v1/chat/completions \
-H "Authorization: Bearer $BIOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen4-max",
"messages": [{ "role": "user", "content": "Hello" }]
}'Existing OpenAI SDK code works by changing the base URL and the key. API overview
Model card
Curated by Run BiOS · benchmark figures, where present, are the card’s own, not our measurements
Qwen4-Max is Qwen’s flagship multimodal model for long-running software, research and professional workflows.
Architecture
It uses a mixture-of-experts architecture with roughly 2.4 trillion total parameters and 71 billion active per token. The model accepts text, image and video inputs and generates text. The model has a one-million-token context window. Native visual understanding supports work with charts, documents, interface layouts and long video inputs. The model pairs Gated DeltaNet with Qwen Sparse Attention. Its gated residual paths regulate how information moves through layers, and N-gram embeddings represent local token patterns.
Capabilities
Qwen designed the model for professional tool use, long projects, frontend development and producing documents and other structured deliverables. It can use visual feedback when planning, executing and checking a multi-step task.
Evaluations
Qwen evaluated the model across software engineering, autonomous workflows, professional work and visual reasoning.
| Evaluation | Reported result |
|---|---|
| DeepSWE v1.1 | 75.7 |
| Terminal-Bench 4.0 | 48.5 |
| ProgramBench | 31.5 |
| Agents’ Last Exam v1.1 | 46.7 |
| Artificial Analysis Intelligence Index | 43 |
| Code Arena Web Development | 1,750 Elo, preliminary at release |
| Work360 | 52.69 |
Work360 is Qwen’s internal evaluation of professional work across 721 specialized fields. In its high-effort comparison, the model used 35% fewer tokens than Qwen’s previous flagship. The evaluations reflect their respective task, tool and reasoning settings.