K-AI
K-AI: self-hosted inference and routing

Your own inference provider.

K-AI turns the GPUs you own, and the ones you rent by the hour, into one OpenAI-compatible endpoint with a queue, access control, usage tracking and a built-in knowledge base.

OpenAI-compatible APIvLLM enginesRunPod burstKnowledge graph + vectorsMCPSSO + scoped API keys
Not available for general use yet. K-AI is under active development and this site describes the project. Curious, or want to follow along? Get in touch.

What it does

One endpoint, many places

Chat front ends and software talk to a single API. K-AI decides whether a request runs on a GPU at home, a Docker host, or a rented pod, and queues it fairly when everything is busy.

Pay for GPUs only when used

Rented RunPod pods start on demand, load models from a network volume, and stop themselves after an idle period. A spend cap keeps the bill predictable.

Knowledge that follows the model

Attach one or more knowledge bases to a model profile. Passages are injected into the prompt or exposed as a search tool, and only if the caller's key may read them.

Your data stays yours

Models, documents and the knowledge graph live on infrastructure you control. Sign-in is your own SSO; software uses personal keys with narrow grants.

Profiles instead of command lines

A profile captures a model, its context length, parsers and where it may run. Switching between profiles that share the same load needs no restart.

Operable by one person

A control panel for profiles, nodes, RunPod, keys and usage, with guards against the expensive mistakes: duplicate pods, runaway spend, loading a model that will not fit.

The shape of it

Clients sign in or present a key, the router resolves the model to a profile, optionally grounds it in knowledge, and sends it to the node that already serves it. If none does, it loads the model, or tells you exactly why it cannot.

ClientsEdgeK-AI control planeCompute (your nodes and rented pods)Knowledge storagechat APIknowledge APIground a chatChat front end(Open WebUI or any)Apps, scripts, SDKs(OpenAI-compatible)Agents over MCP(search your knowledge)Single sign-on for people · personal API keys with grants for softwareControl panelprofiles · nodes · keys · usageK-AI routerqueue · dispatcher · profiles · groundingKnowledge APIREST + MCP, per-base grantsHome GPU node(Linux, node agent)Docker node(Windows / Linux)RunPod podsstart on demand, stop idleKnowledge nodeembed + extract modelsGraph + vector databaseText extraction
Everything speaks the OpenAI API at the front and the router decides where each request runs.

Follow a request step by step →

Built for

Home labs

Turn a Windows gaming PC and a few Linux boxes into a shared model service with real access control.

Private research libraries

Turn shelves of PDFs and ebooks into searchable, graph-linked knowledge for any model you run.

Small teams

Give each person and each tool its own key, see who used what, and cap what it can cost.

More use cases →