# Phi 4 Mini Instruct

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/phi-4-mini-instruct. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/phi-4-mini-instruct.

Microsoft Phi 4 Mini Instruct is a compact instruction-tuned variant in the Phi series, optimized for quick responses and high throughput.

Canonical URL: https://lmspeed.net/model/phi-4-mini-instruct
Last updated: 2026-11-04

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Microsoft Phi 4 Mini Instruct is a compact instruction-tuned variant in the Phi series, optimized for quick responses and high throughput.

LLM

Official API price[[1]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-1)

$0.075input / 1M tokens

Output $0.30/1M

## Category Performance

Observed-capability estimates with uncertainty reported separately from independent benchmark families.

Coverage

2 / 8

Methodology

[V3.0](https://lmspeed.net/methodology)

#1Math41.1Estimated2/4 Measured dimensions

80% interval: 29.3–53.0

foundational math42.7

math_500 · math_500

competition math39.6

aime · aime

proof frontierPrior only

applied tool mathPrior only

#2Reasoning34.1Estimated2/4 Measured dimensions

80% interval: 23.0–45.2

abstract logicPrior only

scientific causal36.5

gpqa · gpqa / hle · hle

multistep constraints31.7

mmlu_pro · mmlu_pro

evidence verificationPrior only

## Specifications

[[3]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-3)

Model weights

Open weights

License

[MIT](https://lmspeed.net/model/license/mit)[[2]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-2)

Context window

131.1Ktokens

131,072 tokens · [[3]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-3)

≈ 157.3 pages of text

OpenRouter-reported max output

128Ktokens

128,000 tokens · [[3]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-3)

8K128K1M4M

131.1K

### Features

### Technical Details

Input

Output

Released

Oct 2025

Documentation

[OpenRouter](https://openrouter.ai/microsoft/phi-4-mini-instruct)[HuggingFace](https://huggingface.co/microsoft/Phi-4-mini-instruct)[Ollama](https://ollama.com/search?q=Phi%204%20Mini%20Instruct)

Tokenizer

Other

Architecture

text->text

Moderated

No

Supported parameters

frequency_penaltylogprobsmax_tokenspresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_logprobstop_p

## Detailed scores

Updated: Nov 4, 2026

#### Speed & latency

2 metrics

Output speed46.3 tok/s#62 / 73Time to first token0.35 s#4 / 73

Benchmark

Score

LMSpeed rank

Updated

Confidence

Output speed[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)

Score46.3 tok/s

LMSpeed rank#62/73

UpdatedNov 4, 2026

Confidence4

Time to first token[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)

Score0.35 s

LMSpeed rank#4/73

UpdatedNov 4, 2026

Confidence4

#### Pricing

2 metrics

Input price$0.075/MOutput price$0.300/M

Benchmark

Score

LMSpeed rank

Updated

Confidence

Input price[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)

Score$0.075/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

Output price[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)

Score$0.300/M

LMSpeed rank-

UpdatedNov 4, 2026

Confidence-

#### Coding

1 metric

LiveCodeBench12.6%#112 / 113

Benchmark

Score

LMSpeed rank

Updated

Confidence

LiveCodeBench[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)

Score12.6%

LMSpeed rank#112/113

UpdatedNov 4, 2026

Confidence4

#### Reasoning

3 metrics

MMLU-Pro46.5%#135 / 137GPQA33.1%#234 / 238

34.1Estimated

Dimensions and evidenceV3.0Estimated

80% interval 23.0–45.22/4 Measured dimensions

Abstract logicPrior only

Scientific & causal reasoning36.52 families · 2 metrics

gpqa · gpqaz -1.92 · q 1.00hle · hlez -0.90 · q 1.00

Multi-step constraints31.71 family · 1 metric

mmlu_pro · mmlu_proz -2.55 · q 1.00

Evidence integration & verificationPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

MMLU-Pro[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)V3 evidence

Score46.5%

LMSpeed rank#135/137

UpdatedNov 4, 2026

Confidence4

GPQA[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)V3 evidence

Score33.1%

LMSpeed rank#234/238

UpdatedNov 4, 2026

Confidence4

HLE[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)V3 evidence

Score4.4%

LMSpeed rank#209/252

UpdatedNov 4, 2026

Confidence4

#### Math

2 metrics

AIME3.0%#65 / 68MATH-50069.6%#63 / 76

41.1Estimated

Dimensions and evidenceV3.0Estimated

80% interval 29.3–53.02/4 Measured dimensions

Foundational math42.71 family · 1 metric

math_500 · math_500z -0.81 · q 1.00

Competition math39.61 family · 1 metric

aime · aimez -1.31 · q 1.00

Advanced proofsPrior only

Applied & tool-assisted mathPrior only

Benchmark

Score

LMSpeed rank

Updated

Confidence

AIME[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)V3 evidence

Score3.0%

LMSpeed rank#65/68

UpdatedNov 4, 2026

Confidence4

MATH-500[[4]](https://lmspeed.net/model/phi-4-mini-instruct#model-source-4)V3 evidence

Score69.6%

LMSpeed rank#63/76

UpdatedNov 4, 2026

Confidence4

## Pricing Comparison

Third-party relay quote comparison, not official model pricing. Verify currency and billing units before comparing.

|  |  | Model Variant | Group |  |  |  |  | Audit |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [WSocket AI](https://lmspeed.net/provider/ai-wsocket-xyz) Free | L1 0% | microsoft/phi-4-mini-instruct | default | Free | Free | — | — | — |
| [素墨API](https://lmspeed.net/provider/apifree-rensumo-top) | L1 0% | microsoft/phi-4-mini-instruct | default | $0.010/request | - | — | — | — |
|  | L1 0% | phi-4-mini-instruct | default | $0.010/request | - | — | — | — |
| [猫羽雫API](https://lmspeed.net/provider/maoyulin-xyz) | L1 0% | microsoft/phi-4-mini-instruct | 懒人 | $0.080/M Cache read$0.080/M | $0.350/M | — | — | — |
| [猫羽霖API](https://lmspeed.net/provider/huashang-dpdns-org) | L1 0% | microsoft/phi-4-mini-instruct | 2api | $0.080/M Cache read$0.080/M | $0.350/M | — | — | — |

This table includes 4 free-priced rows for this model. Free means the current listed price is $0, not an unlimited quota. [Free LLM API directory](https://lmspeed.net/free) · [Free API keys](https://lmspeed.net/free-api-keys)

## Frequently Asked Questions

### What is the Phi 4 Mini Instruct API price?

Official Standard API: input $0.075, output $0.30 per 1M tokens, USD. Standard · USD

## Sources & notes

- [1]

[Official · via Artificial Analysis](https://artificialanalysis.ai/models/phi-4-mini)Checked: 2026-11-04

- [2]

[Model license](https://huggingface.co/microsoft/Phi-4-mini-instruct)Checked: 2026-10-17

- [3]

[OpenRouter-reported; not official](https://openrouter.ai/microsoft/phi-4-mini-instruct)

- [4]

[Benchize](https://benchize.com/)Checked: 2026-11-04

- [5]

[LMSpeed methodology](https://lmspeed.net/methodology)

Benchmark data comes from Benchize (benchize.com). Category scores are calculated by LMSpeed.

Download benchmark evidence (JSON)

---
Cite as: Phi 4 Mini Instruct — LMSpeed, https://lmspeed.net/model/phi-4-mini-instruct (retrieved 2026-12-04)
