PrivateMind runs open-weight models for your organisation, on GPUs pooled across customers or dedicated to you. Your data never leaves your environment and is never used to train a model. We built it for financial services, where compliance, data sovereignty and auditability come first.
Keep your OpenAI or Anthropic SDK and change the base URL.
Chat, files, projects, automations and code execution in your browser.
Browse every endpoint and send live requests from the browser.
Serve a catalog model or your own weights on GPUs you own, behind an OpenAI-compatible endpoint.
What you can do
Open-weight models with reasoning, long context and vision.
Upload PDFs, Word files, spreadsheets and more, and get answers that cite them.
Let models call your functions and MCP servers, or run agents on a schedule.
Sandboxed Python and Node.js environments. The model writes and runs code, then acts on the output.
Authenticate, manage keys, and set budgets and rate limits.
Run training, fine-tuning, image and batch jobs from Python. Installed in every workspace.
Get started in 3 steps
- Create an API key on the API Keys page in the sidebar.
- Pick a model. The
fastalias is a good default. - Send your first request:
curl -s "https://api.privatemind.com/v1/chat/completions" \
-H "Authorization: Bearer $PMIND_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "fast",
"messages": [{"role": "user", "content": "Hello, world."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.privatemind.com/v1", api_key=PMIND_KEY)
resp = client.chat.completions.create(
model="fast",
messages=[{"role": "user", "content": "Hello, world."}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.privatemind.com/v1', apiKey: process.env.PMIND_KEY });
const resp = await client.chat.completions.create({
model: 'fast',
messages: [{ role: 'user', content: 'Hello, world.' }],
});
console.log(resp.choices[0].message.content);Pick your path
If you've used the OpenAI API, you already know this one: change the base URL and keep your SDKs and tools. The same key and models also answer the Anthropic Messages API, so the Anthropic SDKs and Claude Code work too. So do clients built on the OpenAI Responses API, such as Codex CLI and the OpenAI Agents SDK.
If you'd rather work in a browser, the PrivateMind app has chat, file uploads, code execution and scheduled automations.
What's in these docs
The sidebar lists every page. Most people start with one of these:
- Quickstart: your first API call in five minutes
- Models: the models you can call, live from your environment
- Authentication: bearer token format and key management
- Chat: using the web app
- Rate limits & budgets: how limits work and what happens when you hit them
- OpenAI SDK: Python, TypeScript, Go, LangChain and other OpenAI clients
- Anthropic SDK: the Messages API from the Anthropic Python and TypeScript clients
- Python SDK: training, image generation and batch jobs from Python (
pip install privatemind)