Platform documentation
How to install the onprem.ai platform, deploy and run models on your own hardware, call them through the inference API, and automate the control plane. Platform release 5.10.4.
Guides
- Getting StartedFirst steps: log in, deploy a model from a catalog, watch the download, and send your first request.
Installation
- Installing and updating the control planeThe one-line install of the control plane, its command line onprem-ai-ctl, what it leaves on the machine, how it updates itself, and how it is removed.
- Installing on VMware vSphereOne VM for the control plane, GPU VMs added and removed as demand changes.
- Installing on Proxmox VEOne VM for the control plane, GPU VMs added and removed as demand changes.
- Installing on Nutanix AHVOne VM for the control plane, GPU VMs added and removed as demand changes.
- Installing on KVM and libvirtOne VM for the control plane, GPU VMs added and removed as demand changes.
- Installing, updating, moving and removing an inference nodeThe one-line install of an inference node, the commands on the machine itself, updating it from the command line, adding it back or moving it to another control plane, and removing it completely.
- Adding or moving an inference nodeAdd a machine with GPUs to a control plane, or move a machine that already is an inference node to another control plane, step by step, with the one fix for every refusal on the way.
Authentication
- Single sign-onLet people sign in with the accounts your identity provider manages (Keycloak, Entra ID, Authentik, Okta or any OpenID Connect provider), by hand or from the deployment's environment.
- Signing in with KeycloakConnect the control plane to Keycloak step by step, on the Configuration page or from the deployment, with groups for the roles, sign-out at Keycloak and a Keycloak certificate from your own certificate authority.
- Signing in with authentikConnect the control plane to authentik step by step, on the Configuration page or from the deployment, with groups for the roles and sign-out at authentik.
- Signing in with ZitadelConnect the control plane to Zitadel step by step, with Zitadel roles for the control plane's roles and sign-out at Zitadel.
- Signing in with Better AuthConnect the control plane to a Better Auth server as its identity provider, step by step, with groups for the roles and sign-out at Better Auth.
Models and deployments
- Deploying modelsDeploy a model as one inference service with any number of replicas on any inference nodes, and read the GPU memory each replica allocates.
- CatalogsAdd a catalog of model profiles, change its profiles in the browser or over the API, try changes in drafts, and keep it up to date.
- Env filesPass variables, secrets and files to a model's containers with versioned env files, attached per replica and pinned.
- Model logsRead a model's deployment log, even days later, follow a running model's live output from the Servers page, and read an inference node's own, kernel and out-of-memory daemon logs through the API.
- Tuning a Model's PerformanceMake a model faster on its GPUs with a guided search, research first, the answers checked, one engine option per round measured with a short probe, and the full benchmark once at the end.
- Measuring a Model's GPU MemoryLoad a model, benchmark it, and measure the GPU memory it really holds at its peak (weights, drafters, CUDA graphs, overhead, KV cache); compare the peak with the profile's hardware booking, and write the measurement into the profile.
Inference API
- API OverviewThe gateway surface: /v1 endpoints with one path per schema, passthrough APIs, auth, and the error envelope.
- Chat Completions (OpenAI schema)POST /v1/chat/completions -- request body incl. vision content parts, SSE streaming format, usage reporting, and common errors.
- Messages (Anthropic schema)POST /v1/messages -- Anthropic-compatible body, both key headers, anthropic-version handling, and streaming events.
- List ModelsGET /v1/models -- response shape, which deployed models appear, and the embeddings gap.
- Passthrough APIs (path prefix)How APIs that are not OpenAI or Anthropic APIs (OCR and others) are routed by path prefix through the gateway, and where to find each model's request example.
Integrations
- LiteLLMCall the platform's models through your own LiteLLM, the proxy or the Python SDK: an API gateway key of its own, the inference API's address with /v1, the root CA, one config.yaml entry per model, what works and what does not, and the errors LiteLLM shows.
- GrafanaRead the control plane's metrics in your own Grafana: a Prometheus data source with a control plane API key that may only read metrics, a dashboard for inference and hardware to import, what the data source can and cannot do, and why the metric names can change.
- Alert notificationsSend alerts to a Microsoft Teams channel, email or a webhook, with the notification service's own configuration, secrets kept apart and encrypted.
Automation
- Automation via APIs and CLIOperate the control plane without the browser: control plane API keys and their scopes, the HTTP API and its OpenAPI document, the MCP endpoint for agents, and the command line.
- The command line (onprem-ai-ctl)Every command of onprem-ai-ctl, the control plane's command line: the commands on the control plane's machine (install, update, start, stop, status, doctor, apply, recovery), the commands from any machine (login, api), and the tool's own error reports and version.
DevOps Agent
- The DevOps AgentWhat the DevOps Agent is and what it can do: a chat in the control plane that checks, investigates and operates the platform with your permissions, which model it runs on, how it asks before a change, and where its conversations are kept.
Certificates and network
- Trusting the control plane in your browserInstall the control plane's root CA so browsers and API clients trust it, use your own certificate instead, and what a root rotation means for both.
- Certificates from files on the machineHand the control plane a certificate your provisioner manages as files, how renewals are followed, and how to take over from the Configuration page.
- Trusting your own certificate authorityHow the platform trusts your company's certificate authority, for example the one of a proxy that inspects TLS - through each machine's own trust store, which usually holds it already, or through the platform's folder for a certificate authority only the platform should trust.
- Outbound proxyWhat you set up and what the platform does when the machines reach the internet only through a forward proxy, including a proxy that inspects TLS - every outbound connection, its proxy setting and its trust (the machine's own trust store), the steps in order, the checks, and what to do when a connection fails.
Machine administration
- Files and folders on the machineWhere the platform keeps its files on a Linux machine - your settings, the program, the data and the secrets - who writes each one, what each place promises across releases, and which file to edit for what.
- Data directoriesWhere each inference node keeps its files, how to change its cached file set directory, and how to bring model weights you already have.
- SecretsThe secret files the control plane needs, where they come from, and what changing one costs.
- Finding the platform's containers on a machineHow a machine administrator tells the containers, networks and volumes of the platform apart from other containers with docker ps or podman ps, by name prefix and by label.
- Backing up and restoringWhat to back up on the control plane and on an inference node, how to make a consistent backup, and how to restore the control plane onto the same or a new machine.
Errors and debugging
- Error reports for failed requestsWhich traces a failed request leaves (an error report, an audit event, a log line, a count for the alerts), the built-in rules, and how an administrator refines them under Configuration → Diagnostics → Error trace policy.
- Inference Node Container DetectionAn inference node reports direct-process instead of container execution, shows no container capacity, or fails container verification. Covers every Docker detection reason code and its fix.
Concepts
- ArchitectureSystem overview: the two planes, the control plane's services, the inference node's software, and how they connect.
- How the Gateway Refuses WorkThe API gateway's fast rejection: the first-token deadline, size limits, missing models, auth refusals, the error codes, and how a client should react.
- How the Gateway Chooses a ReplicaPrefix-aware routing: how the API gateway sends each request to the replica that already holds its prompt, what it reads, how it falls back, and how to see which way a request went.
- Long Requests and TimeoutsHow long a request may take, what a client sees at each limit, what a proxy or load balancer in front of the API gateway must allow, and which alert points at a connection problem.
- Alert Coverage by HardwareWhich alert rules exist, which hardware each applies to, and how coverage extends to new accelerator families.
- GPU Alert ReferenceEvery GPU failure mode, its Xid code, its early-warning thresholds, and the recovery ladder -- the decode table behind the alert rules.
- MetricsWhere the control plane's metrics come from, how they are named, and how to look up which metrics exist and which labels each carries, with the commands that answer them.
- Security OverviewHow the platform is built for security, for a customer's security review: privileges at runtime, containers and GPUs, network exposure, credentials, vulnerability handling, backups, logs and the supply chain; what is in place in this release and what is not yet.
API Reference
- API ReferenceEvery operation of the control plane, what running it does, and where you can run it -- the admin UI, the HTTP API, the MCP endpoint, the command line.