Compare Phi 4 Mini Instruct from Microsoft and Mistral Small 4 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 Mini Instruct and Mistral Small 4 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Phi 4 Mini Instruct, from Microsoft, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.
Mistral Small 4, from Mistral AI, has a 262,144-token context window and is priced at $0.15/M tokens input, $0.60/M tokens output on OpenRouter.
| Attribute | Phi 4 Mini Instruct | Mistral Small 4 |
|---|---|---|
| Input price | Pricing varies by provider | $0.15/M tokens |
| Output price | Pricing varies by provider | $0.60/M tokens |
| Context window | 131,072 tokens | 262,144 tokens |
| Intelligence Index | 6.3 | 9.0 |
| Coding Index | 3.8 | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | Not available | 0.45 s |
| Throughput (p50) | Not available | 168.0 tok/s |
Benchmark data updated
Mistral Small 4 has the longer context window at 262,144 tokens, compared with 131,072 tokens for Phi 4 Mini Instruct.