AtlasAI Center AI tool intelligence
Microsoft · API model

Phi 4

[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...

Context
16K
Input / 1M
$0.07
Output / 1M
$0.14
Downloads (30d)
192,384
Released
Jan 10, 2025
Specifications

Phi 4 specs

Provider
Microsoft
Type
API model
Model ID
microsoft/phi-4
Context window
16,384 tokens16K
Input price
$0.07per 1M input tokens
Output price
$0.14per 1M output tokens
Accepts
text
Produces
text
Task
text generation
Released
Jan 10, 2025
License
mit
Downloads
192,384Hugging Face, last 30 days
Likes
2,346
Languages
English
Popularity
20/100192,384 Hugging Face downloads in the last 30 days
Source
OpenRouter
Overview

About Phi 4

Phi 4 is an API model from Microsoft, released on Jan 10, 2025, with a context window of 16,384 tokens, pricing of $0.07 per million input tokens and $0.14 per million output tokens, the mit license, 192,384 Hugging Face downloads in the last 30 days. It accepts text input and produces text output.

At listed prices, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00084.

Specs are sourced from OpenRouter and were last checked on Nov 20, 2026. Always confirm current pricing and limits with the provider before production use.

Structured outputsJSON mode
FAQ

Phi 4 questions

What is the context window of Phi 4?

Phi 4 supports a context window of 16,384 tokens.

How much does Phi 4 cost?

Phi 4 is listed at $0.07 per million input tokens and $0.14 per million output tokens on OpenRouter.

When was Phi 4 released?

Phi 4 was published on Jan 10, 2025.

What inputs does Phi 4 accept?

Phi 4 accepts text input and produces text output.