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 Keyazure_ai/Phi-4-reasoning
ProviderAzure AI
LiteLLM Providerazure_ai
ModeText
Canonical Namephi-4
Context Window33K tokens
Max Output4K tokens

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Pricing

TypePer 1K TokensPer 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 AIazure_ai/Phi-4$0.125$0.500
Deepinfradeepinfra/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
Codegeex4OllamaTextN/AN/A33K8Knono
DeepSeek Coder V2 InstructOllamaTextN/AN/A33K8Knoyes
DeepSeek Coder V2 Lite InstructOllamaTextN/AN/A33K8Knoyes
Internlm2 5 20B ChatOllamaTextN/AN/A33K8Knoyes
Mistral 7B Instruct V0.2OllamaTextN/AN/A33K33Knoyes
Mixtral 8x7B Instruct V0.1OllamaTextN/AN/A33K33Knoyes
Olmo 3 32B ThinkPublicaiTextN/AN/A33K4Knoyes
Olmo 3 7B InstructPublicaiTextN/AN/A33K4Knoyes
Olmo 3 7B ThinkPublicaiTextN/AN/A33K4Knoyes
Qwen SEA LION V4 32B ITPublicaiTextN/AN/A33K4Knoyes