phi-4 by deepinfra - AI Model Details, Pricing, and Performance Metrics

microsoft

phi-4

completions
bydeepinfra

[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 parameters, it was trained on a mix of high-quality synthetic datasets, data from curated websites, and academic materials. It has undergone careful improvement to follow instructions accurately and maintain strong safety standards. It works best with English language inputs. For more information, please see [Phi-4 Technical Report](https://arxiv.org/pdf/2412.08905)

Released
Dec 12, 2024
Knowledge
Jun 1, 2024
License
MIT
Context
16384
Input
$0.07 / 1M tokens
Output
$0.14 / 1M tokens
Accepts: text
Returns: text

Access phi-4 through LangDB AI Gateway

Recommended

Integrate with microsoft's phi-4 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Category Scores

Benchmark Tests

View Other Benchmarks
GPQA
65.8
STEM (Physics, Chemistry, Biology)
MMLU-Pro
74.3
General Knowledge

Code Examples

Integration samples and API usage