Description
Phi-3 Mini is a powerful 3.8B parameter model designed for advanced language understanding, reasoning, and instruction following. Optimized through supervised fine-tuning and preference adjustments, it excels in tasks involving common sense, mathematics, logical reasoning, and code processing. At time of release, Phi-3 Medium demonstrated state-of-the-art performance among lightweight models. This model is static, trained on an offline dataset with an October 2023 cutoff date.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Microsoft: Phi-3 Mini 128K Instruct (microsoft/phi-3-mini-128k-instruct)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "microsoft/phi-3-mini-128k-instruct",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Microsoft: Phi-3 Mini 128K Instruct model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.1$ / 1M tokens
- Output: 0.1$ / 1M tokens
Token Limits
- Max Output: 128,000 tokens
- Max Context: 128,000 tokens
Subscription Tiers
- free
- pro
- ultimate