Key Specifications

Vendorother
Versionphi-4
Release Date2024-12-12
Context Window16384 tokens
Input Modalitiestext
Output Modalitiestext
LicenseMIT
Documentationhttps://huggingface.co/models

Benchmark Performance

BenchmarkScoreUnitEvaluated AtNotesSource
MMLU69.2%2024-12-125-shotview
HUMANEVAL62.8pass@12024-12-12view
GSM8K71.1%2024-12-120-shot CoTview
MATH39.6%2024-12-120-shot CoTview
BBH66.9%2024-12-123-shot CoTview
GPQA30.1%2024-12-120-shotview
IFEVAL59.6%2024-12-12prompt_strictview
ARC85.1%2024-12-12challengeview
MUSR38.6%2024-12-120-shotview
WINOGRANDE78.3%2024-12-120-shotview

Pricing

TierPriceCurrency
Input$0.15 / MtokUSD
Output$0.15 / MtokUSD
Cache Read$0 / MtokUSD
Cache Write$0 / MtokUSD

Source: https://huggingface.co/models · as of 2024-12-12

Compliance

  • Data Residency: self-host
  • SOC2: ✗
  • HIPAA: ✗
  • GDPR: ✗
  • ISO 27001: ✗

Phi-4

Model Overview

Microsoft Phi-4 14B 模型, 16K 上下文, 改进推理与数学能力, 在 14B 规模上接近 GPT-4o-mini。

Core Specifications

VendorVersionRelease DateContext WindowInput ModalitiesOutput ModalitiesLicense
Otherphi-42024-12-1216KtexttextMIT

Benchmark Performance

BenchmarkScoreUnitNotes
MMLU (Massive Multitask Language Understanding)69.2%5-shot
HumanEval62.8pass@1
GSM8K (Grade School Math 8K)71.1%0-shot CoT
MATH39.6%0-shot CoT
BBH (BIG-Bench Hard)66.9%3-shot CoT
GPQA30.1%0-shot
IFEval59.6%prompt_strict
ARC85.1%challenge
MUSR38.6%0-shot
WinoGrande78.3%0-shot

Pricing

InputOutputCache ReadCache Write

per million tokens

Strengths

  • Reliable general-purpose model.

Weaknesses

  • Proprietary, not self-hostable.
  • Context window 16K is limited.

Use Cases

  • General chat and Q&A

References