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.

Published USD API provider rates for Phi-3-medium 14B-preview
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
Microsoft⁠OfficialEffective 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.

Estimated monthly cost of four workloads on Phi-3-medium 14B-preview
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$25.50$34.00$59.50$0.000595 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$13.60$13.60$27.20$0.00272 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$81.60$10.88$92.48$0.004624 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$51.00$54.40$105.40$0.00527 / request
Start from

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

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.

Blended price and monthly cost of Phi-3-medium 14B-preview and comparable models
ModelBasisBlended / 1MPer monthvs Phi-3-medium 14B-preview
Llama-3.2-3BFacebook AI Research LabLower-cost option$0.15$15.0045%cheaper
GPT-4o miniOpenAILower-cost option$0.186$18.6032%cheaper
Phi 4 - 14BMicrosoftLower-cost option$0.20$20.0026%cheaper
Phi-3-medium 14B-previewMicrosoft · this modelThis model$0.272$27.20—
Qwen2.5-72BAlibabaSimilar price$0.368$36.8035%dearer
GPT-5-miniOpenAISimilar price$0.438$43.8061%dearer
C4AI Command-RCohereAISimilar price$0.70$70.00157%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.