# onprem.ai platform documentation 5.10

> The documentation of the onprem.ai platform, release 5.10.4: installing, signing in, deploying and running models, the inference API, automation over the HTTP API, MCP and the command line, and how the system works. Each link is the Markdown text of one page.

## Guides

- [Getting Started](https://www.onprem.ai/en/platform/docs/guides/getting-started/index.md): First steps: log in, deploy a model from a catalog, watch the download, and send your first request.

## Guides: Installation

- [Installing and updating the control plane](https://www.onprem.ai/en/platform/docs/guides/installation/control-plane-installation/index.md): The 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 vSphere](https://www.onprem.ai/en/platform/docs/guides/installation/installing-on-vmware-vsphere/index.md): One VM for the control plane, GPU VMs added and removed as demand changes.
- [Installing on Proxmox VE](https://www.onprem.ai/en/platform/docs/guides/installation/installing-on-proxmox-ve/index.md): One VM for the control plane, GPU VMs added and removed as demand changes.
- [Installing on Nutanix AHV](https://www.onprem.ai/en/platform/docs/guides/installation/installing-on-nutanix-ahv/index.md): One VM for the control plane, GPU VMs added and removed as demand changes.
- [Installing on KVM and libvirt](https://www.onprem.ai/en/platform/docs/guides/installation/installing-on-kvm-libvirt/index.md): One VM for the control plane, GPU VMs added and removed as demand changes.
- [Installing, updating, moving and removing an inference node](https://www.onprem.ai/en/platform/docs/guides/installation/inference-node-installation/index.md): The 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 node](https://www.onprem.ai/en/platform/docs/guides/installation/adding-or-moving-an-inference-node/index.md): Add 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.

## Guides: Authentication

- [Single sign-on](https://www.onprem.ai/en/platform/docs/guides/authentication/single-sign-on/index.md): Let 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 Keycloak](https://www.onprem.ai/en/platform/docs/guides/authentication/keycloak/index.md): Connect 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 authentik](https://www.onprem.ai/en/platform/docs/guides/authentication/authentik/index.md): Connect 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 Zitadel](https://www.onprem.ai/en/platform/docs/guides/authentication/zitadel/index.md): Connect 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 Auth](https://www.onprem.ai/en/platform/docs/guides/authentication/better-auth/index.md): Connect 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.

## Guides: Models and deployments

- [Deploying models](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/deploying-models/index.md): Deploy a model as one inference service with any number of replicas on any inference nodes, and read the GPU memory each replica allocates.
- [Catalogs](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/catalogs/index.md): Add 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 files](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/env-files/index.md): Pass variables, secrets and files to a model's containers with versioned env files, attached per replica and pinned.
- [Model logs](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/model-logs/index.md): Read 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 Performance](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/tuning-model-performance/index.md): Make 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 Memory](https://www.onprem.ai/en/platform/docs/guides/models-and-deployments/measuring-gpu-memory/index.md): Load 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.

## Guides: Inference API

- [API Overview](https://www.onprem.ai/en/platform/docs/guides/inference-api/api-overview/index.md): The gateway surface: /v1 endpoints with one path per schema, passthrough APIs, auth, and the error envelope.
- [Chat Completions (OpenAI schema)](https://www.onprem.ai/en/platform/docs/guides/inference-api/chat-completions/index.md): POST /v1/chat/completions -- request body incl. vision content parts, SSE streaming format, usage reporting, and common errors.
- [Messages (Anthropic schema)](https://www.onprem.ai/en/platform/docs/guides/inference-api/messages-anthropic/index.md): POST /v1/messages -- Anthropic-compatible body, both key headers, anthropic-version handling, and streaming events.
- [List Models](https://www.onprem.ai/en/platform/docs/guides/inference-api/list-models/index.md): GET /v1/models -- response shape, which deployed models appear, and the embeddings gap.
- [Passthrough APIs (path prefix)](https://www.onprem.ai/en/platform/docs/guides/inference-api/passthrough-apis/index.md): 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.

## Guides: Integrations

- [LiteLLM](https://www.onprem.ai/en/platform/docs/guides/integrations/litellm/index.md): Call 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.
- [Grafana](https://www.onprem.ai/en/platform/docs/guides/integrations/grafana/index.md): Read 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 notifications](https://www.onprem.ai/en/platform/docs/guides/integrations/alert-notifications/index.md): Send alerts to a Microsoft Teams channel, email or a webhook, with the notification service's own configuration, secrets kept apart and encrypted.

## Guides: Automation

- [Automation via APIs and CLI](https://www.onprem.ai/en/platform/docs/guides/automation/apis-and-cli/index.md): Operate 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)](https://www.onprem.ai/en/platform/docs/guides/automation/command-line/index.md): 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.

## Guides: DevOps Agent

- [The DevOps Agent](https://www.onprem.ai/en/platform/docs/guides/devops-agent/using-the-devops-agent/index.md): What 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.

## Guides: Certificates and network

- [Trusting the control plane in your browser](https://www.onprem.ai/en/platform/docs/guides/certificates-and-network/browser-certificate-trust/index.md): Install 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 machine](https://www.onprem.ai/en/platform/docs/guides/certificates-and-network/provisioned-certificates/index.md): Hand 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 authority](https://www.onprem.ai/en/platform/docs/guides/certificates-and-network/trusting-your-own-certificate-authority/index.md): How 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 proxy](https://www.onprem.ai/en/platform/docs/guides/certificates-and-network/outbound-proxy/index.md): What 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.

## Guides: Machine administration

- [Files and folders on the machine](https://www.onprem.ai/en/platform/docs/guides/machine-administration/files-and-folders/index.md): Where 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 directories](https://www.onprem.ai/en/platform/docs/guides/machine-administration/data-directories/index.md): Where each inference node keeps its files, how to change its cached file set directory, and how to bring model weights you already have.
- [Secrets](https://www.onprem.ai/en/platform/docs/guides/machine-administration/secrets/index.md): The secret files the control plane needs, where they come from, and what changing one costs.
- [Finding the platform's containers on a machine](https://www.onprem.ai/en/platform/docs/guides/machine-administration/platform-containers/index.md): How 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 restoring](https://www.onprem.ai/en/platform/docs/guides/machine-administration/backup-and-restore/index.md): What 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.

## Guides: Errors and debugging

- [Error reports for failed requests](https://www.onprem.ai/en/platform/docs/guides/errors-and-debugging/error-trace-policy/index.md): Which 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 Detection](https://www.onprem.ai/en/platform/docs/guides/errors-and-debugging/inference-node-container-detection/index.md): An 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

- [Architecture](https://www.onprem.ai/en/platform/docs/concepts/architecture/index.md): System overview: the two planes, the control plane's services, the inference node's software, and how they connect.
- [How the Gateway Refuses Work](https://www.onprem.ai/en/platform/docs/concepts/concurrency-and-overload/index.md): The 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 Replica](https://www.onprem.ai/en/platform/docs/concepts/replica-routing/index.md): Prefix-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 Timeouts](https://www.onprem.ai/en/platform/docs/concepts/long-requests-and-timeouts/index.md): How 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 Hardware](https://www.onprem.ai/en/platform/docs/concepts/alert-coverage/index.md): Which alert rules exist, which hardware each applies to, and how coverage extends to new accelerator families.
- [GPU Alert Reference](https://www.onprem.ai/en/platform/docs/concepts/gpu-alert-reference/index.md): Every GPU failure mode, its Xid code, its early-warning thresholds, and the recovery ladder -- the decode table behind the alert rules.
- [Metrics](https://www.onprem.ai/en/platform/docs/concepts/metrics/index.md): Where 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 Overview](https://www.onprem.ai/en/platform/docs/concepts/security-overview/index.md): How 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 Reference](https://www.onprem.ai/en/platform/docs/reference/control-plane-operations/index.md): Every 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.
