FitMyLLM
Microsoft/Dense

MicrosoftPhi-1 1.3B

Microsoft's first Phi model. Trained on textbook-quality data for code generation.

coding
1.42B
Parameters
2K
Context length
6
Benchmarks
6
Quantizations
0
Architecture
Dense
Released
2023-06-20
Layers
24
KV Heads
32
Head Dim
64
Family
phi

Quantization Options

QuantBitsVRAM @ 2KQuality
Q4_K_M4.89
1.4 GB
good
Q5_K_S5.57
1.5 GB
good
Q5_K_M5.7
1.5 GB
good
Q6_K6.56
1.7 GB
excellent
Q8_08.5
2.0 GB
lossless
FP1616
3.3 GB
lossless

Select your GPU above to see speed estimates and compatibility for each quantization.

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN PHI-1 1.3B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (6)

IFEval20.3
MMLU-PRO7.7
BBH7.5
MUSR3.4
GPQA2.3
MATH1.8

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run phi:1.3b

Tag may need adjustment — check ollama.com/library/phi for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C870
2 GB VRAM • 76.8 GB/s
NVIDIA
NVIDIA Tesla D870
2 GB VRAM • 76.8 GB/s
NVIDIA
NVIDIA Tesla S870
2 GB VRAM • 76.8 GB/s
NVIDIA

Find the best GPU for Phi-1 1.3B

Build Hardware for Phi-1 1.3B

Microsoft's first Phi model. Trained on textbook-quality data for code generation.

▸ SPEC SHEET

Phi-1 1.3B1.42B Dense.

▸ SPECIFICATIONS
PARAMETERS
1.42B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
2K tokens
CAPABILITIES
coding
RELEASE DATE
2023-06-20
PROVIDER
Microsoft
FAMILY
phi
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.891.4 GB94%
Q5_K_S5.571.5 GB96%
Q5_K_M5.71.5 GB96%
Q6_K6.561.7 GB97%
Q8_08.52.0 GB100%
FP16163.3 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO7.7
MATH1.8
IFEval20.3
BBH7.5
GPQA2.3
MUSR3.4
§ 02RUN COMMAND

Run Phi-1 1.3B locally with Ollama — needs 1.4 GB VRAM at Q4_K_M:

$ollama run phi:1.3b
§ 03COMPATIBLE GPUs
30 @ Q4_K_M