llmrun
yqi0

Petitgpt — Hardware Requirements & GPU Compatibility

Chat

Petitgpt is a 125M-parameter open language model from yqi0. It supports a context window of up to 2,048 tokens. At BF16 it needs about 0.27 GB of VRAM — see which GPUs and Macs can run it below.

125M params · dense2K contextApache 2.01.3K downloads25 likes
S

Runs great on a 24 GB GPU

Runs from8 GB BF16 · 2KBest on24 GB BF16 · ~2427 tok/s · 2KMacs from8 GB BF16 · ~266 tok/s

Apache 2.0

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Petitgpt

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

vLLM
one command · needs vLLM installed
$vllm serve yqi0/petitgpt --max-model-len 2048

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Runs on RTX 3080 Ti (12 GB) (11 GB headroom) · BF16

Generation speed
~2197 tok/s
generation speed
Cost per 1M output tokens
$0.015
per 1M output tokens

How Much VRAM Does Petitgpt Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KOn RTX 4090 (reference)
0.3 GB—16-bit · bfloat — Brain floating point 16 — preferred for trainingFits: 2K context · ~2427 tok/s
est.calculated, no published file yet

Selected BF16

Brain floating point 16

0.3GBat 2K context

Weights
0.1 GB
KV cache
0.0 GB
Overhead
0.3 GB

Fits RTX 4090 (reference) · 23.7 GB free · ~2427 tok/s

≥50 tok/s needs ≥21 GB/s · RTX 5090 ~4314, RTX 3090 Ti ~2427

Which Hardware Can Run Petitgpt?

BF16 · 0.3 GB

Petitgpt (BF16) requires 0.3 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 1+ GB is recommended. 52 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti. 163 devices with unified memory can run Petitgpt, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB).

By VRAM tier · typical GPUs and Macs at BF16
8 GB · RTX 4060BF16 · 0.3 GB · ~655 tok/s · 2K8 GB tier →
12 GB · RTX 3060 12GBBF16 · 0.3 GB · ~867 tok/s · 2K12 GB tier →
16 GB · RTX 5060 Ti 16GBBF16 · 0.3 GB · ~1079 tok/s · 2K16 GB tier →
24 GB · RTX 4090referenceBF16 · 0.3 GB · ~2427 tok/s · 2K24 GB tier →
Mac 32 GB · Mac Mini M4BF16 · 0.3 GB · ~311 tok/s · 2KMacs →
Mac 64 GB · Mac Studio M4 MaxBF16 · 0.3 GB · ~1416 tok/s · 2KMacs →

Alternatives to Petitgpt

Similar models

1
ModelScoreVRAMtok/sWhy it is similar
SmolLM 135M Instruct FP32modularai—0.4 GB~1524same size

Specifications

Publisher
yqi0
Parameters
125M
Context Length
2,048 tokens
Vocabulary Size
32,000
Release Date
2026-09-11
License
Apache 2.0

Frequently Asked Questions

How much VRAM does Petitgpt need?

Petitgpt requires 0.3 GB of VRAM at BF16.

VRAM = Weights + KV Cache + Overhead

Weights = 125M × 16 bits ÷ 8 = 0.2 GB

KV Cache + Overhead ≈ 0.1 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

VRAM usage by quantization

0.3 GB

Learn more about VRAM estimation →

Can I run Petitgpt on a Mac?

Yes — MacBook Air 13" M3 (8 GB) and 145 other Macs can run Petitgpt. Apple Silicon uses unified memory, so the model shares RAM with the system. At BF16 you need at least 0.3 GB of usable unified memory (RAM minus macOS overhead).

Can I run Petitgpt locally?

Yes — Petitgpt can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Petitgpt?

At BF16, Petitgpt can reach ~17778 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~2427 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: NVIDIA B200 → 8000 ÷ 0.27 × 0.65 = ~19259 tok/s

Estimated speed at BF16 (0.3 GB)

~19259 tok/s
~2427 tok/s
~19259 tok/s
~17778 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Petitgpt?

At BF16, the download is about 0.25 GB.

Which GPUs can run Petitgpt?

52 consumer GPUs can run Petitgpt at BF16. Top options include AMD Radeon RX 6700 XT, AMD Radeon RX 6800, AMD Radeon RX 6800 XT. 52 GPUs have plenty of headroom for comfortable inference.

Which devices can run Petitgpt?

163 devices with unified memory can run Petitgpt at BF16 (0.3 GB), including AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.