Keep pace with the model ecosystem through our inference optimization community, adapting and tuning new models for rapid import, configuration, and production deployment.
ModelSphereOpen source platform for production deployment and inference optimization
Take LLM inference from a working prototype to reliable production, and turn every GPU into an efficient token factory.
Built on Kubernetes, ModelSphere brings model deployment, cache-aware routing, SLO-based autoscaling, comprehensive observability, recovery from hangs within seconds and the Tuning Agent feedback loop together in a production-grade inference scheduling system that reliably handles large-scale traffic on heterogeneous hardware.
Applications
Claude
Codex
OpenClaw- Enterprise knowledge base
- Business agents
Standard API access

ModelSphere
Open source platform for production deployment and inference optimization
- Model deployment & tuning
- Cache-aware request routing
- Dynamic rate limiting
- Prefill/Decode separation
- Three-tier KV cache
- Quality-based autoscaling
- Automatic stream resumption
- Tuning Agent optimization
Unified deployment & service management
Integrated inference engines
- vLLM
- SGLang
- More engines
Hardware resource management & scheduling
AI accelerators
- Huawei Ascend
- Iluvatar
- Moore Threads
- Hygon
- NVIDIA
- More AI chips
Architectural Pillars
Four core technologies for production LLMs
Built for production engineering. ModelSphere combines advances in research with experience operating large-scale services in a standardized platform.
Set up an AI inference platform for production in minutes, with model serving, scheduling, autoscaling, observability, and operations built in. Manage your cluster through a unified Web UI without complex low-level tuning.
ModelSphere runs across heterogeneous AI hardware through one platform. It natively supports general-purpose GPUs and uses EngineX to integrate Huawei Ascend, Iluvatar CoreX, Moore Threads, and Hygon accelerators, bringing mixed-hardware nodes under unified management.
ModelSphere continuously integrates new inference optimizations. Built-in Tuning Agent adapts configurations to your models, hardware, and production workloads to improve latency, throughput, and resource efficiency.
Deploy performance-tuned models on Day 0
Choose a model and deployment variant in the model catalog, then deploy a tuned configuration with one click.

Stream resumption:Uninterrupted answers when a machine hangs or crashes
Use the resources of the entire compute cluster to protect model service quality for every user. No need to ask again, no error interruptions.
Detect anomalies immediately
Millisecond heartbeat detection proactively prevents single-GPU cascading failures
Automatically switch to another cluster machine
Health-aware topology scheduling moves requests to idle nodes in seconds
Continue the existing answer
Synchronize and migrate cached history for a coherent continuation
Please analyze the core principles and best practices for building enterprise LLM compute clusters in 2025.
The foremost principle of LLM cluster construction is [high throughput and disaster resilience]. In production under high concurrency, individual-node memory fluctuations, momentary network failures, or hardware hangs are inevitable.
The system must therefore support intelligent live context migration, automatically allocating healthy compute to continue the analysis without client retries, protecting core production workloads from hardware instability.
Stream resumption technology
Cluster background handover in seconds- 1Machine A
Responding to the request
Load 42%Healthy - 2Machine A
Unexpected failure / hang
Circuit breaker triggeredHardware interruption - 3Machine B
Scheduled takeover in seconds
Latency <18msZero loss - 4Machine B
Continue streaming the answer
Output restored100% coherent
ModelSphere Dynamic rate limiting: maximize compute utilization while maintaining service quality
Keep every model service on the platform meeting expected service quality, including response speed, generation fluency and consistently low jitter
Traditional static rate limiting
Hard thresholds based on fixed request counts or limits
Fixed thresholds cannot sense actual compute load, leaving capacity either idle or overloaded.
Why is static rate limiting hard to get right?
LLM compute demand fluctuates nonlinearly
Requests vary greatly
Everyday Q&A and 32k+ code analysis can differ by tens of times in memory usage, KV cache and duration.
Capacity changes in real time
Time-varying topologyContinuous batching, attention matrix utilization and node network load all affect processing capacity dynamically.
Traditional APM metrics cannot serve as a basis for static thresholds in Transformer architectures.
ModelSphere dynamic rate limiting
Sense hardware load and adjust concurrency thresholds in milliseconds
An elastic concurrency ceiling that wastes no GPU cycles.
Higher utilization
Automatically admit more traffic when compute is available, eliminate idle gaps and maximize output from high-performance resources.
A more stable experience
Millisecond backoff protects against peak traffic and long tasks, preventing cascading overload while stabilizing time to first token (TTFT) and token generation speed.
Lower operational costs
No manual labelingReplace repeated manual load tests and parameter tuning with automatic adaptation to throughput baselines across colocated models.
Smart compute scheduling · Eliminate idle resources
Dynamic compute scaling:
Allocate to model traffic in real time
Keep compute fully utilized, 24/7
Overcome the limits of binding models to fixed compute: wasted resources off-peak and insufficient capacity at peak demand.
Measure model usage in real time
Scale compute automatically with traffic
Eliminate waste from idle compute
Large amounts of compute sit idle off-peak
Compute follows traffic, keeping the cluster 100% utilized
Cluster compute pool: 10 fixed GPUs, seamlessly reallocated in real time
Daytime peak 09:00
High office workload traffic
and reallocate
Regular hours 15:00
Balanced traffic
scaling
Nighttime peak 23:00
High nighttime task traffic
Compute scales with model traffic in real time, with the combined allocation always at 100%, eliminating idle compute
Tuning Agent continuous optimization
ModelSphere connects real production traffic, idle off-peak compute, hyperparameter grid search, and zero-downtime canary releases in an automated optimization loop, reducing manual trial-and-error benchmarking.
From manual experiments to continuous improvement
Use idle compute to unlock hardware potential and make inference faster over time.
Static test datasets → Real traffic features from a 7-day sliding window
Benchmarks consuming production resources → Concurrent grid search on idle off-peak compute
Restarting services to update parameters → Automatically validate the best configuration and hot-load it in production without downtime
Reliable, low-latency, highly available service
Deploy the best configuration with seamless hot reload
Continuous optimization loop
TUNING AGENTBuild sliding-window datasets and prefix topology
Select the best inference configuration using real workloads
Search inference hyperparameters in parallel during off-peak hours
Ready to accelerate your LLM inference cluster?
Explore the open source code and build the next generation of inference infrastructure with AI engineers.
