MicrosoftPaidOperational

Phi 4

API model name: phi-4

Phi 4 is Microsoft's chat model, served on the Api.Airforce unified API. It is priced at $0.08 per million input tokens and $0.16 per million output tokens. That is below the provider's $0.07 official input rate. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.

Pricing

Input / 1M tokens
$0.08
Output / 1M tokens
$0.16
Official input rate
$0.07
Official output rate
$0.14

Api.Airforce price vs. the provider's official rate.

Specifications

Provider
Microsoft
Type
chat model

What is Phi 4 used for?

  • Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.

Phi 4 vs. similar models

ModelIntelligenceContextInput / 1MOutput / 1M
Phi 4——$0.08$0.16
GPT-5.230.4—$2.43$19.47
GPT-5.2 Chat—400K$1.93$15.40
GPT-5.2 Chat Latest—400K$1.84$14.70

Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.

Related models

Phi 4 — frequently asked questions

How much does Phi 4 cost?
Phi 4 is billed pay-as-you-go at $0.08 per 1M input tokens and $0.16 per 1M output tokens. There is no subscription — you only pay for what you use.
What can Phi 4 do?
Phi 4 is Microsoft's chat model, accessible through the Api.Airforce API.
Is Phi 4 free to use?
Phi 4 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
How do I use Phi 4 via the API?
Phi 4 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID phi-4 with your Api.Airforce API key.
Who makes Phi 4?
Phi 4 is Microsoft's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.