Key Specifications

SpecificationPhi-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

BenchmarkPhi-3 MediumPhi-3 SmallWinner
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

VendorRelease DateContext WindowLicense
Other / Other2024-05-21 / 2024-05-214K / 8KMIT / MIT

Benchmark Performance

BenchmarkPhi-3 MediumPhi-3 SmallWinner
ARC90.189.6A
BBH (BIG-Bench Hard)71.471.8Tie
GPQA25.630.9B
GSM8K (Grade School Math 8K)59.062.7B
HumanEval53.968.3B
IFEval67.461.0A
MATH34.343.5B
MMLU (Massive Multitask Language Understanding)62.171.8B
MUSR43.936.5A
WinoGrande72.174.9B

Pricing Comparison

InputOutputCache ReadCache 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.