aihub-Phi-4

by Microsoft

Phi-4 is a state-of-the-art open model based on a combination of synthetic datasets, curated public domain website data, and acquired academic books and QA datasets. The approach aims to ensure that small, efficient models are trained using data focused on high quality and advanced reasoning.

API Pricing

Input$0.12 / 1M tokens
Output$0.48 / 1M tokens

Specifications

Context window16,400 tokens
Modalitiestext

FAQ

What is aihub-Phi-4?

Phi-4 is a state-of-the-art open model based on a combination of synthetic datasets, curated public domain website data, and acquired academic books and QA datasets. The approach aims to ensure that small, efficient models are trained using data focused on high quality and advanced reasoning.

What is the context length of aihub-Phi-4?

aihub-Phi-4 has a 16,400 token context window.

How much does aihub-Phi-4 cost?

On AIHubMix, aihub-Phi-4 costs $0.12 per million input tokens and $0.48 per million output tokens.

What modalities does aihub-Phi-4 support?

aihub-Phi-4 accepts text input.

How do I call aihub-Phi-4 via API?

aihub-Phi-4 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to aihub-Phi-4 — no other code changes needed.

Who develops aihub-Phi-4?

aihub-Phi-4 is developed by Microsoft. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More from Microsoft

mai-image-2.5-pro

by Microsoft

MAI-Image-2.5 is Microsoft's flagship AI image generation and editing model. With…

$5/1M in · $5/1M out

mai-image-2.5

by Microsoft

MAI-Image-2.5 is Microsoft's flagship AI image generation and editing model. With…

$5/1M in · $5/1M out

mai-image-2.5-flash

by Microsoft

MAI-Image-2.5 is Microsoft's flagship AI image generation and editing model. With…

$1.75/1M in · $1.75/1M out

AiHubmix-Phi-4-mini-reasoning

by Microsoft

Phi-4-mini-reasoning is a lightweight open model designed for advanced mathematical…

$0.12/1M in · $0.12/1M out
128,000 tokens context

aihub-Phi-4-multimodal-instruct

by Microsoft

Microsoft's latest model

$0.12/1M in · $0.48/1M out
128,000 tokens context

aihub-Phi-4-mini-instruct

by Microsoft

Microsoft's latest model

$0.12/1M in · $0.48/1M out
128,000 tokens context

Use aihub-Phi-4 via the AIHubMix unified API — one interface for every major LLM.