← All Models

Microsoft: Phi 4

🇺🇸 Microsoft · Phi 4

Input Price $0.070 per million tokens NT$2.2
Output Price $0.140 per million tokens NT$4.5
Context Window 16K tokens Output limit: 16K
OpenRouter Route Price Please verify with official pricing pages
Use this model via OpenRouter →

Overview

Microsoft: Phi 4 is a large language model API from Microsoft, part of its Phi 4 model family. At $0.070 per million input tokens and $0.140 per million output tokens, it sits in the budget tier — among the cheaper options for high-throughput or cost-sensitive workloads. Output tokens cost about 2× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. The 16K-token context window — around 25 pages of text — comfortably handles long documents, multi-file code, or extended conversations. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.

Dimension Unit Price (USD) Price (TWD) Effective From
Input per 1M tokens $0.070 NT$2.2
Output per 1M tokens $0.140 NT$4.5

Provider
Microsoft
Model Family
Phi 4
Version String
microsoft/phi-4
Status
Active
Modality
Text
Context Window
16,384 tokens
Output Limit
16,384 tokens

90-Day Price Trend

Input / Output price (USD per 1M tokens)

Past 90 days of records; every price change is shown here

Date Dimension Price (USD) Source
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.070 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter
Output $0.140 OpenRouter
Input $0.065 OpenRouter

Key Insights

Key data points from this page for quick reference and citation.

  • Microsoft: Phi 4 Input price: $0.07/M tokens
  • Microsoft: Phi 4 Output price: $0.14/M tokens
  • Context window: 16,384 tokens
  • Provider: Microsoft
  • Model family: Phi 4
  • Modalities: Text
  • Data source: OpenRouter, updated daily