Phi-4
azure_ai · chat model
Phi-4 is listed here as a chat model from azure_ai. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$0.1250 / 1M tokens
Output
$0.5000 / 1M tokens
Cached input
N/A
Context
16.4K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $0.1250 / 1M tokens |
| Output | $0.5000 / 1M tokens |
| Embedding | $0.1250 / 1M tokens |
Token limits
Context window
16.4K
Max input tokens
16.4K
Max output tokens
16.4K
Max tokens
16.4K
Capabilities
| Capability | Supported |
|---|---|
| Vision | — |
| Function calling | ✅ |
| Parallel function calling | — |
| Tool choice | ✅ |
| Prompt caching | — |
| Reasoning | — |
| Response schema | — |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| MMLU | 84.8 | Popular Aggregated Benchmark | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| GPQA | 56.1 | Science | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| HumanEval | 82.6 | Code Generation | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| DROP | 75.5 | Reasoning | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| MMLU | 84.8 | Popular Aggregated Benchmark | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| GPQA | 56.1 | Science | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| HumanEval | 82.6 | Code Generation | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| SimpleQA | 3.0 | Factual Knowledge | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
| DROP | 75.5 | Reasoning | Base model: Phi-4 (phi-4 (14B)) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| Phi-4 azure_ai | In $0.1250 / 1M tokens Out $0.5000 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| qwen-3-32b vercel_ai_gateway | In $0.1000 / 1M tokens Out $0.3000 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Text covered Overall 94% |
| Qwen2.5-72B-Instruct deepinfra | In $0.1200 / 1M tokens Out $0.3900 / 1M tokens | text
Output: text | Function callingTool choice | 32.8K | Text covered Overall 90% |
| phi-4 deepinfra | In $0.0700 / 1M tokens Out $0.1400 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Text covered Overall 88% |
| Qwen3-235B-A22B deepinfra | In $0.1800 / 1M tokens Out $0.5400 / 1M tokens | text
Output: text | Function callingTool choice | 41.0K | Text covered Overall 87% |
| command-r vercel_ai_gateway | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 85% |
| kimi-k2 vercel_ai_gateway | In $0.5500 / 1M tokens Out $2.2000 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Text covered Overall 85% |
| Llama-3.3-70B-Instruct-Turbo deepinfra | In $0.1300 / 1M tokens Out $0.3900 / 1M tokens | text
Output: text | Function callingTool choice | 131.1K | Text covered Overall 84% |
| Phi-4-reasoning azure_ai | In $0.1250 / 1M tokens Out $0.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 80% |
| Llama-3.3-70B-Instruct azure_ai | In $0.7100 / 1M tokens Out $0.7100 / 1M tokens | text
Output: text | Function callingTool choice | 2.0K | Same provider Overall 76% |
| Phi-3-mini-128k-instruct azure_ai | In $0.1300 / 1M tokens Out $0.5200 / 1M tokens | text
Output: text | Tool choice | 4.1K | Same provider Overall 75% |
| Phi-3-mini-4k-instruct azure_ai | In $0.1300 / 1M tokens Out $0.5200 / 1M tokens | text
Output: text | Tool choice | 4.1K | Same provider Overall 75% |
| Phi-3.5-mini-instruct azure_ai | In $0.1300 / 1M tokens Out $0.5200 / 1M tokens | text
Output: text | Tool choice | 4.1K | Same provider Overall 75% |
| mistral-small azure_ai | In $1.0000 / 1M tokens Out $3.0000 / 1M tokens | text
Output: text | Function callingTool choice | 8.2K | Same provider Overall 75% |
| deepseek-v3-0324 azure_ai | In $1.1400 / 1M tokens Out $4.5600 / 1M tokens | text
Output: text | Function callingTool choice | 8.2K | Same provider Overall 75% |
| gpt-3.5-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 75% |
| gpt-35-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 75% |
| devstral-2512 OpenRouter | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | text file
Output: text | Function callingTool choice | 65.5K | Text covered Overall 73% |
| gpt-35-turbo-16k-0613 Azure | In $3.0000 / 1M tokens Out $4.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 71% |
| Llama-4-Maverick-17B-128E-Instruct-FP8 deepinfra | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | text image
Output: text | Function callingTool choice | 1.0M | Text covered Overall 70% |
| gpt-4-0613 Azure | In $30.0000 / 1M tokens Out $60.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 69% |
| Phi-3.5-vision-instruct azure_ai | In $0.1300 / 1M tokens Out $0.5200 / 1M tokens | text image
Output: text | Tool choice | 4.1K | Same provider Overall 59% |
| gpt-oss-120b baseten | In $0.1000 / 1M tokens Out $0.5000 / 1M tokens | text
Output: unknown | Low overlap | N/A | Partial I/O overlap Overall 18% Missing text |
No models match this filter.