microsoft logo
microsoft

Microsoft: Phi 4

[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. $0.07 per million input tokens, $0.14 per million output tokens. 16,384 token context window, maximum output of 16,384 tokens. Includes independent benchmarks from Artificial Analysis.

概要

モデル仕様

コンテキスト
16,384 tokens
最大出力
14,745 tokens
アーキテクチャ
text->text
トークナイザー
Other
知識カットオフ
2024-06-30
モデレーション
いいえ
OPENROUTER

料金の詳細

OpenRouterと同期した料金です。トークン料金は100万トークン単位です。

入力
$0.07
/M tokens
出力
$0.14
/M tokens
API

クイックスタート

OpenRouterのOpenAI互換APIでこのモデルIDを呼び出します。

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"microsoft/phi-4","messages":[{"role":"user","content":"Hello!"}]}'
機能とモダリティ

入力出力

入力
text
出力
text
API

対応APIパラメータ

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
利用可能なプロバイダー

1 プロバイダー

OpenRouterでプロバイダーを見る

可用性、遅延、スループット、ルーティングは常時変化します。最新情報は出典ページで確認してください。

OpenRouter

DeepInfra

bf16
コンテキスト
16K
最大出力
15K
入力
$0.070
出力
$0.140
キャッシュ読込
情報なし
キャッシュ書込
情報なし
microsoft

モデル

すべてのモデル
microsoft logomicrosoft

Microsoft: MAI-Image-2.5 Pro

Microsoft's MAI-Image-2.5 is a high-quality image generation model available via Azure AI Foundry. It produces photorealistic and artistic images from text prompts with support for various aspect ratios.

コンテキスト
4K
入力
text · image
出力
image
入力: $5.00出力: 無料100万トークンあたり
モデル詳細を見る
microsoft logomicrosoft

Microsoft: MAI-Voice-2-Flash

MAI-Voice-2-Flash is a low-latency text-to-speech model from Microsoft for voice agents, assistants, call centers, accessibility, narration, and other interactive applications. It generates expressive 24 kHz mono speech across 15 languages...

コンテキスト
情報なし
入力
text
出力
speech
入力: $15.00出力: 無料100万トークンあたり
モデル詳細を見る
microsoft logomicrosoft

Microsoft: MAI-Voice-2

MAI-Voice-2 is an expressive text-to-speech model from Microsoft. It is suited for conversational assistants, media narration, accessibility, education, and other long-form voice applications. It supports 15 languages across 18 locales,...

コンテキスト
情報なし
入力
text
出力
speech
入力: $22.00出力: 無料100万トークンあたり
モデル詳細を見る
microsoft logomicrosoft

Microsoft: MAI-Transcribe 1.5

MAI-Transcribe 1.5 is a multilingual speech-to-text model from Microsoft AI. It is suited for captions, call transcription, subtitling, accessibility, and other voice-enabled applications, with reliable transcription across 43 languages, diverse...

コンテキスト
情報なし
入力
audio
出力
transcription
入力: $360000.00出力: 無料100万トークンあたり
モデル詳細を見る