The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

A Kubernetes orchestration system for self-hosted LLMs cuts per-query GPU costs by up to a third and trims latency by nearly a third versus static deployments. Improved hybrid routing and adaptive scaling also raise successful responses by over 20%, making in-house model hosting materially cheaper and more reliable.

Efficient Multi-Model Orchestration for Self-Hosted Large Language Models
Bhanu Prakash Vangala, Tanu Malik · December 26, 2025
arxiv descriptive medium evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Bhanu Prakash Vangala unresolved corpus identity
  2. Tanu Malik unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Bhanu Prakash Vangala provider ID
  2. Tanu Malik provider ID
Pick and Spin, a Kubernetes-based orchestration framework with adaptive scaling and hybrid routing, reduces per-query GPU cost by up to 33%, cuts latency by up to 30%, and increases success rates by up to 21.6% compared with static model deployments across multiple LLMs and benchmarks.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Self-hosting large language models (LLMs) is increasingly appealing for organizations seeking privacy, cost control, and customization. Yet deploying and maintaining in-house models poses challenges in GPU utilization, workload routing, and reliability. We introduce Pick and Spin, a practical framework that makes self-hosted LLM orchestration scalable and economical. Built on Kubernetes, it integrates a unified Helm-based deployment system, adaptive scale-to-zero automation, and a hybrid routing module that balances cost, latency, and accuracy using both keyword heuristics and a lightweight DistilBERT classifier. We evaluate four models, Llama-3 (90B), Gemma-3 (27B), Qwen-3 (235B), and DeepSeek-R1 (685B) across eight public benchmark datasets, with five inference strategies, and two routing variants encompassing 31,019 prompts and 163,720 inference runs. Pick and Spin achieves up to 21.6% higher success rates, 30% lower latency, and 33% lower GPU cost per query compared with static deployments of the same models.

Summary

Main Finding

Pick and Spin (PS) is a practical Kubernetes-based orchestration framework for self-hosted multi-model LLM deployments that jointly optimizes model relevance, latency, and GPU cost. By combining keyword/semantic (DistilBERT) routing, a normalized multi-objective scoring function, and orchestration-aware scale-to-zero with warm pools, PS achieves materially better operational outcomes than static deployments—authors report up to 21.6% higher success rates, ~30% lower latency, and ~33% lower GPU cost per query in their experiments.

Key Points

  • Problem addressed: efficient, cost-conscious orchestration of multiple specialized LLMs in private/self-hosted environments while preserving privacy and reducing idle GPU waste.
  • System design:
    • Pick: routing layer that classifies query complexity (low/medium/high) using (a) keyword heuristics, (b) a fine-tuned DistilBERT classifier, or (c) a hybrid that uses keywords for simple queries and DistilBERT for ambiguous ones.
    • Spin: orchestration layer that activates/deactivates model-backend service instances, maintains warm pools, uses Little’s Law for capacity planning, enforces cooldowns to avoid oscillation, and scales idle services to zero.
    • Deployed on Kubernetes with a unified Helm umbrella chart; uses backends such as vLLM, TensorRT-LLM, and TGI; integrates Knative/KEDA for autoscaling.
  • Decision model: a normalized multi-objective score f(p,Sx,y) = wRR̂ + wTT̂ + wC*Ĉ (weights derived from operator preference parameters α, λ, µ) to trade off relevance, latency, and cost.
  • Operator profiles provided (quality-, cost-, speed-, balanced-oriented) to reflect different deployment priorities.
  • Routing performance: DistilBERT classifier achieves 96.8% accuracy on a held-out validation split for 3-way complexity classification.
  • Evaluation results: based on tens of thousands of prompts and >160k inference runs, PS improved success rate, latency, and GPU cost versus static baselines; baseline overall success rate reported as 77.1% (completion reliability, not task correctness).

Data & Methods

  • Datasets: 31,019 unique prompts compiled from eight public benchmarks covering diverse tasks:
    • HumanEval, GSM8K, MBPP, TruthfulQA, ARC, HellaSwag, MATH, MMLU Pro.
  • Models & backends:
    • Models evaluated (paper mentions): Llama-3 (70B and 90B), Gemma-3 (27B), Qwen-3 (235B), DeepSeek-R1 (685B). (Some experimental sections focus on Llama3 70B/90B and Gemma3 27B.)
    • Inference backends: vLLM (throughput-optimized), TensorRT-LLM (latency-optimized), TGI (memory-efficiency).
  • Scale of experiments: 31,019 prompts and 163,720 inference runs across multiple models, backends, and five inference strategies (baseline, quality-oriented, cost-optimized, speed-optimized, balanced).
  • Routing model training:
    • DistilBERT fine-tuned for 3-way complexity classification.
    • Training hyperparameters: AdamW, batch size 32, learning rate 2e-5, 100 epochs.
    • Labeling: best performing model tier per prompt (by accuracy/latency trade-off) used as supervisory label.
  • Orchestration algorithms:
    • Algorithm 1: orchestration-aware scaling using Little’s Law to estimate target replicas, warm pool minimums, cooldowns and idle time scaling to zero.
    • Algorithm 2: matrix selection over model×backend service instances, computing normalized relevance/latency/cost and selecting argmax f(p, Sx,y).
  • Metrics:
    • Success rate (completion within time/token limits), average latency, throughput, time-to-first-token (TTFT).
    • Cost metric: GPU cost per query aggregated from per-service telemetry and historical normalization.

