Features · API
One API for every model your team uses.
The models behind Localoy’s agents, for your own scripts and tools. Anything that takes an OpenAI-style key works: point it at Localoy, use your key, and the calls bill to your organization like the app.
API keys are for organizations. Start one on app.localoy.ai in a minute; the button above takes you there.
Drop-in
Change two lines.
Localoy speaks the OpenAI chat format. Set the address to https://api.localoy.ai/v1, use your Localoy key, and pick a model by its Localoy name. Streaming, tool calls, and pictures in the messages for models that see them, work as you expect.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.localoy.ai/v1",
api_key=os.environ["LOCALOY_API_KEY"],
)
reply = client.chat.completions.create(
model="localoy/deepseek/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)What you get
The models, the keys and the bill, in one place.
Every Localoy model
The same models the agents use, open and closed, chosen and tested by us. GET /v1/models lists the ones your team allows, with their prices.
A key for each person
Each member makes their own keys on app.localoy.ai and can try one right on the page. Revoke one key, or remove the person and all their keys stop.
Limits that hold
A key spends within its person’s monthly limit and only on the models the team allows. When the limit is reached, the key stops until next month or until an admin raises it.
Usage by key
Every call shows in usage under its key and its person, apart from the app, by day and month. Export it as a spreadsheet.
Images too
Image models make pictures through the same call: ask for "modalities": ["image", "text"] and the picture comes back in the reply.
One balance
Calls draw from the organization’s credit, the same balance the app uses. Credit never expires.
From the terminal
Try it with curl.
Copy your key from the API keys page, put it in LOCALOY_API_KEY and run this. Add "stream": true to get the answer as it is written.
curl https://api.localoy.ai/v1/chat/completions \
-H "Authorization: Bearer $LOCALOY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "localoy/deepseek/deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Hello"}]}'A member needs a monthly limit before making a key. Owners and admins can make one without.
How to start
Three steps.
1. Sign in
On app.localoy.ai, with the account you use in the app.
2. Start or join an organization
API keys belong to an organization: its balance pays for the calls.
3. Make a key
On the organization’s API keys page. Copy it once; it is not shown again.