← All models

Microsoft: Phi 4 pricing

microsoft · 16,384 token context · $0.07 input / $0.14 output per 1M tokens

$0

What 1M tokens costs

1M input tokens$0.07
1M output tokens$0.14
Typical chat request (4k in / 1k out)$0.0004

How it compares

ModelInputOutput
No sibling models listed.

FAQ

How is this price calculated? Prices are per token from the provider's public API list; this page multiplies by one million. Cached input and batch jobs are usually cheaper.

Is output more expensive than input? For most models yes, typically 3–5×, because generation is compute-heavy.

Why does my bill differ? Tokenization, system prompts, retries, and caching all change the final count.