Best cost/speed trade-off
deepinfra/bf16$0.0933 / 1M tokens
7.48 s estimated response
Start typing to search.
microsoft/phi-4
[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...
At a glance
Based on 1,000 input and 500 output tokens using the latest published median speed data.
Visual comparison
Compare published endpoint pricing and estimated response time visually.
USD per 1 million tokens for input and output. Lower is better.
DeepInfra has the lowest estimated cost for 1,000 input and 500 output tokens at $0.00014.
Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.
1 provider has complete pricing and speed data. DeepInfra is closest to the ideal combination of lowest cost and fastest response.
Server-rendered comparison
Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.
| Provider / route | Current pricing ↗ | Speed measurements | Endpoint details |
|---|---|---|---|
| Provider / route | Current pricing
| Speed measurements
| Endpoint details
13 parametersfrequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p |
Endpoint data fetched .
Phi 4 deployment guide
Phi 4 is indexed here as a text model by Microsoft, with 1 provider endpoint from DeepInfra. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.
The model publishes a 16.4K-token context window. It accepts text input and returns text output. 13 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.
DeepInfra currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.00014. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.
DeepInfra currently has the shortest estimated 500-token response at 7.48 seconds. DeepInfra is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.