aicoolies logo

LMDeploy

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

open sourceupdated Jul 18, 2026

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

Free, Apache-2.0 open-source software. Self-hosted GPU/CPU infrastructure, storage, networking and any cloud services are billed separately by the operator's providers.

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.

Categories

Tags

Use Cases

Alternatives

Related Tools

Claude

Claude

Top Pick

Anthropic's frontier AI assistant

Anthropic's AI assistant known for strong reasoning, nuanced writing, and extended context up to 200K tokens. Available in Opus (most capable), Sonnet (balanced), and Haiku (fast) tiers. Features web search, deep research, file analysis, code execution, artifacts, and Projects for organized workflows. Claude Code provides terminal-based agentic coding. API supports tool use, batch processing, and prompt caching. Available via claude.ai, mobile apps, and developer API.

freemium

Open Notebook

Private, self-hosted research notebooks with flexible AI models, source chat, and podcasts

Open Notebook is an MIT-licensed, self-hosted alternative to NotebookLM for collecting sources, chatting over research, generating reusable transformations, and producing multi-speaker podcasts. Its Docker stack keeps notebook data under the user's control while supporting 18-plus model providers, including local Ollama and LM Studio workflows.

Open SourceTelemetry

Text Embeddings Inference

Hugging Face's open-source inference server for embeddings, rerankers, and classifiers

Text Embeddings Inference is Hugging Face's Apache-2.0 server for high-throughput embedding, reranking, and sequence-classification models. TEI packages token-based dynamic batching, optimized Transformers kernels, Safetensors loading, OpenAI-compatible embedding endpoints, Prometheus metrics, and configurable OpenTelemetry tracing in deployable CPU and GPU images.

Open Source
openmeter

OpenMeter

Real-time usage metering and billing for AI, API, and DevOps products

OpenMeter is an Apache-2.0 open-source metering platform that ingests usage events, aggregates them into meters, and supports limits, entitlements, and usage-based billing. It fits AI, API, and DevOps products that need token-level reporting, customer usage visibility, or finance-ready chargeback data. Teams can self-host the core platform or evaluate OpenMeter's managed offering.

Open SourceTelemetry
flexprice

Flexprice

Usage metering and billing infrastructure for AI, API, and SaaS products

Flexprice is an AGPL-3.0 open-source platform for real-time usage metering, usage-based pricing, credits, entitlements, and billing workflows. It helps engineering and finance teams turn token, API, and feature events into billable usage across managed-cloud or self-hosted deployments. Use it when a product needs finance-grade chargeback and customer usage controls, not only LLM traces.

Open SourceTelemetry
MCP Context Forge logo

MCP Context Forge

IBM-backed ContextForge gateway for federating MCP, A2A, REST, and gRPC APIs

MCP Context Forge is IBM’s Apache-2.0 ContextForge project for operating a gateway, registry, and proxy across MCP servers, A2A agents, REST APIs, and gRPC services. It centralizes discovery, authentication, policy controls, federation, and observability, with deployment paths through PyPI, Docker, and Kubernetes.

Open Source