infery
← All models
Phi 4

Phi 4

phi-4

Chat & Textby Microsoft

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. 16,384 token context window, maximum output of 16,384 tokens. Includes independent benchmarks from Artificial Analysis.

chatstreamingjson mode

Details

Accepts
text
Context window
16K tokens

Pricing

Input
8.75 cr / 1M tokens
Output
17.5 cr / 1M tokens

Prices in credits (1 credit = $0.01).

Data schema

approximate

Input

FieldTypeDescription
promptrequiredstringThe text prompt.

Output

FieldTypeDescription
textstringGenerated text (choices[0].message.content).