API and tools
One address and one key for your tools, your code and every model type.
← App guideHow works
Point your tool at instead of the provider and every request takes these four steps.
- 01
Your tool asks
Any tool that talks to OpenAI or Claude can talk to .
- 02
checks it
Your rules on models, tools and sensitive data allow or block the request.
- 03
The model answers
is hosted in Quebec and the model answers from its provider on your contract.
- 04
It's logged
Every call goes into a signed record you can export at any time.
Agent controls
In Policies, open a profile then Advanced — Agent controls to choose what the model may ask for.
Tools and MCP
You limit the allowed tools and MCP servers, and a blocked tool gets an explanation with no provider call.
Code, computer, terminal, files
These four actions are set here, with web search and images higher on the same page.
What tonia does not see
A tool your editor runs or an MCP server it contacts directly never reaches .
Your tools follow the same rules.
Compatible through OpenAI or Anthropic endpoints. These are not native integrations.
- Cursor
- Claude Code (desktop and CLI)
- Codex (desktop and CLI)
- VS Code (Copilot)
- Hermes / OpenClaw
- n8n
Get started
From sign in to your first answer.
- 1
Sign in
Open the portal with the method linked to your account, and no password is ever sent to .
- 2
Approve sensitive changes
The portal asks for your passkey or a fresh re-authentication and restores the form when you come back.
- 3
Your key or Managed
Add your provider key to pay on your own account or choose Managed.
- 4
Set your guardrails
Turn on sensitive data detection such as SIN then save a profile for each key.
- 5
Create your key
API key in the sidebar creates a key that is shown only once.
- 6
Connect your tool
Enter the key, the address and the model id in your tool as shown below.
- 7
Watch and keep the proof
Usage shows your requests and spend and the Audit log exports your signed records.
The portal
Everything lives in the portal's left sidebar.
Dashboard
Plan, seats, active keys and recent activity.
Usage
Requests, tokens and spend by key and model, with caching the provider reports.
API key
Create, rotate and switch off the keys your tools use.
Your provider keys
Your OpenAI, Anthropic and other accounts on your direct contract.
Sensitive data
What counts as sensitive and whether blocks or warns.
Profiles
Per-key rules on models, limits, sensitive data and tools.
Members
Invites, roles and removing access on team plans.
Billing
Plan, seats and invoices.
Audit log
The signed record of calls and admin actions, and each developer's own audit.
Settings
Workspace name, defaults and security options.
Security
The passkey that approves sensitive actions, with no password.
History and privacy
keeps no conversation history by default and an admin turning it on is recorded in the audit log.
- 1
No history by default
The audit log keeps a signed hash of every call without prompts or responses.
- 2
Viewing is logged
With history on, every View request or View response is written to the log before content shows.
- 3
Export a copy
A member picks Settings › My data › Export my data and only an admin removes their account.
Connect your tools
One key works for OpenAI compatible tools and Claude tools.
The address
https://pass.tonia.ca:8443
Your tools point at this address only.
Replace tonia_sk_… with your key of about 50 characters, shown once.
Also enter the exact model id, such as xai/grok-4.3, from the models page.
Cursor
OpenAI compatibleFour steps in Cursor: Settings → Models.
- 1
Open Models
In Cursor, open Settings then Models.

- 2
Add a model
In “Add or search model”, type the exact id such as
xai/grok-4.3then click Add.- Model id
xai/grok-4.3

- Model id
- 3
Paste the key and address
Paste your
tonia_sk_…key. Turn on “Override OpenAI Base URL”, then paste the address that ends with/v1.- API key
tonia_sk_… - Address
https://pass.tonia.ca:8443/v1

