Microsoft

Phi 3 Medium 128K Instruct API Pricing 2026

Compare pricing, benchmarks, and providers for Phi 3 Medium 128K Instruct. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

Phi 3 Medium 128K Instruct. Pricing starts at $1.00 per million input tokens and $1.00 per million output tokens. The model supports a context window of up to 128K tokens. API access is available through Microsoft.

Context Window
128K
tokens
Pricing
Input$1.00
Output$1.00
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
Tools

Phi 3 Medium 128K Instruct is priced at $1.00 per million input tokens and $1.00 per million output tokens. It has a context window of 128,000 tokens. On benchmarks, Phi 3 Medium 128K Instruct scores Intelligence 32.0 (63rd percentile), MMLU Pro 41.2 (77th percentile), GPQA 11.5 (37th percentile).

Pricing Comparison

Compare Phi 3 Medium 128K Instruct with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$1.000
$1.000
—
41.2
11.5
128,000
Try
$1.000
$2.000
—
—
—
256,000
Try
$1.000
$6.000
—
—
—
1,048,576
Try
$1.000
$3.000
—
—
—
256,000
Try
$1.000
$5.000
—
—
—
200,000
Try
$1.000
$3.000
—
—
—
131,072
Try
$1.000
$10.000
—
—
—
1,048,576
Try
$1.000
$5.000
—
—
—
1,050,000
Try
$1.000
$5.000
—
—
—
1,048,576
Try
$1.000
$5.000
—
—
—
127,000
Try
$1.000
$1.000
—
—
—
127,072
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Phi 3 Medium 128K Instruct is available from multiple providers with different pricing and availability.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Phi 3 Medium 128K Instruct perform? Vote based on your experience.

Cost vs. Quality

Compare Phi 3 Medium 128K Instruct's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Phi-3 Medium 128K Instruct
Other models

Detailed Benchmark Scores

Intelligence
32.0 (63rd pct)
Coding
-
Math
-
MMLU Pro
41.2 (77th pct)
GPQA
11.5 (37th pct)
LiveCodeBench
-
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Phi 3 Medium 128K Instruct

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Phi 3 Medium 128K Instruct directly in your browser.

Open Playground

Frequently Asked Questions

Phi 3 Medium 128K Instruct costs $0.001000 per 1,000 input tokens and $0.001000 per 1,000 output tokens.
Phi 3 Medium 128K Instruct scores Intelligence 32.0 (63rd percentile), MMLU Pro 41.2 (77th percentile), GPQA 11.5 (37th percentile). Only benchmarks with published data for this model are shown.
We compare Phi 3 Medium 128K Instruct with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Microsoft Models

See pricing for all Microsoft models.

View all Microsoft models →