browse by creator
Microsoft
Microsoft API and models: 1 model on Impossibl, including Phi-4. Compare pricing per million tokens, context windows, and capabilities between different Microsoft models.
models
1
modalities · in → out
takes text in, gives text out
latest release
Phi-4Dec 12, 2024
- Phi-4
microsoft/phi-4
Phi-4 is Microsoft Research's small open-weight language model, a dense 14-billion-parameter transformer designed for complex reasoning in memory- and latency-constrained settings.
MicrosoftText generation
- context
- 16ktokens
- input price
- $0.125/1m tokens
- output price
- $0.50/1m tokens
- released
frequently asked questions
Which Phi models are available through Impossibl?
The directory lists 1 model from Microsoft available through the Impossibl API, including Phi-4. Open each model page for its API identifier, capabilities, and current pricing.
How much do Phi models cost?
Microsoft model prices vary by model and usage. All rates below are published base API rates in USD. For token-priced models, published input rates start at $0.125 per million input tokens. Published output rates start at $0.50 per million output tokens. Input and output minima may refer to different models. Individual model pages include published cache prices and billing units. Applicable fees and workspace-specific pricing can affect the amount paid.
What is the cheapest Phi model?
By published input rate, the cheapest Phi text generation model on Impossibl is Phi-4 (microsoft/phi-4) at $0.125 per million input tokens and $0.50 per million output tokens. Cheapest by input rate is not always cheapest for a workload; output-heavy or cached requests can favor another model.
Does Impossibl add a markup to Microsoft pricing?
No. Usage is charged at the provider's list price with 0% usage markup. Prepaid credit purchases include a 5% platform fee, and there is no subscription. The rates on this page are Microsoft's published base rates, and usage comes off your balance when the request finishes.
What context windows do Phi models support?
Among Microsoft models with a published limit on Impossibl, the largest context window is 16,000 tokens, listed for Phi-4. Context limits vary by model and are separate from maximum output limits.
What inputs and capabilities do Phi models support?
Available model types include text generation. Published input support includes text; support varies by model. Tool calling is published as unsupported for 1 model.
How do I use Phi models through an API?
Use the exact model identifier from the model page with the Impossibl API. For example, select microsoft/phi-4 with /v1/chat/completions. Endpoint compatibility depends on the selected model. The API quickstart explains how to create an API key and send a request.