Back to Models

Microsoft: Phi 4 Mini Instruct

microsoft/phi-4-mini-instruct

Description

Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data. The model belongs to the Phi-4...

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Microsoft: Phi 4 Mini Instruct (microsoft/phi-4-mini-instruct)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "microsoft/phi-4-mini-instruct",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Microsoft: Phi 4 Mini Instruct model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.08$ / 1M tokens
  • Output: 0.35$ / 1M tokens

Token Limits

  • Max Output: 128,000 tokens
  • Max Context: 131,072 tokens

Subscription Tiers

  • free
  • pro
  • ultimate