API pricing and cost
Phi-3-medium 14B-preview pricing
Phi 3 medium 14B preview official API pricing is $0.17 per million input tokens and $0.68 per million output tokens.
Covers the 2024-04-23 Phi-3-medium 14B-preview release.
$0.17
Official input / 1M
Standard tier
$0.68
Official output / 1M
Standard tier
$0.272
Blended / 1M
4:1 input/output
$27.20
Example monthly cost
10K requests, 8K input + 2K output/request
Token charges only; tool calls, taxes, and other non-token fees are excluded.
Official API pricing
USD / 1M text tokens · Standard · Effective from 2026-11-14 · Last verified 2026-11-14
- InputStandard text tier, per million tokens
- $0.17
- OutputStandard text tier, per million tokens
- $0.68
API providers (1)
Published USD text API rates across hosting providers for Phi-3-medium 14B-preview. Compare listed rates, effective dates, and service-tier notes for the same model.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| MicrosoftOfficialEffective from 2026-11-14 | $0.17 | — | $0.68 | — |
What Phi-3-medium 14B-preview costs to run
Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $25.50 | $34.00 | $59.50$0.000595 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $13.60 | $13.60 | $27.20$0.00272 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $81.60 | $10.88 | $92.48$0.004624 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $51.00 | $54.40 | $105.40$0.00527 / request |
Monthly cost
$27.20
on Phi-3-medium 14B-preview
Per request
$0.00272
80M in · 20M out a month
Split
$13.60 + $13.60
input + output
The same workload costs $15.00 on Llama-3.2-3B, the cheapest of the comparable models below.
Phi-3-medium 14B-preview against comparable models
Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.
| Model | Basis | Blended / 1M | Per month | vs Phi-3-medium 14B-preview |
|---|---|---|---|---|
| Llama-3.2-3BFacebook AI Research Lab | Lower-cost option | $0.15 | $15.00 | 45%cheaper |
| GPT-4o miniOpenAI | Lower-cost option | $0.186 | $18.60 | 32%cheaper |
| Phi 4 - 14BMicrosoft | Lower-cost option | $0.20 | $20.00 | 26%cheaper |
| Phi-3-medium 14B-previewMicrosoft · this model | This model | $0.272 | $27.20 | — |
| Qwen2.5-72BAlibaba | Similar price | $0.368 | $36.80 | 35%dearer |
| GPT-5-miniOpenAI | Similar price | $0.438 | $43.80 | 61%dearer |
| C4AI Command-RCohereAI | Similar price | $0.70 | $70.00 | 157%dearer · 2.6× |
Catalog price position: #68 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 73% at the 4:1 mix; official headline rates).
Phi-3-medium 14B-preview pricing questions
- How much does Phi-3-medium 14B-preview cost per million tokens?
- Phi 3 medium 14B preview official API pricing is $0.17 per million input tokens and $0.68 per million output tokens. At the default 4:1 input-to-output mix, that is $0.272 per million blended tokens.
- What does Phi-3-medium 14B-preview cost per month, and what is included?
- On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request), Phi-3-medium 14B-preview costs about $27.20/month ($0.00272/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
- Is there a cheaper alternative to Phi-3-medium 14B-preview?
- Among the comparable models shown on this page, Llama-3.2-3B is cheaper at $0.15 per million blended tokens vs $0.272 for Phi-3-medium 14B-preview. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, Phi-3-medium 14B-preview ranks 68th cheapest (cheaper than 73% at the default 4:1 mix).
- Does Phi-3-medium 14B-preview charge for cached input?
- Microsoft publishes no cached-input rate for Phi-3-medium 14B-preview here, so every input token is estimated at the full $0.17 per million.