Phi 4 Multimodal Instruct

Microsoft chatvision

API ID: microsoft/phi-4-multimodal-instruct

Input Price
$0.05
/1M tokens
Output Price
$0.10
/1M tokens

About Phi 4 Multimodal Instruct

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/).

๐Ÿ“Š
Price Ranking
#620 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
โ€”
Release Date
2025-03-08
Capabilities
chat vision
Input Modalities
textimage
Output Modalities
text

Best For

  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.05
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$1.65
/month
1000 tickets/day, ~800 tokens each

Microsoft Model Lineup

Compare all models from Microsoft to find the best fit

Model Input Output Context Capabilities
Phi 4 Multimodal Instruct Current Free Free 131k chat vision
Phi-3 Medium 4K Instruct Free Free 4k chat
Phi-3 Medium 4K Instruct Free Free 4k chat
WizardLM-2 7B Free Free 32k chat
WizardLM-2 7B Free Free 32k chat
Phi-3.5 Mini 128K Instruct Free Free 128k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Google Gemini Embedding 001
Input: $0.15
Output: Free
Context: 20k
Mistral Codestral Embed 2505
Input: $0.15
Output: Free
Context: 8k
DeepSeek DeepSeek R1 0528 Qwen3 8B
Input: $0.06
Output: $0.09
Context: 131k
Google Gemma 3 4B
Input: $0.05
Output: $0.10
Context: 131k

๐Ÿš€ Quick Start

Get started with Phi 4 Multimodal Instruct API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="microsoft/phi-4-multimodal-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)