Phi-4
$0.375
estimated usage cost
1,000 requests × (1,000 uncached input × $0.125 + 500 output × $0.50) / 1,000,000 = $0.375
base rates; no context pricing tiers are published.
Text generation / Microsoft
Phi-4 is a text generation model from Microsoft, available through the Impossibl API. Its published context window is 16,000 tokens. The advertised input rate is $0.125 per million input tokens. The advertised output rate is $0.50 per million output tokens.
api id: microsoft/phi-4
published base api rates · usd per 1m tokens
rates are published by the impossibl api. balance-purchase fees, taxes, tool charges, and workspace-specific pricing are separate.
unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports.
estimate text token usage for your workload. all amounts are in usd.
$0.375
estimated usage cost
1,000 requests × (1,000 uncached input × $0.125 + 500 output × $0.50) / 1,000,000 = $0.375
base rates; no context pricing tiers are published.
estimates use published impossibl api usage rates. configured billing adjustments, funding fees, taxes, and custom workspace rates are excluded and may change the final amount.
image and audio usage, cache creation, and additional tool charges are excluded. reasoning tokens count as billable output, even when they are not visible in the response.
Results from Artificial Analysis. Each configuration is listed separately. These evaluations describe the tested model configuration; performance and costs can differ on Impossibl. Last checked 2026-09-11.
| Benchmark | Score |
|---|---|
| Intelligence Index | 5.92 |
| Omniscience Index | -55.70 |
| GPQA | 57.47% |
| Humanity’s Last Exam | 3.76% |
| CritPt | 0.00% |
| Terminal-Bench Hard | 3.79% |
| AA-LCR | 0.00% |
| IFBench | 23.54% |
| Tau2 | 0.00% |
| LiveCodeBench | 23.07% |
| AIME 2025 | 18.00% |
| intelligence index (API) | 5.9 |
Unmeasured scores are omitted. API values retain their source units.
view source ↗Phi-4 is a text-generation model from Microsoft, available through the Impossibl API.
Phi-4 costs $0.125 per million input tokens and $0.50 per million output tokens through the Impossibl API. All rates are in USD.
Phi-4 has a 16,000-token context window through the Impossibl API.
No. Phi-4 does not support tool calling through the Impossibl API.
Phi-4 accepts text as input. Phi-4 returns text.
Phi-4 is available through the Impossibl API. Use microsoft/phi-4 as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.
Microsoft released Phi-4 on December 12, 2024.
this page describes Phi-4 as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes.
model descriptions and release dates, where available, use the creator sources linked in the faq. api prices and limits use the impossibl catalog. benchmark results, where available, are credited to Artificial Analysis in the benchmarks section. report a correction →