Measured on Composite
This model has not carried enough traffic on Composite yet to publish a success rate, a latency figure or a traffic rank. The numbers appear here once it has.
AI model
microsoft/phi-4
Microsoft: Phi 4 is a 16,384-token model served on Composite at $0.0700 per million tokens in and $0.140 per million tokens out.
Try in Playground| Model ID | microsoft/phi-4 |
|---|---|
| Provider | DeepInfra |
| Context window | 16,384 tokens |
| Accepts | text |
| Returns | text |
| Input price | $0.0700 per million tokens |
| Output price | $0.140 per million tokens |
| Prompt caching | Not offered for this model |
| Moderated | No |
| Cost on a monthly plan | About 0.6 plan credits per typical call (8k in, 1k out) |
| Routing endpoints | 2 (base plus 1 routing variant) |
This model has not carried enough traffic on Composite yet to publish a success rate, a latency figure or a traffic rank. The numbers appear here once it has.
The same model behind 1 alternative endpoint. Call the id directly to pin a route; the base id above picks for you.
| Route | Model ID | Provider | Price |
|---|---|---|---|
| cheapThink | microsoft/phi-4:cheapThink |
DeepInfra | $0.0700 per million tokens input · $0.140 per million tokens output |
$0.0700 per million tokens input · $0.140 per million tokens output
Credits pay the provider’s price plus 25%; cache hits cost less.
On a monthly plan, a typical call (8k tokens in, 1k out) uses about 0.6 plan credits, at the provider's own price.
DeepInfra
This model is available on Composite alongside dozens of others from other labs, so it is easy to compare against similar options.
At 16,384 tokens, its context window is on the smaller side. It is a better fit for focused scenes or one-off chats than for a long-running campaign with heavy lore.
It is priced low enough for high-volume daily roleplay without the per-message cost adding up quickly.
[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...
Supplied by DeepInfra, not written by Composite.
Composite Anthropic Router · Composite Gemini Router · Composite GPT Router