Compare Phi 4 from Microsoft and Mistral Medium 3.5 from Mistral AI 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 Mistral Medium 3.5 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.
Mistral Medium 3.5, from Mistral AI, has a 262,144-token context window and is priced at $1.50/M tokens input, $7.50/M tokens output on OpenRouter.
| Attribute | Phi 4 | Mistral Medium 3.5 |
|---|---|---|
| Input price | $0.07/M tokens | $1.50/M tokens |
| Output price | $0.14/M tokens | $7.50/M tokens |
| Context window | 16,384 tokens | 262,144 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 2.76 s | 0.63 s |
| Throughput (p50) | 48.0 tok/s | 108.0 tok/s |
Phi 4 is cheaper than Mistral Medium 3.5 on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Mistral Medium 3.5 costs $1.50/M tokens input and $7.50/M tokens output.
Mistral Medium 3.5 has the longer context window at 262,144 tokens, compared with 16,384 tokens for Phi 4.
Mistral Medium 3.5 is faster on OpenRouter, generating a median 108.0 tokens per second compared with 48.0 tokens per second for Phi 4.