AI model comparison
GPT-5.4 Nano vs Qwen3.7 Max
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
OpenAI
GPT-5.4 Nano- Context tokens
- 400K
- Input / 1M
- $0.20
- Output / 1M
- $1.25
Qwen
Qwen3.7 Max- Context tokens
- 1M
- Input / 1M
- $1.475
- Output / 1M
- $4.425
Percent score · Result source · Test method
The trade-offs
Start with the differences that affect how this model fits your workload.
- Benchmark results
- GPT-5.4 Nano and Qwen3.7 Max scored 67.391% and 69.565%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
- Token cost
- For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.5125 for GPT-5.4 Nano and $2.5813 for Qwen3.7 Max.
- Context window
- Qwen3.7 Max lists 1,000,000 tokens of context. GPT-5.4 Nano lists 400,000 tokens. Reserve space for the output before routing long inputs.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
Source Result source · Test method
Code Completion
Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Code Generation
Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Javascript
Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Python
Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Typescript
Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Amps Hard
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Connections
Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Consecutive Events
Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Show 15 more shared results
Integrals With Game
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Logic With Navigation
Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Math Comp
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Olympiad
Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Paraphrase
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Plot Unscrambling
Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Simplify
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Spatial
Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Story Generation
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Summarize
IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Tablejoin
Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Tablereformat
Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Theory Of Mind
Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Typos
Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Zebra Puzzle
Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method
Test configurations
- GPT-5.4 Nano
- gpt-5.4-nano-xhigh
- Qwen3.7 Max
- qwen3.7-max
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | GPT-5.4 Nano | Qwen3.7 Max |
|---|---|---|
| Uncached input | $0.20 | $1.475 |
| Output | $1.25 | $4.425 |
| Cache read | $0.02 | $0.295 |
| Cache write | Unavailable | $1.8438 |
Rates are a catalog snapshot. OpenRouter Models API
Estimate your workload
Enter total token counts. The estimate uses uncached input and output rates.
GPT-5.4 Nano costs $2.0687 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | GPT-5.4 Nano | Qwen3.7 Max |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | openai/gpt-5.4-nano | qwen/qwen3.7-max |
| Provider | OpenAI | Qwen |
| Context window | 400,000 tokens | 1,000,000 tokens |
| Max output | 128,000 tokens | 131,072 tokens |
| Input modalities | File, Image, Text | Text |
| Output modalities | Text | Text |
| Reasoning controls | Listed | Listed |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Mar 17, 2026 | May 21, 2026 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
GPT-5.4 Nano
Listed in the public Router catalog.
gpt-5.4-nanoQwen3.7 Max
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- GPT-5.4 Nano catalog entry
- Qwen3.7 Max catalog entry