prices synced 2026-10-27
M

Phi 4

Microsoft · Released Jan 2025

Compare

A 14-billion-parameter language model from Microsoft designed for general-purpose text generation and reasoning tasks with a 16K token context window.

Strengths
Delivers strong performance on reasoning and language understanding while maintaining reasonable inference speed for its parameter count.
Best for
General-purpose text generation, summarization, and reasoning tasks where model size and latency matter—superseded by Phi 4 Mini Instruct for resource-constrained deployments and by WizardLM-2 8x22B for tasks requiring extended context or expert-level reasoning.
Limitations
Limited to a 16K token context window, which is shorter than many contemporary models; instruction-tuning capabilities are more general compared to specialized variants like Phi 4 Mini Instruct.

Input / 1M

$0.07

Output / 1M

$0.14

Cached input / 1M

—

Context window

16K

Price history

Input (solid)Output (dashed)
Price per 1M tokens over timeOutput went from $0.14 to $0.14; Input went from $0.065 to $0.07 between Jun 2026 and Jun 2026.$0$0.05$0.1$0.15Output on 11 Jun 2026: $0.14Output on 24 Jun 2026: $0.14Out $0.14Input on 11 Jun 2026: $0.065Input on 24 Jun 2026: $0.07In $0.07Jun 2026Jun 2026

Price change

30d
in — out —
90d
in — out —
1y
in increased 7.7% out decreased 0.0%
Since launch
in increased 7.7% out decreased 0.0%

Snapshots

Effective Input Output Cached in Note Source
24 Jun 2026 $0.07 $0.14 — Imported from OpenRouter openrouter.ai
11 Jun 2026 $0.065 $0.14 — Imported from OpenRouter openrouter.ai

More from Microsoft

Report a problem