Phi 4 pricing
$0.07 per 1M input tokens and $0.14 per 1M output tokens. In real work that is 0.02¢ per chat answer and 0.13¢ to summarize a 20-page PDF.
What Phi 4 costs per task
Token counts estimated from a measured model of the same lab (Qwen3.8 Flash), rescaled by tokenizer. Reasoning tokens are billed as output.
| Task | Cost | Tokens used | Price rank | Basis |
|---|---|---|---|---|
| Answer a chat question | 0.02¢$0.23 / 1,000 | 87 in · 683 out · 909 reasoning | 19 of 336 | estimated |
| Reply to a customer email | 0.01¢$0.12 / 1,000 | 323 in · 97 out · 587 reasoning | 31 of 336 | estimated |
| Write a 1,500-word blog post | ≥0.22¢$2.25 / 1,000 | 103 in · 0 out · 16,000 reasoning | 65 of 336 | estimated |
| Write 10 product descriptions | ≥0.23¢$2.26 / 1,000 | 342 in · 0 out · 16,000 reasoning | 83 of 336 | estimated |
| Translate 1,000 words | 0.03¢$0.28 / 1,000 | 1,375 in · 1,156 out · 136 reasoning | 15 of 336 | estimated |
| Proofread one page (500 words) | 0.03¢$0.31 / 1,000 | 770 in · 665 out · 1,159 reasoning | 26 of 336 | estimated |
| Summarize a 20-page PDF | 0.13¢$1.28 / 1,000 | 13,015 in · 497 out · 2,141 reasoning | 30 of 336 | estimated |
| Extract data from an invoice | 0.03¢$0.34 / 1,000 | 497 in · 556 out · 1,617 reasoning | 29 of 336 | estimated |
| Analyze a 200-row spreadsheet | ≥0.27¢$2.68 / 1,000 | 6,306 in · 0 out · 16,000 reasoning | 31 of 336 | estimated |
| Answer from 5 retrieved documents (RAG) | 0.07¢$0.66 / 1,000 | 3,721 in · 966 out · 1,912 reasoning | 26 of 336 | estimated |
| Classify 100 support tickets | 0.13¢$1.28 / 1,000 | 1,451 in · 529 out · 7,879 reasoning | 39 of 336 | estimated |
| Review 500 lines of code | ≥0.26¢$2.58 / 1,000 | 4,835 in · 0 out · 16,000 reasoning | 28 of 336 | estimated |
| Write a SQL query | 0.04¢$0.38 / 1,000 | 175 in · 401 out · 2,225 reasoning | 30 of 336 | estimated |
| Run a 50-step coding agent | 17¢$170 / 1,000 | 2,241,975 in · 15,030 out · 80,850 reasoning | 82 of 336 | modeled |
Price at every provider
List prices per 1M tokens (input / output) at each host serving Phi 4 through OpenRouter today. Hosts can differ in quantization, context and speed.
| Provider | Input / output | Cached input | Context | Uptime |
|---|---|---|---|---|
DeepInfrabf16 | $0.056 / $0.11 | - | 16K | |
DeepInfrabf16 | $0.07 / $0.14 | - | 16K | 100% |
Price history
First seen in our price history on Jan 17, 2025 at $0.07 input / $0.14 output. Since then the output price moved from $0.14 to $0.14 per 1M tokens (5 changes).
FAQ
How much does Phi 4 cost?
Phi 4 costs $0.07 per 1 million input tokens and $0.14 per 1 million output tokens (list price on Oct 18, 2026). In practice one chat answer costs about 0.02¢ and summarizing a 20-page PDF about 0.13¢.
Where is Phi 4 cheapest?
Among 2 providers we track, the lowest list price today is at DeepInfra: $0.056 input and $0.11 output per 1M tokens.
Is the Phi 4 cost per task measured or estimated?
Estimated: Phi 4 was not run directly. Tokens come from Qwen3.8 Flash and are rescaled by the tokenizer of Microsoft. Real usage can differ.