AI Model TrackerLLM prices & token cost calculator

Microsoft

Phi 4 pricing and cost calculator

Phi 4 from Microsoft costs $0.07 per million input tokens and $0.14 per million output tokens, with a context window of 16,384 tokens. It was released on Jan 10, 2025.

Input price
$0.07
Output price
$0.14
Context window
16,384
Released
Jan 10, 2025

Token cost calculator

ModelPer requestPer dayPer month (30 days)
Phi 4$0.00014$0.14$4.20
DeepSeek V4.1 Flash 1017$0.00013$0.13$3.90
≈ 0 tokens

Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.

Price and specs

Input price$0.07 / 1M
Output price$0.14 / 1M
Context window16,384
Max output14,745
Acceptstext
Producestext
Reasoning modeNo
Tool / function callingNo
Structured (JSON) outputYes
Open weightsYes
ReleasedJan 10, 2025

What typical workloads cost

1,000 chat replies (1,000 input + 500 output tokens each)$0.14
Summarise a 100-page document (≈50,000 input + 1,000 output tokens)$0.0036
1 million input + 1 million output tokens$0.21

Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.

Cheaper models with at least the same context window

Similarly priced models from other providers

About Phi 4

Microsoft Research Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

Phi 4 FAQ

How much does Phi 4 cost?
Phi 4 costs $0.07 per 1M input tokens and $0.14 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $0.14.
What is the context window of Phi 4?
Phi 4 accepts up to 16,384 tokens of context and can return up to 14,745 tokens in one response.
Can Phi 4 read images?
No. Phi 4 accepts text as input.
What is a cheaper alternative to Phi 4?
Cheaper models with at least the same context window include DeepSeek V4.1 Flash 1017, Hy4 flash, DeepSeek V4.1 Flash.