- API key
- 4
Add more models
Repeat for each model you need.
Good to know: Connect an OpenAI provider key or use a Managed plan, and for Gemini use gemini/models/….
If a tool won't connect
- A certificate warning.
- Use the public address above, which has a trusted certificate.
- A provider key is missing.
- Connect that provider under Your provider keys or switch to a Managed plan.
- The wrong kind of model answers.
- Use the /v1 address for OpenAI compatible tools and the plain address for Claude tools.
- A 404 error or a doubled /v1.
- Put /v1 only once, with no trailing slash.
- The model list is empty.
- Type the exact model id from the models page.
- It fails after you fill in Organization ID.
- Leave Organization ID blank.
- The tool asks for an Azure deployment.
- Choose OpenAI compatible mode and the /v1 address.
Image size
Send 1k, 2k, 4k or OpenAI size and sends the right field to each provider.
Gemini images use /v1/interactions, not /v1/images.
On Image 2 and Image 1.5, 2k and 4k become 1536x1024. On Image 2.5 (Flare and Sunburst), 2k becomes 2048x2048 and 4k becomes 3840x2160. Image 2.5 also accepts xhigh and max. Image 2.5 is billed by token, not per image.
| Provider | You send | sends | Avoid |
|---|---|---|---|
| OpenAI | 1k, 2k, or 4k | 1024x1024 · Image 2: 1536x1024 · 2.5: 2048x2048 / 3840x2160 | 4096x4096 |
| xAI | 1k or 2k | resolution 1k or 2k | size and quality |
| Meta | width × height or auto | the same format | 1k, 2k, 4k |
| Alibaba | 1k, 2k, or 4k | width*height or 1K, 2K, 4K | 2k and 4k on the turbo model |
| Gemini | 1k, 2k, or 4k | image_size 1K, 2K, or 4K | /v1/images |
Speech and transcription
Send input and voice for speech or the file for a transcript, and sends the right field to each provider.
Gemini models use /v1/interactions, not /v1/audio. Spoken chat uses the same chat messages, with audio parts.
| Provider | You send | sends | Avoid |
|---|---|---|---|
| OpenAI | input and voice or a file | the same fields | — |
| Mistral | input and voice | voice_id | alloy as a Mistral voice |
| Alibaba | input and voice or a file | text + voice, or the file as an address | /v1/audio in compatible mode |
| Gemini | /v1/interactions | the Interactions body | /v1/audio |
| Meta | a file | the same file | /v1/audio/speech and /v1/audio/translations |
| Fish Audio | input and voice, optional input_references, or a file | the same fields | the bare id s2.1-pro and /v1/tts |
Embeddings
Send the model and the text to /v1/embeddings to get a vector.
tonia Chat does not offer these models, so use your API key.
| Provider | You send | sends | Avoid |
|---|---|---|---|
| OpenAI | model and input | the same fields | /v1/chat/completions |
| Cohere | model and input | texts at the lab | /v2/embed |
Rerank
Send a query and documents you already have to /v1/rerank to order them.
A rerank search is not a web search.
| Provider | You send | sends | Avoid |
|---|---|---|---|
| Cohere | model, query, and documents | the same contract, a different lab path | /v2/rerank as the client address |
System One
For a typed decision, send a state and questions to /v1/systemone with client.request("POST", "/v1/systemone", …).
Send {model, state, questions}. state is the text or record to judge (string, object, or array). Question ids are code: they are not sent to the model.
| Type | You send | You get back |
|---|---|---|
noul | A yes/no question. criteria.true and criteria.false are optional. | noul: probability that the answer is yes. Near 1 is a strong yes. Near 0 is no. Near 0.5 is uncertain. A noul has no confidence. |
choice | One option from the set you name in criteria. | choice, probabilities, confidence. |
score | An ordered scale in criteria (at least two levels). | score (can land between levels), legend, probabilities, confidence. |
confidence exists only on Choice and Score and runs from 0 to 1 based on probabilities.
Point the TypeSafe SDK at the origin only. models.list() through tonia is unsupported. One call counts against the 10,000 your API keys quota. A cheap call may show $0.00 CAD; the CSV keeps micros. jev-latest is a moving alias: the response model carries the versioned id.
Need a hand?
Check how is doing on the Status page or write to your contact.