Microsoft logo

Phi 4: Pricing, Context Window & Benchmarks

by Microsoft

[Microsoft Research](/microsoft) 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 parameters, it was trained on a mix of high-quality synthetic datasets, data from curated websites, and academic materials. It has undergone careful improvement to follow instructions accurately and maintain strong safety standards. It works best with English language inputs. For more information, please see [Phi-4 Technical Report](https://arxiv.org/pdf/2412.08905)

Chat with Phi 4
Input Price
$0.13/1M tokens
Output Price
$0.50/1M tokens
Intelligence
10.5
Coding
11.2

What you can do with Phi 4

Everyday Q&A and clear explanations

Writing help (emails, posts, summaries)

Idea generation and brainstorming

Learning support with step-by-step guidance

Composite Indices

Intelligence, Coding, Math

Standard Benchmarks

Academic and industry benchmarks

Benchmark Highlights

6 tests
GPQA
57.5%
MMLU Pro
71.4%
LiveCodeBench
23.1%
Math 500
81.0%
AIME 2025
18.0%
HLE
4.1%
Metric Value
Provider Microsoft
Context Window 16,384 tokens
Input Price $0.13/1M tokens
Output Price $0.50/1M tokens
Release Date Dec 12, 2024
Modalities text
Capabilities N/A

Compare Phi 4 to other models

See how it stacks up on price, quality, and overall performance.

Frequently asked questions

What is Phi 4 good for?

Use Phi 4 for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.

How much does Phi 4 cost?

Pricing is based on usage. Current rates are $0.13/1M tokens for input and $0.50/1M tokens for output.

Can I try Phi 4 for free?

Yes. You can start a chat instantly and test the model before deciding on a plan.

Does Phi 4 support images or audio?

Phi 4 focuses on text-based tasks.

Benchmarks and pricing are sourced from Artificial Analysis where available. OpenRouter specs are used as a fallback.