kubeai logo

kubeai

kubeai-project/kubeai

AI Inference Operator for Kubernetes

GraphCanon updated 3w · GitHub synced 3w

1.2k stars131 forksLast push 3w Go Apache-2.0

Decision brief

kubeai is an AI Inference Operator for Kubernetes that simplifies serving ML models in production environments and optimizes performance at scale.

Good fit when

  • - When you need to operate vLLM and Ollama servers for LLM inferencing
  • - For speech processing with audio transcription using FasterWhisper

Avoid when

  • - When your setup requires non-standard Kubernetes services that mandate the use of Istio or similar dependency injection systems
  • - If you're working in a constrained environment where zero-dependency is not desirable due to specific requirements for extended observability tools like Prometheus

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (2d since push)
As of 3w
Provenance
Not a fork · Organization account
As of 3w
Security (OSV)
36 low (36 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

go get github.com/kubeai-project/kubeai
pkg.go.dev

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Serves machine learning models in production on Kubernetes, supporting LLMs, embeddings, speech-to-text, and more.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 2, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 2, 2026

Languages
go

Source: github.language · Aug 2, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Aug 2, 2026)

### OpenAI API Compatibility
Source link

Tags

README

KubeAI: AI Inferencing Operator

Badge image Badge image Badge image Badge image Badge image

Deploy and scale machine learning models on Kubernetes.

Built for LLMs, embeddings, reranking and speech-to-text.

Highlights

What is it for?

🚀 LLM Inferencing - Operate vLLM and Ollama servers
🎙️ Speech Processing - Transcribe audio with FasterWhisper
🔢 Vector Embeddings - Generate embeddings with Infinity
📚 Reranking - Reorder search results with cross-encoder models

What do you get?

⚡️ Intelligent Scaling - Scale from zero to meet demand
📊 Optimized Routing - Dramatically improves performance at scale (see paper)
💾 Model Caching - Automates downloading & mounting (EFS, etc.)
🧩 Dynamic Adapters - Orchestrates LoRA adapters across replicas
📨 Event Streaming - Integrates with Kafka, PubSub, and more

We strive for an "it justs works" experience:

🔗 OpenAI Compatible - Works with OpenAI client libraries
🛠️ Zero Dependencies - Does not require Istio, Knative, etc.
🖥 Hardware Flexible - Runs on CPU, GPU, or TPU

Quotes from the community:

reusable, well abstracted solution to run LLMs - Mike Ensor, Google

Why KubeAI?

Better performance at scale

When running multiple replicas of vLLM, the random load balancing strategy built into kube-proxy that backs standard Kubernetes Services performs poorly (TTFT & throughput). This is because vLLM isn't stateless, its performance is heavily influenced by the state of its KV cache.

The KubeAI proxy includes a prefix-aware load balancing strategy that optimizes KV cache utilization - resulting in dramatic improvements to overall system performance.

See the full paper for more details.

Simplicity and ease of use

KubeAI does not depend on other systems like Istio & Knative (for scale-from-zero), or the Prometheus metrics adapter (for autoscaling). This allows KubeAI to work out of the box in almost any Kubernetes cluster. Day-two operations is greatly simplified as well - don't worry about inter-project version and configuration mismatches.

The project ships with a catalog of popular models, pre-configured for common GPU types. This means you can spend less time tweaking vLLM-specific flags. As we expand, we plan to build out an extensive model optimization pipeline that will ensure you get the most out of your hardware.

OpenAI API Compatibility

No need to change your client libraries, KubeAI supports the following endpoints:

/v1/chat/completions
/v1/completions
/v1/embeddings
/v1/rerank
/v1/models
/v1/audio/transcriptions

Architecture

KubeAI consists of two primary sub-components:

1. The model proxy: the KubeAI proxy provides an OpenAI-compatible API. Behind this API, the proxy implements a prefix-aware load balancing strategy that optimizes for KV the cache utilization of the backend serving engines (i.e. vLLM). The proxy also implements request queueing (while the system scales from zero replicas) and request retries (to seamlessly handle bad backends).

2. The model operator: the KubeAI model operator manages backend server Pods directly. It automates common operations such as downloading models, mounting volumes, and loading dynamic LoRA adapters via the KubeAI Mode

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.