whichllm — Browse and compare AI model specs and pricing

Azure Cognitive Services

Phi-4 model ID, context window & pricing

phi

Quick facts

Model ID phi-4
Source Azure Cognitive Services
Context Window 128000
Pricing $0.12 input / $0.50 output per 1M tokens
Capabilities temperature control, open weights

Model overview

Phi-4 is an AI model from Azure Cognitive Services with 128000 token context window and text input support.

Published pricing is $0.12 input and $0.50 output per 1M tokens.

  • Workloads that use text inputs with text outputs.
Model ID phi-4
Provider Azure Cognitive Services
Family phi
Status -
Knowledge Cutoff 2023-10
Release Date 2024-12-11
Input Modalities text
Output Modalities text
Context Window 128000
Input Limit -
Output Limit 4096
Tool Calling No
Reasoning No
Structured Output -
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $0.12
Output Cost / 1M tokens $0.50
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens -
Cache Write Cost / 1M tokens -