Compare Phi 4 from Microsoft and Qwen3.7 Max from Qwen on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.


Phi 4 and Qwen3.7 Max are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Phi 4, from Microsoft, has a 16,384-token context window and is priced at $0.07/M tokens input, $0.14/M tokens output on OpenRouter.
Qwen3.7 Max, from Qwen, has a 1,000,000-token context window and is priced at $1.475/M tokens input, $4.425/M tokens output on OpenRouter.
| Attribute | Phi 4 | Qwen3.7 Max |
|---|---|---|
| Input price | $0.07/M tokens | $1.475/M tokens |
| Output price | $0.14/M tokens | $4.425/M tokens |
| Context window | 16,384 tokens | 1,000,000 tokens |
| Intelligence Index | 5.9 | 29.5 |
| Coding Index | Not available | 66.0 |
| Agentic Index | Not available | 22.5 |
| Latency (p50) | 0.26 s | 1.17 s |
| Throughput (p50) | 74.0 tok/s | 71.0 tok/s |
Benchmark data updated
Phi 4 is cheaper than Qwen3.7 Max on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Qwen3.7 Max costs $1.475/M tokens input and $4.425/M tokens output.
Qwen3.7 Max has the longer context window at 1,000,000 tokens, compared with 16,384 tokens for Phi 4.
Phi 4 is faster on OpenRouter, generating a median 74.0 tokens per second compared with 71.0 tokens per second for Qwen3.7 Max.