Getting Started
LootVM is a hosted enterprise AI API gateway. You authenticate with a LootVM-issued API key from the Console—not an upstream provider key in your client—and call models your workspace enables over one base URL.
LootVM speaks both:
- OpenAI-compatible Chat Completions —
POST /v1/chat/completions - Anthropic-compatible Messages (Claude) —
POST /v1/messages
1. Open the Console
Section titled “1. Open the Console”Sign in at lootvm.com and open the Console.
2. Create an API key
Section titled “2. Create an API key”In the Console, create an API key for your user. Restrict it to the groups and models your workspace policy allows.
Store the secret once it is shown. LootVM does not re-display the full key later.
3. Set the base URL
Section titled “3. Set the base URL”Point clients at:
https://api.lootvm.com/v1Use HTTPS only. Do not put the API key in the URL.
4. List models for your key
Section titled “4. List models for your key”export LOOTVM_KEY='your-lootvm-api-key'
curl --fail-with-body https://api.lootvm.com/v1/models \ -H "Authorization: Bearer ${LOOTVM_KEY}"Anthropic-style clients may send the same key as x-api-key on /v1/models and /v1/messages instead of Authorization.
5. Call a model (pick a protocol)
Section titled “5. Call a model (pick a protocol)”Replace your-enabled-model with a model id from /v1/models that your key can use.
OpenAI-compatible Chat Completions
Section titled “OpenAI-compatible Chat Completions”curl --fail-with-body https://api.lootvm.com/v1/chat/completions \ -H "Authorization: Bearer ${LOOTVM_KEY}" \ -H "Content-Type: application/json" \ -d '{ "model": "your-enabled-model", "messages": [ {"role": "user", "content": "Hello from LootVM"} ] }'Anthropic-compatible Messages (Claude)
Section titled “Anthropic-compatible Messages (Claude)”curl --fail-with-body https://api.lootvm.com/v1/messages \ -H "Authorization: Bearer ${LOOTVM_KEY}" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{ "model": "your-enabled-model", "max_tokens": 256, "messages": [ {"role": "user", "content": "Hello from LootVM"} ] }'You can also send x-api-key: ${LOOTVM_KEY} instead of the Bearer header on this path. See Authentication.
Next steps
Section titled “Next steps”- Authentication — Bearer and
x-api-keyrules - Chat Completions — OpenAI-compatible request shape and streaming
- Messages (Claude) — Anthropic-compatible
POST /v1/messages - Models and Pricing — discovery and live prices
- Client Integrations — Cursor, Codex, OpenCode, Claude CLI, and other clients