Skip to main content
Docs

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.

Getting startedConsole guide

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.

Six console steps, each with how to verify Six console steps from creating a key to configuring alerts: Inference key, channel, cost prices, routing, spend, alerts. Each card names the page and how to verify the step. Six console steps, each with how to verify 1 Inference key Open · API Keys Check · HTTP 200 with body Check · X-Generation-Id 2 Connect a channel Open · Channels Check · three checks pass Probe · connect · chat 3 Enter cost prices Open · Channels → Costs Check · off the missing list Past calls get backfilled 4 Configure routing Open · Routing Check · model name is listed Send a real call to confirm 5 View spend Open · Billing / Analytics Check · one gen-... cost Charged vs Attributed spend 6 Configure alerts Open · Alerts Check · recent notifications Confirm the target got it These steps are spread across the docs. This page lines them up. How to verify is the step people skip. Order: top 1→2→3, bottom right to left 4→5→6. Test / Chat is not billed and skips Call Traces.
The six console steps, each with "how to verify"

1. Create an Inference key

  • Open: the API Keys page.
  • Do: click Create, choose Inference as 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/completions request from a client; it returns HTTP 200 with model content.
    • The response headers include X-Generation-Id, or the response contains a gen-... ID.

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 Channels page → Add.
  • Do:
    • Fill base URL only 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).
  • 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:
    1. 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.
    2. 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.
    3. 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 models to 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.
  • 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 Routing page.
  • 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/models and 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) and POST /v1/routing/routes/{routeId}/chat (really sends one sentence). Neither is billed or enters Call Traces.

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 / Analytics page.
  • 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 Analytics page puts usage, the share by model, and the success rate together; then use GET /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 Alerts page.
  • 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

Docs last updated Nov 27, 2026, 12:56 (UTC+8)