#7676th of 109 in Model serving
sonar
vLLM-based inference engine for Hugging Face models with OpenAI-compatible API
- Stars
- 1.9k
- License
- AGPL-3.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
1,701 on 28 Apr 20261,914 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Sonar is a vLLM-based inference engine that serves Hugging Face-compatible language and multimodal models with continuous batching, paged KV cache, quantization and speculative decoding. It adds model and quantization formats, sampling methods, kernels and platforms beyond upstream. The server listens on port 2242 and exposes OpenAI, Anthropic, Kobold, pooling, scoring and transcription APIs.
Who it is for: Engineers self-hosting LLM inference who want a vLLM-style server
Strengths
- Tensor, pipeline, data and expert parallelism, with multi-node serving without a Ray cluster
- Speculative decoding methods include MTP, EAGLE, DSpark, DFlash and n-gram
- Many API surfaces: OpenAI, Anthropic, Kobold, embeddings, reranking, transcription
- Installer covers CUDA, ROCm, CPU and Apple silicon Metal; prefix caching on by default
Weaknesses
- Derived from vLLM, so it depends on tracking upstream changes
- AGPL-3.0 license adds obligations for modified versions served over a network
- Support varies by model, device, dtype and quantization; matrices must be checked
- Primary install path is a curl-to-bash script
What it needs
- GPU optional
- Docker
- Needs PyTorch, NIXL (optional, for prefill/decode disaggregation)
- Models: Hugging Face-compatible LLMs, multimodal (image, audio, video), embedding models, LoRA adapters, quantized weights
- port 2242
What changed
- v0.25.0 ↗ (opens in a new tab)Breaking
“feat!: rename Aphrodite Engine to Sonar (49c386154) by AlpinDale”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Model serving
See all 109| Rank | Project | Score |
|---|---|---|
| #74 | bentomlPython library for turning model inference code into batched REST APIs | 63 out of 100 |
| #75 | splashApple silicon inference server with speculative decoding and OpenAI/Anthropic APIs | 63 out of 100 |
| #77 | distributed-llamaSplit LLM inference across home devices over Ethernet using tensor parallelism | 62 out of 100 |
| #78 | kvcachedElastic KV cache for vLLM and SGLang using GPU virtual memory | 61 out of 100 |
| #79 | Text Generation Web UILocal LLM chat UI and API with five switchable loader backends | 60 out of 100 |