
Phi 4
Phi-4 is a state-of-the-art open-source model designed to excel in advanced reasoning, coding, and knowledge tasks. It combines synthetic data, curated web data, and academic texts, and undergoes supervised fine-tuning to enhance precision, alignment, and security.
Intelligence(Relatively Weak)
Speed(Slow)
Input Supported Modalities
No
Is Reasoning Model
16,000
Context Window
16,000
Maximum Output Tokens
2024-06-01
Knowledge Cutoff
Pricing
¥0.5 /M tokens
Input
¥1.01 /M tokens
Output
¥1.57 /M tokens
Blended Price
Quick Simple Comparison
Phi-4 Mini Instruct
Phi-4 Multimodal Instruct
¥0.05
Phi-3 Medium Instruct 14B
¥0.1
Basic Parameters
Phi-4Technical Parameters
Parameter Count
14,700.0M
Context Length
16.00k tokens
Training Data Cutoff
2024-06-01
Open Source Category
Open Weights (Permissive License)
Multimodal Support
Text Only
Throughput
33
Release Date
2024-12-12
Response Speed
25.212,677 tokens/s
Benchmark Scores
Below is the performance of Phi-4 in various standard benchmark tests. These tests evaluate the model's capabilities in different tasks and domains.
Intelligence Index
40.22
Large Language Model Intelligence Level
Coding Index
24.56
Indicator of AI model performance on coding tasks
Math Index
47.67
Capability indicator in solving mathematical problems, mathematical reasoning, or performing math-related tasks
MMLU Pro
71.4
Massive Multitask Multimodal Understanding - Testing understanding of text, images, audio, and video
GPQA
57.5
Graduate Physics Questions Assessment - Testing advanced physics knowledge with diamond science-level questions
HLE
4.1
The model's comprehensive average score on the Hugging Face Open LLM Leaderboard
LiveCodeBench
23.1
Specific evaluation focused on assessing large language models' ability in real-world code writing and solving programming competition problems
SciCode
26
The model's capability in code generation for scientific computing or specific scientific domains
HumanEval
86.7
Score achieved by the AI model on the specific HumanEval benchmark test set
Math 500 Score
81
Score on the first 500 larger, more well-known mathematical benchmark tests
AIME Score
14.3
An indicator measuring an AI model's ability to solve high-difficulty mathematical competition problems (specifically AIME level)
GPT 5 Mini
openai

¥1.8
Input tokens/million
¥14.4
Output tokens/million
400k
Context Length
GPT 5 Standard
openai

¥63
Input tokens/million
¥504
Output tokens/million
400k
Context Length
GPT 5 Nano
openai

¥0.36
Input tokens/million
¥2.88
Output tokens/million
400k
Context Length
GPT 5
openai

¥9
Input tokens/million
¥72
Output tokens/million
400k
Context Length
GLM 4.5
chatglm

¥0.43
Input tokens/million
¥1.01
Output tokens/million
131k
Context Length
Gemini 2.0 Flash Lite (Preview)
google

¥0.58
Input tokens/million
¥2.16
Output tokens/million
1M
Context Length
Gemini 1.0 Pro
google

¥3.6
Input tokens/million
¥10.8
Output tokens/million
33k
Context Length
Qwen2.5 Coder Instruct 32B
alibaba

¥0.65
Input tokens/million
¥0.65
Output tokens/million
131k
Context Length