What is this?
OpenLLM lets you run open-source LLMs like Llama, DeepSeek, Mistral and Qwen as OpenAI-compatible API endpoints with a single command, including a built-in chat UI and cloud deployment support.
Is this a library I import, or a server I run?
It is a CLI tool/server: you run 'openllm serve' to start an inference server exposing OpenAI-compatible endpoints, plus a chat UI.
How do I get a model running?
Install OpenLLM, then run 'openllm serve : ' (e.g. 'openllm serve llama3.1:8b') to start a local server with OpenAI-compatible APIs.
Do I need a Hugging Face token to use any model?
Only for gated models: you need to create a Hugging Face token, request access to the gated model, and set it as the HFTOKEN environment variable.
How much GPU memory do I actually need?
It varies hugely by model, from 12G for small models like Gemma2 2B up to 80Gx16 for DeepSeek R1 671B, so picking the right model for your hardware matters.
Can I use custom models not in the default list?
Yes, you can add a model repository to run custom models with OpenLLM beyond its default supported model list.
Does it support cloud deployment beyond local serving?
Yes, it simplifies enterprise-grade cloud deployment with Docker, Kubernetes, and BentoCloud, and you can run model inference via the BentoCloud console once deployed.
What inference backend does OpenLLM use under the hood?
It uses vLLM as the production-level LLM backend and BentoML for model serving, plus astral-sh/uv for fast dependency installation.
Can I use the API with existing OpenAI client libraries?
Yes, the server exposes OpenAI-compatible endpoints that work with tools like the OpenAI Python client and LlamaIndex.
What are similar projects?
ludwig, Soup, GLM-5.3-Flash-EXL3-2x-DGX-Sparks-TensorFold, skypilot, DeepAnalyze, higgsfield, unsloth, Qwen3.8-27B-16gb-NVIDIA-GPUs-one-click-install
Which topics is it in?
llm-ops, llama2, mistral, llmops, llm-serving, mlops, llama, chat, llm-inference, fine-tuning, local-llm, openai-compatible