aicoolies logoaicoolies logo
LMDeploy logo

LMDeploy

Open-source toolkit for quantizing, deploying, and serving LLMs and vision-language models

at a glance
verified specs
Pricing Model
open-source
License
Open Source
Telemetry
Clean
Last Verified
Aug 26, 2026
Supported Platforms
Python package, Docker and source builds for self-hosted LLM/VLM inference; TurboMind and PyTorch engines; Linux/Windows plus documented NVIDIA CUDA, AMD ROCm and other accelerator paths.
Primary Categories
Model Providers, Self-Hosted Platforms, DevOps & Deployment
Key Use Cases
Self-Hosted Deployment, AI Model Training, DevOps Automation, API Integration
Tags
Open Source, Self-Hosted, Python, Model Serving, Fast Inference, inference-engine

LMDeploy is an Apache-2.0 toolkit for self-hosting LLM and vision-language model inference with TurboMind and PyTorch engines. It combines continuous batching, blocked KV cache, tensor parallelism, AWQ and KV-cache quantization with OpenAI-compatible APIs, multi-GPU distribution, offline pipelines, and production metrics.

LMDeploy is an open-source toolkit for teams that need to compress, deploy, and serve large language or vision-language models on infrastructure they control. The project provides two inference paths: the CUDA-focused TurboMind engine for optimized production serving and a Python-native PyTorch engine that lowers the barrier for experimentation and new model support. Official documentation covers offline pipelines, OpenAI-compatible and Anthropic-compatible endpoints, tool calling, structured output, LoRA serving, multi-model request distribution, tensor parallelism, context parallelism, speculative decoding, and production metrics. That breadth makes LMDeploy a serving layer rather than a hosted model provider or a desktop chat application.

Performance claims need careful attribution. LMDeploy's own documentation reports up to 1.8 times higher request throughput than vLLM for a cited configuration and reports 4-bit inference up to 2.4 times faster than FP16, but those are project benchmarks rather than independent guarantees. The documented optimization set is concrete: persistent or continuous batching, blocked KV cache, dynamic split-and-fuse scheduling, high-performance CUDA kernels, weight-only quantization, INT4 or INT8 KV-cache quantization, AWQ, GPTQ, automatic prefix caching, and multi-GPU distribution. The current install guide supports Python 3.10 through 3.13 and documents NVIDIA CUDA, AMD ROCm, Ascend, Cambricon and MACA paths, with hardware support varying by backend.

Choose LMDeploy when a team wants an Apache-licensed inference server with both model compression and serving in one stack, especially for InternLM, Qwen, Llama, DeepSeek, InternVL, or other models listed in its compatibility tables. It is not a managed endpoint: operators still own GPU sizing, drivers, model licenses, observability, scaling, security and cloud spend. Teams should validate their exact model, quantization mode, context length and accelerator against the supported-model tables before standardizing. vLLM, SGLang and Hugging Face Text Generation Inference remain useful alternatives when their model coverage, ecosystem integrations or operational conventions fit better.

Pricing & Platform Specs

Pricing Summary

LMDeploy is free and open-source under the Apache License 2.0. Teams can deploy and serve large language models on private GPU clusters with zero software licensing costs.

full pricing breakdown →

Supported Platforms

Python package, Docker and source builds for self-hosted LLM/VLM inference; TurboMind and PyTorch engines; Linux/Windows plus documented NVIDIA CUDA, AMD ROCm and other accelerator paths.

High-throughput LLM serving engine

vLLM is an Apache-2.0 LLM inference and serving engine focused on high-throughput self-hosted model APIs. It combines PagedAttention, continuous batching, prefix caching, quantization options, OpenAI-compatible serving, structured outputs, metrics, Docker/Kubernetes deployment guidance and integrations with agent and LLM frameworks.

Open Source

Fast serving framework for LLMs and vision models

SGLang is an open-source serving framework for large language and vision-language models, designed for low latency and high throughput. It features RadixAttention for automatic KV cache reuse, compressed finite state machines for fast structured output generation, continuous batching, and tensor parallelism. With over 25,000 GitHub stars, it supports models like LLaMA, Mistral, Qwen, and Gemma on NVIDIA and AMD GPUs.

Open Source

Hugging Face's production LLM serving framework

Text Generation Inference (TGI) is Hugging Face's production-ready serving framework for large language models. It features flash attention, continuous batching, tensor parallelism, quantization via GPTQ/AWQ/EETQ, and Safetensors support. Powers Hugging Face's Inference API and Inference Endpoints, with an OpenAI-compatible API and Docker deployment. Supports LLaMA, Mistral, Falcon, and other popular model architectures.

Open Source

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is LMDeploy?

LMDeploy is an Apache-2.0 toolkit for self-hosting LLM and vision-language model inference with TurboMind and PyTorch engines. It combines continuous batching, blocked KV cache, tensor parallelism, AWQ and KV-cache quantization with OpenAI-compatible APIs, multi-GPU distribution, offline pipelines, and production metrics.

Is LMDeploy free?

Yes — LMDeploy is open source and free to use. LMDeploy is free and open-source under the Apache License 2.0. Teams can deploy and serve large language models on private GPU clusters with zero software licensing costs.

Is LMDeploy open source?

Yes — LMDeploy is open source.

Is LMDeploy still maintained?

Yes — LMDeploy is active. Its listing was last verified on August 26, 2026.

What are the best LMDeploy alternatives?

The first editor-selected LMDeploy alternatives are vLLM, SGLang, Text Generation Inference.