Try Bifrost Enterprise free for 14 days.
Request access
[ MODEL COMPARISON ]

Compare phi-4 with other models

Select another model to compare pricing, limits, and capabilities with phi-4.

OpenRouter logo
VS
Models
OpenRouter logophi-4
openrouter
-
-
Context Length
16K
-
Max Output
16K
-
Input Cost
$0.07/M
-
Output Cost
$0.14/M
-
Mode
Chat
-
Max Input Tokens
16K
-
Max Tokens
16K
-
Provider
OpenRouter
-
Response Schema
Yes
-
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Comparison Insights

Comprehensive analysis based on the latest model metadata from the comparison table above.

What should I know about phi-4?

Overview

  • phi-4 is a chat model provided by OpenRouter.
  • This model has a context capacity of 16K tokens.

Pricing

  • Input processing costs $0.07 per million tokens.
  • Output generation costs $0.14 per million tokens.

Output Capabilities

  • The model can generate up to 16K tokens in a single response.
What capabilities does phi-4 support?
  • Supports structured response schemas for consistent, predictable output formatting.

phi-4 Pricing Overview

At $0.07 per 1M input tokens and $0.14 per 1M output tokens, phi-4 ranks 168 out of 2185 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 92% of models in this category.