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.

Resumen

Especificaciones del modelo

Contexto
16.384 tokens
Salida máxima
14.745 tokens
Arquitectura
text->text
Tokenizador
Other
Corte de conocimiento
2024-06-30
Moderado
No
OPENROUTER

Precios completos

Tarifas sincronizadas desde OpenRouter, por millón de tokens.

Entrada
$0.07
/M tokens
Salida
$0.14
/M tokens
API

Inicio rápido

Usa este modelo mediante la API compatible con OpenAI de 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!"}]}'
Capacidades y modalidades

EntradaSalida

Entrada
text
Salida
text
API

Parámetros API compatibles

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
Proveedores disponibles

1 Proveedor

Proveedores en vivo en OpenRouter

Disponibilidad, latencia, rendimiento y enrutamiento cambian continuamente. Consulta la fuente para datos actuales.

OpenRouter

DeepInfra

bf16
Contexto
16K
Salida máxima
15K
Entrada
$0.070
Salida
$0.140
Lectura de caché
No indicado
Escritura de caché
No indicado
microsoft

modelos

Todos los modelos
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.

Contexto
4K
Entrada
text · image
Salida
image
Entrada: $5.00Salida: Gratispor millón de tokens
Ver detalles del modelo
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...

Contexto
No indicado
Entrada
text
Salida
speech
Entrada: $15.00Salida: Gratispor millón de tokens
Ver detalles del modelo
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,...

Contexto
No indicado
Entrada
text
Salida
speech
Entrada: $22.00Salida: Gratispor millón de tokens
Ver detalles del modelo
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...

Contexto
No indicado
Entrada
audio
Salida
transcription
Entrada: $360000.00Salida: Gratispor millón de tokens
Ver detalles del modelo