Phi 4 Reasoning
Azure AIText
Phi 4 Reasoning is a text model from Azure AI with a context window of 33K tokens and max output of 4K tokens. Pricing starts at $0.13 per million input tokens and $0.50 per million output tokens (cheapest at Deepinfra).
Specifications
| Model Key | azure_ai/Phi-4-reasoning |
| Provider | Azure AI |
| LiteLLM Provider | azure_ai |
| Mode | Text |
| Canonical Name | phi-4 |
| Context Window | 33K tokens |
| Max Output | 4K tokens |
Capabilities
✗ Vision✓ Function Calling✓ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.000125 | $0.125 |
| Output Tokens | $0.000500 | $0.500 |
Price Comparison by Provider
Compare prices for Phi 4 Reasoning across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Azure AI | azure_ai/Phi-4 | $0.125 | $0.500 |
| Deepinfra | deepinfra/microsoft/phi-4 | $0.070 | $0.140 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Codegeex4 | Ollama | Text | N/A | N/A | 33K | 8K | no | no |
| DeepSeek Coder V2 Instruct | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| DeepSeek Coder V2 Lite Instruct | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| Internlm2 5 20B Chat | Ollama | Text | N/A | N/A | 33K | 8K | no | yes |
| Mistral 7B Instruct V0.2 | Ollama | Text | N/A | N/A | 33K | 33K | no | yes |
| Mixtral 8x7B Instruct V0.1 | Ollama | Text | N/A | N/A | 33K | 33K | no | yes |
| Olmo 3 32B Think | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Olmo 3 7B Instruct | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Olmo 3 7B Think | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |
| Qwen SEA LION V4 32B IT | Publicai | Text | N/A | N/A | 33K | 4K | no | yes |