Microsoft: Phi 4

Pricing, context window and lifecycle for microsoft/phi-4, tracked from what the vendor publishes.

Price per million tokens

Input$0.070
Output$0.140

Facts

Model IDmicrosoft/phi-4
VendorMicrosoft
Context window16,384 tokens
Knowledge cutoff2024-06-30
End of lifenone published

Supported parameters

frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p

Other Microsoft models