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.

Panoramica

Specifiche del modello

Contesto
16.384 tokens
Output massimo
14.745 tokens
Architettura
text->text
Tokenizer
Other
Limite di conoscenza
2024-06-30
Moderato
No
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$0.07
/M tokens
Output
$0.14
/M tokens
API

Avvio rapido

Chiama questo modello tramite l’API compatibile OpenAI di OpenRouter.

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!"}]}'
Capacità e modalità

InputOutput

Input
text
Output
text
API

Parametri API supportati

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
Provider disponibili

1 Provider

Provider live su OpenRouter

Disponibilità, latenza, throughput e routing cambiano continuamente. Consulta la fonte per i dati correnti.

OpenRouter

DeepInfra

bf16
Contesto
16K
Output massimo
15K
Input
$0.070
Output
$0.140
Lettura cache
Non indicato
Scrittura cache
Non indicato
microsoft

modelli

Tutti i modelli
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.

Contesto
4K
Input
text · image
Output
image
Input: $5.00Output: Gratuitoper milione di token
Vedi i dettagli del modello
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...

Contesto
Non indicato
Input
text
Output
speech
Input: $15.00Output: Gratuitoper milione di token
Vedi i dettagli del modello
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,...

Contesto
Non indicato
Input
text
Output
speech
Input: $22.00Output: Gratuitoper milione di token
Vedi i dettagli del modello
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...

Contesto
Non indicato
Input
audio
Output
transcription
Input: $360000.00Output: Gratuitoper milione di token
Vedi i dettagli del modello