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.7 Flash

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

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

Microsoft AI: MAI-Image-2.7

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

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

Microsoft: Microsoft-Decision-1.1

Microsoft-Decision-1.1 is a model from Microsoft built for fast decision-making, and the successor to Microsoft-Decision-1. Instead of generating text, it reads the provided content and returns a calibrated probability for...

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

Microsoft: Microsoft-Decision-1

Microsoft-Decision-1 is a small model built for fast decision-making. Instead of generating text, it reads the provided content and returns a calibrated probability for each fixed answer option, so the...

コンテキスト
33K
入力
text
出力
decisions
入力: $0.042 100万トークンあたり出力: 無料 100万トークンあたり
モデル詳細を見る →