microsoft logo
microsoft

Microsoft: Phi 4

出典の説明(英語)

Microsoft Research 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. At 14 billion...

概要

モデル仕様

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

料金の詳細

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

入力
$0.07
100万トークンあたり
出力
$0.14
100万トークンあたり
API

クイックスタート

ローカルにOPENROUTER_API_KEYを設定してください。Pythonにはrequestsが必要です。JavaScriptはNode.jsで実行し、キーはサーバー側で管理してください。

APIドキュメント

curl --fail-with-body 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 プロバイダー

確認日: 2026年9月7日

OpenRouterでプロバイダーを見る

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

OpenRouter

DeepInfra

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

4 モデル

すべてのモデル
microsoft logomicrosoft

Microsoft AI: MAI-Image-2.6

MAI-Image-2.6 is an image generation and editing model from Microsoft AI, the precision tier of the MAI-Image-2.6 family alongside the faster MAI-Image-2.6 Flash. It is suited for design-ready visuals and...

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

Microsoft AI: MAI-Image-2.6 Flash

MAI-Image-2.6 Flash is the lower-latency, lower-cost member of the MAI-Image-2.6 family from Microsoft AI, built for latency-sensitive, high-throughput production image generation and editing at comparable quality to the precision tier....

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

Microsoft AI: MAI-Transcribe 2

MAI-Transcribe 2 is a multilingual speech-to-text model from Microsoft AI, ranked #1 on the FLEURS multilingual benchmark. It supports 60 languages with automatic language identification, code switching for mixed-language speech,...

コンテキスト
情報なし
入力
audio
出力
transcription
音声の長さ: $0.1 1時間あたり
モデル詳細を見る
microsoft logomicrosoft

Microsoft AI: MAI-Image-2.5 Pro

Microsoft AI'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 100万トークンあたり画像出力: $108 100万トークンあたり
モデル詳細を見る