Docs
Connect your tools
An admin creates the company account and adds the provider keys. Each member creates a personal key and changes one address in their tools. Requests then follow the company policy.
Create a company account1. Any OpenAI-compatible tool
Base URL https://aigov.azerops.com/api/v1, your personal Azerops AI key as the API key.
curl https://aigov.azerops.com/api/v1/chat/completions \
-H "Authorization: Bearer az-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "auto", "messages": [{"role": "user", "content": "Summarise this email: ..."}]}'2. Python or Node (OpenAI SDK)
from openai import OpenAI
client = OpenAI(base_url="https://aigov.azerops.com/api/v1", api_key="az-YOUR_KEY")
reply = client.chat.completions.create(
model="auto", # or "openai/gpt-4.1", "anthropic/claude-sonnet-4-5", "xai/grok-4", "open/..."
messages=[{"role": "user", "content": "Translate to French: ..."}],
)
print(reply.choices[0].message.content)3. Cursor
Settings, Models, OpenAI API Key: paste your personal Azerops AI key, switch on "Override OpenAI Base URL" and enter https://aigov.azerops.com/api/v1. Add the model ids you want to use (for example auto).
4. Claude Code
Requests go to Anthropic with your Anthropic key, and are logged here.
export ANTHROPIC_BASE_URL=https://aigov.azerops.com/api
export ANTHROPIC_AUTH_TOKEN=az-YOUR_KEY
claudeModel ids
auto: the router picks your open model for simple requests (summarise, translate, extract, short questions) and your premium model for everything else. Admins set both in Policy.openai/…,anthropic/…,xai/…: sent to that provider with the company key an admin saved in Providers.open/…: open models run by Azerops.
Every response carries the header x-azerops-routed-to with the model that answered.