D
deepseek-ai/DeepInfer★ 27,715 · Python
An accelerator-tuned offline inference engine for DeepSeek-V4.1-Flash
Apache-2.0 · Commercial Friendly
Side-by-side 2026 comparison in LLMs & Inference: songquanpeng/one-api leads in total GitHub adoption (★ 37.5k), while deepseek-ai/DeepInfer shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
An accelerator-tuned offline inference engine for DeepSeek-V4.1-Flash
Self-hosted OpenAI-compatible gateway for LLM routing and API key management
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | deepseek-ai/DeepInfer | songquanpeng/one-api |
|---|---|---|
| Total GitHub Stars | ★ 27,715 | ★ 37,512 |
| 24h / 7d Velocity | +93 / +1.3k | +4 / +56 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 89/100 | B · 62/100 |
| Deployment Signals | GPU · Local AI | Docker · Self-Hosted · API |
| Primary Language | Python | JavaScript |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 2d ago | Updated 10mo ago |
| Latest Release | Rolling commits (main) | v0.6.10 |
| Best For | Teams with supported SM100 or Ascend 950 hardware that need to benchmark or integrate DeepSeek-V4.1-Flash offline, with explicit control over parallel execution and reproducibility | Teams with several OpenAI-compatible clients that need to share approved upstream providers without distributing provider credentials to each application |
DEEPINFER_ENABLE_MTP_VARLEN=1 enables confidence-scheduled verification; DEEPINFER_USE_NEXTN_DECODE caps draft length, defaulting to 5.### Offline inference The default checkpoint, [`deepseek-ai/DeepSeek-V4.1-Flash-1017`](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017), is downloaded into the Hugging Face cache on the first run; set `DEEPINFER_HF_MODEL_DIR=/path/to/DeepSeek-V4.1-Flash-1017` to run from a local copy instead.
# 使用 SQLite 的部署命令: docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api # 使用 MySQL 的部署命令,在上面的基础上添加 `-e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi"`,请自行修改数据库连接参数,不清楚如何修改请参见下面环境变量一节。 # 例如: docker run --name one-api -d --restart always -p 3000:3000 -e SQL_DSN="root:123456@tcp(localhost:3306)/oneapi" -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy