Back to every model

Microsoft

Phi 4 API pricing and specs

Microsoft's Phi 4: price per million tokens, context window, limits and capabilities, re-read from OpenRouter's model feed every 6 hours.

Input

$0.07

Output

$0.14

Context

16K

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens.

Specifications

LabMicrosoft
Model idmicrosoft/phi-4
Input price$0.07 per million tokens
Output price$0.14 per million tokens
Cached input price$0 per million tokens
Context window16,384 tokens (16K)
Maximum output14,745 tokens (15K)
Tool callingno
Image inputno
Reasoningno
First listed10 January 2025

Where these numbers come from

Read from OpenRouter's listing of Phi 4 every 6 hours into the catalog Founden's builders choose their models from. Prices are OpenRouter's listed price per million tokens: for a lab's closed models that is the lab's own list price, and for an open-weight model it is the price of the host OpenRouter routes to by default, which can differ from the lab's own API and from other hosts. US dollars, before batch, volume or regional discounts. Every model.