LLM Gateway vs SGLang
LLM Gateway
llmgateway.ioSGLang
sglang.ioSide by side
| Figure | LLM Gateway | SGLang |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | Yes | — |
| Web | Yes | — |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 1 |
| Spec score · LLM gateways | 9.1 (#3) | 8.4 (#11) |
| Spec score · LLM Gateway Software | 8.7 (#6) | 8.1 (#12) |
| Caching | Projects can enable response caching to reduce repeated-request latency and token expense. | The project describes hierarchical KV caching across GPU memory, host memory, and external storage through ecosystem projects including HiCache, Mooncake, and LMCache. |
| Integrations | Published integration guides cover Claude Code, Cursor, Cline, n8n, VS Code, Codex CLI, OpenCode, Continue, Kilo Code, Kimi Code and other coding tools. | The README lists deployment and orchestration integrations including Ray Serve, NVIDIA Dynamo, and llm-d. |
| Security | The company states that it is SOC 2 Type II audited and GDPR-aligned, and describes TLS in transit and AES-256 encryption at rest. | The repository identifies its license as Apache-2.0. |
| Support | The Free plan lists Discord Community support, while Enterprise includes 24/7 priority support through a dedicated Slack or Discord channel. | The project points users to GitHub issues, Slack, Discord, and community discussions for questions and help. |
Plans
In their own words
LLM Gateway
LLM Gateway provides one OpenAI-compatible API for routing requests among more than 250 models from over 40 providers. If a provider errors, times out, or rate-limits a request, it can retry up to twice with another provider for the same model. Its dashboard tracks request, token, spend, latency, error, and cache metrics, with model and provider breakdowns. Teams can use their own provider API keys without a platform fee and pay providers directly. The open-source core is licensed under AGPLv3 and can be self-hosted for free; enterprise features require a license. The Free plan is free, billed free forever, and has a 5% fee on credit usage. It includes 200+ models across 40+ providers, activity logs and export, and 20 requests per minute on free models; paid models are not rate limited. Enterprise pricing is custom and not listed. It includes custom routing, unlimited data retention, a 99.9% uptime SLA, and 24/7 priority support. Published integration guides cover tools including Claude Code, Cursor, Codex CLI, Cline, n8n, and VS Code.
SGLang
SGLang is a free, open-source inference framework for serving large language, vision-language and diffusion models. It targets agentic workloads, reinforcement-learning rollouts and large-scale serving, from one GPU to distributed clusters. Runtime features include RadixAttention, prefix caching and multi-GPU parallelism. Listed optimizations include disaggregated prefill and decode, speculative decoding, a zero-overhead scheduler and optimized GPU kernels. Supported models include DeepSeek, Qwen, GPT-OSS, Llama, Mistral and GLM. SGLang works with Hugging Face and OpenAI APIs and exposes OpenAI-compatible endpoints. It installs with pip or Docker and supports self-hosted deployment. Hardware support spans NVIDIA and AMD GPUs, Google TPUs, Intel GPUs and CPUs, Apple Silicon, Huawei Ascend NPUs and Moore Threads GPUs. SGLang Diffusion adds image and video generation. The Apache-2.0 license permits open-source use.