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.

Überblick

Modellspezifikationen

Kontext
16.384 tokens
Maximale Ausgabe
14.745 tokens
Architektur
text->text
Tokenizer
Other
Wissensstand
2024-06-30
Moderiert
Nein
OPENROUTER

Vollständige Preise

Mit OpenRouter synchronisierte Preise; Tokenpreise gelten pro eine Million Token.

Eingabe
$0.07
/M tokens
Ausgabe
$0.14
/M tokens
API

Schnellstart

Dieses Modell über die OpenAI-kompatible API von OpenRouter aufrufen.

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!"}]}'
Fähigkeiten und Modalitäten

EingabeAusgabe

Eingabe
text
Ausgabe
text
API

Unterstützte API-Parameter

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
Verfügbare Anbieter

1 Anbieter

Live-Anbieter bei OpenRouter

Verfügbarkeit, Latenz, Durchsatz und Routing ändern sich laufend. Aktuelle Betriebsdaten stehen auf der Quellseite.

OpenRouter

DeepInfra

bf16
Kontext
16K
Maximale Ausgabe
15K
Eingabe
$0.070
Ausgabe
$0.140
Cache-Lesen
Nicht angegeben
Cache-Schreiben
Nicht angegeben
microsoft

Modelle

Alle Modelle
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.

Kontext
4K
Eingabe
text · image
Ausgabe
image
Eingabe: $5.00Ausgabe: Kostenlospro 1 Mio. Token
Modelldetails ansehen
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...

Kontext
Nicht angegeben
Eingabe
text
Ausgabe
speech
Eingabe: $15.00Ausgabe: Kostenlospro 1 Mio. Token
Modelldetails ansehen
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,...

Kontext
Nicht angegeben
Eingabe
text
Ausgabe
speech
Eingabe: $22.00Ausgabe: Kostenlospro 1 Mio. Token
Modelldetails ansehen
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...

Kontext
Nicht angegeben
Eingabe
audio
Ausgabe
transcription
Eingabe: $360000.00Ausgabe: Kostenlospro 1 Mio. Token
Modelldetails ansehen