One endpoint,
every model.
Tare is an OpenAI-compatible gateway in front of every model you use — ours and the ones you bring yourself. One base URL, one key, and every token accounted for.
Console guide
What this solves: This strings the console actions into one path you can follow, from creating a key to configuring alerts, and tells you how to verify each step once it's done.
The actions in the console line up in the order you actually perform them: which page to open → what to do → how to verify it's done. The six steps below are written for an individual developer. Step 1 is creating an Inference key. Each step says how to verify it once it is done.
If you or one service calls models directly, use an Inference key. To issue keys, set limits, and hand them out to end users, use a Master key plus Child keys. See Provisioning Key. That path does not start at step 1 of these six.
1. Create an Inference key
- Open: the
API Keyspage. - Do: click
Create, chooseInferenceas the type, and write the name so its purpose is clear (e.g.support-bot-production). - Verify:
- The key appears in the list, shown as a mask
ak-…3f2a. - Use it to send a
chat/completionsrequest from a client; it returns HTTP 200 with model content. - The response headers include
X-Generation-Id, or the response contains agen-...ID.
- The key appears in the list, shown as a mask
The full key plaintext is shown only once, at creation time; the platform stores only a hash, and it can't be recovered once lost. Copy it and store it in your secret management system right away.
2. Add a channel
- Open: the
Channelspage →Add. - Do:
- Fill
base URLonly up to/v1(e.g.https://api.example.com/v1); what gets appended after that is decided by the Dialect (the differences between each vendor's API). - Choose the Dialect: OpenAI (messages) / Responses (input) / Anthropic / LM Studio (local) / Custom.
- Fill in the credential (for local LM Studio leave it empty; Custom is for upstreams that don't follow the path conventions).
- Fill
- Verify: after saving, run the three checks in the order you'll actually use them. None of the three counts as one of your real calls:
- Probe the Dialect: send an empty body and see which required field the upstream says is missing, to infer which Dialect it speaks. Costs not a single token.
- Test connectivity: confirm the address is reachable, the key is accepted, and the Dialect is right. It gives you a series of steps, not a single pass/fail result.
- Send one sentence: actually say something to the model. Even if the first two pass, this channel can still fail (misspelled model name, model retired, quota exhausted, content policy block). This step spends real upstream tokens, but is not billed and does not enter Call Traces.
LM Studio runs on your own machine, but the connection is initiated by Tare's servers, so localhost is unreachable. Enable LAN serving in LM Studio and fill in a publicly reachable address.
3. Enter cost prices
- Open:
Channels→ select a channel →Costs. - Do:
- Click
Browse upstream modelsto fetch the upstream model names — don't type them by hand; the key is the model name on the upstream side (e.g.z-ai/glm-5.1), not the name you use when calling the platform. - Enter Input / Output prices by upstream model name (per million tokens); cache read/write prices are optional.
- Click
- Verify: the channel page no longer lists that model under "missing cost price"; calls that previously had no price are backfilled after entry (using the current price).
When the upstream reports cost in the response, the cost price table is not used at all, and you get accurate attribution without entering a single row. What needs entry is upstreams that don't report cost: self-hosted inference services, some proxies, and local models.
Cost prices have no effective period: the platform only stores the current value, so after a price change, historical calls are recomputed using the new price, not the price at the time. This is a clear source of discrepancy in monthly reconciliation.
4. Configure routing
- Open: the
Routingpage. - Do: give a route a model name identical to the platform default, i.e. hand it over to your route; choose the upstream name from the dropdown, which lists the models you've entered cost prices for on the selected channel.
- Verify:
- Call
GET /v1/modelsand confirm the model name your business side will use now appears. - Send one more real call to confirm the hit; or, for a single route, run
POST /v1/routing/routes/{routeId}/test(the three checks — address, credential, Dialect — plus one more: whether the upstream model name actually exists) andPOST /v1/routing/routes/{routeId}/chat(really sends one sentence). Neither is billed or enters Call Traces.
- Call
The catch-all (model name *) only takes effect when a model has no route at all. If a model is configured but all its channels fail, the response is a failure — it won't silently switch to another vendor, otherwise you'd get another model's output under the model name you requested with nothing to indicate it.
5. View spend
- Open: the
Billing/Analyticspage. - Do: before reading the numbers, distinguish two values:
- Charged: the amount the platform charges you, including the governance fee. It is not the upstream token charge.
- Attributed spend: how much this call cost you, including the portion the provider charges you directly. Use this value when measuring the cost of a single feature.
- Verify: the
Analyticspage puts usage, the share by model, and the success rate together; then useGET /v1/generation?id=gen-...to check the cost and latency of a single call.
To break spend down by customer or business line, looking at the page isn't enough: have your engineering team add attribution fields such as usage_label to the request body, or use different child keys to separate customers/business lines.
Fields like usage_label are recorded by Tare on this call and stripped before forwarding, so the provider never sees them.
6. Configure alerts
- Open: the
Alertspage. - Do: rules monitor spend, error rate, and channel failures; the notification channel decides where notifications go (Webhook / Feishu / Lark).
- Verify: after saving, verify delivery: check the recent notification records and confirm the target group or Webhook actually received the message.
A misconfigured Feishu signature check is silent: a bot with the check enabled will reject unsigned messages, the reason for rejection stays on Feishu's side, and the platform only sees an error code — you get no alert at all. Only you can confirm the state of this toggle.
There is no platform-level catch-all notification channel: with no notification channel configured, alerts are recorded as "send failed" and stay in that state; they are not forwarded to the platform.
Next steps
- What to confirm before creating a key: Before you start.
- Send your first request: Quickstart.
- The details of each step: Channels, Cost prices, Routing.
- Reading numbers and reconciliation: Cost attribution, Statements and invoices, Reconciliation API.