Standard Compute
Standard Compute is a hosted, OpenAI-compatible LLM gateway at https://api.stdcmpt.com/v1. PrivateGPT can use it through the existing OpenAI-compatible integration.
Standard Compute serves chat models. This setup sends chat requests to Standard Compute and keeps embeddings on your existing embedding setup, for example a local Ollama server. It does not require a new PrivateGPT backend.
Setup
Create a key and choose a chat model
- Sign up at standardcompute.com and create an API key in the dashboard.
- Set
STANDARDCOMPUTE_API_KEYin your environment or.envfile. Keep the secret out of committed files.
- Choose a model.
StandardComputeis the routed model: it sends each request to the cheapest enabled model that can handle it, with automatic fallback. To pin a specific model instead, list the public catalog and use an exact ID from the response:
See the Standard Compute docs for the API reference.
Start a local embeddings server
Skip this step if you already have an embeddings server. Otherwise, start Ollama and pull the embeddings model:
These examples use Ollama’s OpenAI-compatible API at http://localhost:11434/v1, with the separate placeholder key ollama.
Run PrivateGPT
Package install
Docker
uv (local)
Follow the corresponding installation guide first, including PrivateGPT’s other required services.
Model limits and capabilities
- Use the model ID returned by
/v1/modelsunchanged. /v1/modelsreturnscontext_lengthfor each model, so PrivateGPT can set the context window from discovery.- Tools, streaming, reasoning, and image input depend on the selected model. Check
supported_parametersin the/v1/modelsresponse. - The examples keep embeddings on a separate server. Retrieved document excerpts included in a chat prompt are still sent to the hosted API.

