Back to Models

Microsoft: Phi 4 Multimodal Instruct

microsoft/phi-4-multimodal-instruct

Description

Phi-4 Multimodal Instruct is a versatile 5.6B parameter foundation model that combines advanced reasoning and instruction-following capabilities across both text and visual inputs, providing accurate text outputs. The unified architecture enables efficient, low-latency inference, suitable for edge and mobile deployments. Phi-4 Multimodal Instruct supports text inputs in multiple languages including Arabic, Chinese, English, French, German, Japanese, Spanish, and more, with visual input optimized primarily for English. It delivers impressive performance on multimodal tasks involving mathematical, scientific, and document reasoning, providing developers and enterprises a powerful yet compact model for sophisticated interactive applications. For more information, see the [Phi-4 Multimodal blog post](https://azure.microsoft.com/en-us/blog/empowering-innovation-the-next-generation-of-the-phi-family/).

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Microsoft: Phi 4 Multimodal Instruct (microsoft/phi-4-multimodal-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-multimodal-instruct",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Microsoft: Phi 4 Multimodal Instruct model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text
  • Images

API Pricing

  • Input: 0.05$ / 1M tokens
  • Output: 0.1$ / 1M tokens
  • Image: 0$ / image

Token Limits

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

Subscription Tiers

  • free
  • pro
  • ultimate