stable-diffusion.cpp
Diffusion model inference in pure C/C++
About stable-diffusion.cpp
AI Model Servingdescription verified Oct 31, 2026
stable-diffusion.cpp provides diffusion model inference in pure C/C++. It is wrapped by projects for easier use in other languages and frameworks, and used as a backend for image generation.
Key features
5- Plain C/C++ implementation based on ggml
- Lightweight without external dependencies
- CPU backend with AVX/AVX2/AVX512
- Flash Attention memory optimization
- VAE tiling to reduce memory usage
AI-drafted from upstream quotes — pending human review
Deployment channels
- Build from source
- GitHub stars
- 8,113
- verified 2026-11-23
- Docker pulls
- Not documented
- GitHub forks
- 986
- verified 2026-11-23
- Open issues
- 291
- verified 2026-11-23
- Latest version
- master-1117-0d71f96
- verified 2026-11-23
Client platform matrix
stable-diffusion.cpp official and third-party clients across 8 platforms · 0 with an official client
Probed daily · last check 2026-11-23 06:29:08
| Platform | Support | Client | Channels | Verified |
|---|---|---|---|---|
| iOS | Not documented | Not documented | Not documented | Not documented |
| Android | Not documented | Not documented | Not documented | Not documented |
| Android TV | Not documented | Not documented | Not documented | Not documented |
| Web | Not documented | Not documented | Not documented | Not documented |
| Windows | Not documented | Not documented | Not documented | Not documented |
| macOS | Not documented | Not documented | Not documented | Not documented |
| Linux | Not documented | Not documented | Not documented | Not documented |
| tvOS | Not documented | Not documented | Not documented | Not documented |
Alternatives
Other self-hosted apps in the same category.
stable-diffusion.cpp compared
Head-to-head pages generated from the same database rows.
GPUStack vs stable-diffusion.cpp
GPUStack (Apache-2.0, Python) vs stable-diffusion.cpp (MIT, C++) — different licenses and stacks.
AI Model Serving
LLMKube vs stable-diffusion.cpp
LLMKube (Apache-2.0, Go) vs stable-diffusion.cpp (MIT, C++) — different licenses and stacks.
AI Model Serving
LocalAI vs stable-diffusion.cpp
LocalAI (MIT, Go) vs stable-diffusion.cpp (MIT, C++) — same license, different stacks.
AI Model Serving
LoLLMs WebUI vs stable-diffusion.cpp
LoLLMs WebUI (Apache-2.0, Python) vs stable-diffusion.cpp (MIT, C++) — different licenses and stacks.
AI Model Serving
NextGIS Web vs stable-diffusion.cpp
NextGIS Web (GPL-3.0, Python) vs stable-diffusion.cpp (MIT, C++) — different licenses and stacks.
AI Model Serving
Ollama vs stable-diffusion.cpp
Ollama (MIT, Go) vs stable-diffusion.cpp (MIT, C++) — same license, different stacks.
AI Model Serving
Platform pages
Every platform matrix on this site, and the slice for this app's category.