microsoft logo
microsoft

Microsoft: Phi 4

Descripción de la fuente (inglés)

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

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
por millón de tokens
Salida
$0.14
por millón de tokens
API

Inicio rápido

Configura OPENROUTER_API_KEY localmente. Python requiere requests; JavaScript se ejecuta en Node.js. Mantén la clave en el servidor.

Documentación de la 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!"}]}'
Capacidades y modalidades

Entrada → Salida

Entrada
text
Salida
text
API

Parámetros API compatibles

frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
Proveedores disponibles

1 Proveedor

Verificado: 7 de septiembre de 2026

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.07
Salida
$0.14
Lectura de caché
No indicado
Escritura de caché
No indicado
microsoft

4 modelos

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

Contexto
4K
Entrada
text · image
Salida
image
Entrada: $1.75 por millón de tokensSalida de imagen: $10 por millón de tokens
Ver detalles del modelo →
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...

Contexto
4K
Entrada
text · image
Salida
image
Entrada: $5 por millón de tokensSalida de imagen: $34 por millón de tokens
Ver detalles del modelo →
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...

Contexto
33K
Entrada
text · image
Salida
decisions
Entrada: $0.042 por millón de tokensSalida: Gratis por millón de tokens
Ver detalles del modelo →
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...

Contexto
33K
Entrada
text
Salida
decisions
Entrada: $0.042 por millón de tokensSalida: Gratis por millón de tokens
Ver detalles del modelo →