Run open-source LLMs as OpenAI-compatible API servers with one command
open sourceApache-2.0self-hostablefree
OpenLLM is a command-line tool from the makers of BentoML that runs open-source LLMs (DeepSeek, Llama, Qwen, Gemma, Phi and more) or custom models as OpenAI-compatible API servers with one command, such as openllm serve llama3.2:1b. The server listens on localhost:3000, so any OpenAI client or tool can call it, and it comes with a built-in chat UI and a CLI chat. A model repository lists each model's GPU needs, custom repositories add your own models, and it builds deployments for Docker and Kubernetes. It installs from PyPI; it stores no model weights, and gated models need a Hugging Face token.
Problems it solves
- serve an open-source LLM behind an OpenAI-compatible API on my own GPU
- point my OpenAI client at a self-hosted Llama or Qwen model
- spin up a chat UI for a local model with one command
Features
- one command to serve an open-source LLM as an OpenAI-compatible API
- a built-in chat UI and CLI chat
- a model repository with each model's GPU needs, plus custom repositories
- deployments for Docker and Kubernetes
Limitations
- It doesn't store model weights; gated models need a Hugging Face token.1
Alternatives
The same job
These do what OpenLLM does.
- vLLM A high-throughput and memory-efficient inference and serving engine for LLMs
- Ollama Start building with open models, locally or in the cloud
- Ray Serve Scalable model serving library for building online inference APIs
- LocalAI Your own AI, on your own hardware
- SGLang Fast inference for LLMs and multimodal models
- NVIDIA Dynamo-Triton Open source inference serving software that deploys AI models from any major framework
