Key Specifications

Specification Phi-3 MediumPhi-3 Small
Vendorotherother
Versionphi-3-mediumphi-3-small
Release Date2024-05-212024-05-21
Context Window4096 tokens8192 tokens
Input Modalitiestexttext
Output Modalitiestexttext
LicenseMITMIT
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

Benchmark Phi-3 MediumPhi-3 Small Winner
ARC90.189.6Phi-3 Medium
BBH71.471.8Phi-3 Small
GPQA25.630.9Phi-3 Small
GSM8K5962.7Phi-3 Small
HUMANEVAL53.968.3Phi-3 Small
IFEVAL67.461Phi-3 Medium
MATH34.343.5Phi-3 Small
MMLU62.171.8Phi-3 Small
MUSR43.936.5Phi-3 Medium
WINOGRANDE72.174.9Phi-3 Small

Pricing Comparison

Tier (per Mtok) Phi-3 MediumPhi-3 Small
Input$0.2$0.15
Output$0.2$0.15
Cache Read$0$0
Cache Write$0$0

Phi-3 Medium vs Phi-3 Small

Model Overview

Phi-3 Medium and Phi-3 Small are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Key Specifications

Vendor Release Date Context Window License
Other / Other 2024-05-21 / 2024-05-21 4K / 8K MIT / MIT

Benchmark Performance

Benchmark Phi-3 Medium Phi-3 Small Winner
ARC 90.1 89.6 A
BBH (BIG-Bench Hard) 71.4 71.8 Tie
GPQA 25.6 30.9 B
GSM8K (Grade School Math 8K) 59.0 62.7 B
HumanEval 53.9 68.3 B
IFEval 67.4 61.0 A
MATH 34.3 43.5 B
MMLU (Massive Multitask Language Understanding) 62.1 71.8 B
MUSR 43.9 36.5 A
WinoGrande 72.1 74.9 B

Pricing Comparison

Input Output Cache Read Cache Write
— / — — / — — / — — / —

per million tokens — A / B

Strengths & Weaknesses

Phi-3 Medium

  • ✅ Reliable general-purpose model.
  • ⚠️ Proprietary, not self-hostable.
  • ⚠️ Context window 4K is limited.

Phi-3 Small

  • ✅ Reliable general-purpose model.
  • ⚠️ Proprietary, not self-hostable.
  • ⚠️ Context window 8K is limited.

Editor’s Take

Phi-3 Medium and Phi-3 Small each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

FAQ

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

References

Editor's Take

See Editor's Take section.