phi-4 pricing

phi-4 is priced at $0.20 per 1M input tokens and $0.40 per 1M output tokens, with roughly 100 ms to first token and about 110 tokens/sec output throughput.

Price per 1M tokens

Input $0.20 · Output $0.40 · Output/input ratio 2.0x.

  • 1M input + 1M output tokens: $0.60
  • 10M input + 2M output tokens/month: $2.80
  • 100M input + 20M output tokens/month: $28.00

Cheaper alternatives to phi-4

Same workload, lower output price. Validate quality before switching.

  • deepseek-v3 — $0.30/1M output (25% cheaper)
  • qwen-3-plus — $0.30/1M output (25% cheaper)
  • ernie-lite — $0.30/1M output (25% cheaper)
  • deepseek-v4 — $0.22/1M output (45% cheaper)

How much are you wasting on phi-4?

Price lists are the easy part. Run the free waste scanner on your usage export to see which calls should have run on a cheaper tier, which prompts are oversized, and which retries you paid for twice — with dollars recoverable per finding.