microsoft / text-generation updated 7 months ago

Phi-3-vision-128k-instruct

🎉 Phi-3.5: [[mini-instruct]](https://huggingface.co/microsoft/Phi-3.5-mini-instruct); [[MoE-instruct]](https://huggingface.co/microsoft/Phi-3.5-MoE-instruct) ; [[vision-instruct]](https://huggingface.co/microsoft/Phi-3.5-vision-instruct)

Params
4.2 B
Context
131,072
Downloads 30d
238 K
Likes
973
Commercial use: allowed mit Not gated SAFETENSORS 1 languages View on Hugging Face ↗

Download history

daily snapshots · 10 days
250 K231 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors bf16 8.3 GB 10.2 GB ✅ Runs comfortably
model.safetensors (bf16, full) bf16 + 128K ctx 8.3 GB 19.6 GB ✅ Runs comfortably
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/phi-3-vision-128k-instruct
{
  "hf_id": "microsoft/Phi-3-vision-128k-instruct",
  "params_b": 4.15,
  "context_length": 131072,
  "license": { "id": "mit", "commercial": "yes" },
  "downloads_30d": 238418,
  "vram_estimates": [
    { "quant": "bf16", "gb": 10.2 }
  ],
  "updated_at": "2026-07-28T18:07:16Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Specifications

Architecture
Phi3VForCausalLM
Parameters
4.2 B
Tensor type
BF16
Context length
131,072
Vocabulary
32,064
Layers / heads
32 / 32
Licence
mit
First seen on the Hub
2024-05-19
Training datasets
undisclosed
Added to our catalog
2026-07-28