Phi-4
Phi-4 is an open-weights model from Microsoft with a 16k-token context window. 2 providers list it; as of 25 Oct 2026, the cheapest listing (DeepInfra) charges $0.07 per million input tokens and $0.14 per million output tokens.
Providers serving Phi-4
DeepInfra charges $0.07 in · $0.14 out; Microsoft Azure charges $0.12 in · $0.50 out. Cheapest first, by the blended rate of three input tokens to one output token. Prices in US dollars per million tokens, checked 25 Oct 2026; the source link opens where the price is published.
How each provider handles your prompts
For each provider's paid API, from its own pages, checked 26 Oct 2026. Where a promise lives matters: a signed agreement binds the provider, while a docs page can change without notice. Not legal advice.
| Provider | Trains on your prompts | Keeps prompts | Zero retention | Data processing agreement |
|---|---|---|---|---|
| DeepInfra Google and Anthropic models served via DeepInfra follow those companies' own training and logging terms, not DeepInfra's zero-retention promise. Google and Anthropic models served via DeepInfra follow those companies' own training and logging terms, not DeepInfra's zero-retention promise.MoreLess | No | Not kept past the request (held in memory only); batch jobs and image outputs kept briefly per feature docs | Yes, by default | Public |
Microsoft AzureApproved 'modified abuse monitoring' turns off the storage and human review; stateful features (Responses API, stored completions, Assistants threads) keep history as you configure them.MoreLess | No | Prompts and outputs flagged by abuse monitoring may be stored for human review; no retention period stated | Enterprise plans only | Public |
Phi-4 benchmark scores
Compare every model in Bench rankingsPublished scores only, each linked to its source. Ticks are every other model's best published score.
GPQA Diamond
PhD-level scientific reasoning, pass@1, no tools
57.5%, source: Artificial AnalysisRanks 170th of 221 models with a score
Humanity's Last Exam (text-only)
Reasoning & knowledge, no tools
3.8%, source: Artificial AnalysisJoint 209th of 221 models with a score
τ²-Bench Telecom
Agentic tool use (telecom), with a Qwen3 model as the simulated user
0%, source: Artificial AnalysisJoint 155th of 160 models with a score
LiveCodeBench
Competitive programming, Artificial Analysis's problem set (dates not published)
23.1%, source: Artificial AnalysisRanks 65th of 82 models with a score
IFBench
Instruction following, 294 prompts, 5 runs each
23.5%, source: Artificial AnalysisRanks 149th of 158 models with a score
Terminal-Bench Hard
Agentic coding & terminal use, Artificial Analysis's 44-task hard subset
3.8%, source: Artificial AnalysisJoint 107th of 157 models with a score
LCR
Long-context reasoning, AA-LCR v1.1
0%, source: Artificial AnalysisJoint 190th of 211 models with a score
Omni Accuracy
Omniscience knowledge accuracy
14.1%, source: Artificial AnalysisRanks 167th of 216 models with a score
Non-Hallucination
1 − hallucination rate
18.8%, source: Artificial AnalysisJoint 118th of 216 models with a score
Show as table
| Benchmark | Score |
|---|---|
GPQA Diamond PhD-level scientific reasoning, pass@1, no tools | 57.5%, source: Artificial Analysis |
Humanity's Last Exam (text-only) Reasoning & knowledge, no tools | 3.8%, source: Artificial Analysis |
τ²-Bench Telecom Agentic tool use (telecom), with a Qwen3 model as the simulated user | 0%, source: Artificial Analysis |
LiveCodeBench Competitive programming, Artificial Analysis's problem set (dates not published) | 23.1%, source: Artificial Analysis |
IFBench Instruction following, 294 prompts, 5 runs each | 23.5%, source: Artificial Analysis |
Terminal-Bench Hard Agentic coding & terminal use, Artificial Analysis's 44-task hard subset | 3.8%, source: Artificial Analysis |
LCR Long-context reasoning, AA-LCR v1.1 | 0%, source: Artificial Analysis |
Omni Accuracy Omniscience knowledge accuracy | 14.1%, source: Artificial Analysis |
Non-Hallucination 1 − hallucination rate | 18.8%, source: Artificial Analysis |