Implications for AI Economics

  • Lower operational cost per query: PS reduces wasted GPU time and cold-start overheads, directly lowering variable inference costs. Reported ~33% lower GPU cost per query is economically material for high-volume deployments.
  • Better resource utilization and capital efficiency: adaptive scale-to-zero and warm pools enable organizations to run larger-capability models without continuously provisioning expensive GPU capacity, improving utilization of owned or leased hardware and lowering effective TCO.
  • Competitive alternative to API-based models: improved economics and preserved privacy strengthen the business case for self-hosting among enterprises with moderate-to-high usage, potentially reducing demand for third-party API calls and affecting cloud/LLM API revenue streams in specific segments (regulated industries, research institutions).
  • Productization opportunity: orchestration systems like PS create market demand for orchestration-as-a-service, managed Kubernetes with LLM-aware autoscaling, and tooling that exposes operator profiles (speed vs cost vs quality) as product features.
  • Pricing and procurement shifts:
    • Organizations may prefer upfront capital investment (GPUs, infra) plus orchestration software rather than per-query API costs, changing procurement decisions and cashflow considerations (capex vs opex).
    • Cloud providers may respond with hybrid offers (managed self-hosted orchestration, reserved GPU capacity, or enhanced autoscaling primitives) to retain customers.
  • Risk and caveats for economic impact:
    • Measured success rate in the paper denotes completion reliability (inference success) rather than downstream task correctness or business KPI improvements—economic benefits depend on end-to-end utility.
    • Realized savings will vary with workload mix, query volumes, model family choices, and local energy and labor costs; results in the paper are benchmark-driven and may not fully generalize to every production workload.
    • Operational complexity and engineering effort to deploy and maintain PS may offset some savings; managed orchestration offerings or higher-level automation will affect net economics.
  • Policy and market effects: enabling lower-cost private deployments can increase AI adoption in regulated sectors (healthcare, finance), shifting competitive dynamics and potentially prompting new contractual/pricing models from cloud and model vendors.

Limitations & notes - Some sections of the paper reference different sets of models (three vs four) across experiments; interpret numeric gains as system-level improvements observed under the authors’ testbeds rather than guaranteed outcomes across all infra setups. - Success rate metric measures inference completion within constraints; it is not a direct measure of task correctness or downstream business value. - Savings and latency improvements are conditional on workload characteristics (mix of low/medium/high complexity prompts) and the accuracy of the routing model.

Assessment

Paper Typedescriptive Evidence Strengthmedium — The paper reports a large, systematic set of controlled experiments (31,019 prompts, 163,720 inference runs) comparing the proposed orchestration framework to static deployments across multiple models, benchmarks, and routing strategies; this provides direct empirical evidence of performance, cost, and reliability gains. However, the evaluation appears limited to benchmark datasets and specific deployment configurations, lacks randomized field experiments or causal identification beyond experimental comparisons, and may not capture production traffic patterns or diverse hardware/cloud pricing scenarios. Methods Rigormedium — The authors evaluate multiple model sizes, inference strategies, and routing variants at scale and report concrete metrics (success rate, latency, GPU cost per query), which indicates good experimental breadth. Missing or unclear details (hardware specs, workload arrival patterns, statistical uncertainty, sensitivity analyses, and real-world deployment case studies) reduce reproducibility and make it harder to assess robustness across environments. SampleEvaluation uses four LLMs (Llama-3 90B, Gemma-3 27B, Qwen-3 235B, DeepSeek-R1 685B), eight public benchmark datasets, five inference strategies, and two routing variants; total 31,019 prompts and 163,720 inference runs executed on a Kubernetes-based self-hosting setup implementing Helm deployments, adaptive scale-to-zero, and a hybrid router using keyword heuristics plus a DistilBERT classifier. Paper reports success rate, latency, and GPU cost per query comparisons versus static model deployments; hardware details and cloud pricing assumptions are not specified in the summary. Themesadoption org_design productivity GeneralizabilityResults likely depend on the specific hardware, GPU types, and instance pricing used, which are not fully described., Benchmarks are public datasets and may not reflect production traffic patterns, adversarial prompts, or domain-specific queries., Routing classifier (DistilBERT) and keyword heuristics may not generalize to other languages, domains, or user behaviors., Evaluation covers four models but omits many architectures, quantization schemes, and edge-device deployment modes., Cost and latency improvements may differ under managed cloud services, different Kubernetes setups, or varying SLAs and load spikes.

Claims (6)

ClaimDirectionOutcomeConfidence & EvidenceDetails
Pick and Spin is a practical framework that makes self-hosted LLM orchestration scalable and economical. Other positive scalability and economical orchestration
Reading fidelity high
Study strength medium
not reported
0.18
Pick and Spin is built on Kubernetes and integrates a unified Helm-based deployment system, adaptive scale-to-zero automation, and a hybrid routing module that balances cost, latency, and accuracy using both keyword heuristics and a lightweight DistilBERT classifier. Other positive system architecture/features
Reading fidelity high
Study strength high
not reported
0.3
We evaluate four models (Llama-3 (90B), Gemma-3 (27B), Qwen-3 (235B), and DeepSeek-R1 (685B)) across eight public benchmark datasets, with five inference strategies, and two routing variants encompassing 31,019 prompts and 163,720 inference runs. Other positive experimental scope (models, datasets, prompts, runs)
Reading fidelity high
Study strength high
n=31019
0.3
Pick and Spin achieves up to 21.6% higher success rates compared with static deployments of the same models. Output Quality positive success rate
Reading fidelity high
Study strength medium
n=163720
up to 21.6% higher success rates
0.18
Pick and Spin achieves up to 30% lower latency compared with static deployments of the same models. Task Completion Time positive latency
Reading fidelity high
Study strength medium
n=163720
30% lower latency
0.18
Pick and Spin achieves up to 33% lower GPU cost per query compared with static deployments of the same models. Organizational Efficiency positive GPU cost per query
Reading fidelity high
Study strength medium
n=163720
33% lower GPU cost per query
0.18

Notes