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.

ReferenceGlossary

Glossary

What this solves: The terms in Tare, each explained in one plain sentence; and for the easily confused ones, what they don't mean.

Grouped by topic. When you hit a word you don't know, look here first.

Basics

TermOne-sentence explanationWhat it doesn't mean
TareAn OpenAI-compatible model gateway: your app configures just one base URL and one key, and Tare decides who answers.It isn't a model vendor itself; it sits between your app and the various model providers and doesn't produce models.
Platform modelA model whose tokens the platform buys and bills you for per the platform price list.It isn't a "free model"; the platform buying tokens doesn't mean it's free.
BYOK / your own channelBring Your Own Key: you connect an upstream provider's credential into Tare, and you settle tokens directly with the provider. Tare also charges a governance fee, floor 0.0001.It isn't cheaper tokens. You still pay the provider for tokens directly.
ChannelOne upstream you connect yourself: a base URL plus a credential.It isn't the same as one model; one channel can carry multiple models.
Local NodeA process that runs in your own network. The business connects to it directly. The request stays between your network and the upstream and does not pass through Tare.It can't be used for platform channels. The official node is not this either: it sits on Tare's egress side, outside your network.
LOCAL_NODEAn egress mode on a channel. Once you mark it, that BYOK channel is served by your node, which calls the upstream directly.It isn't a model name or a key. Checking the Channels box that routes through a Local Node also writes allowLocalEgress: true. You do not file a separate approval. Calls that still hit Tare's address do not enter this node.
Registration tokenA one-time token generated in the console to register a Local Node under your account.It isn't a key; it's shown only once, is valid for 24 hours, is single-use, and can't be reused once spent.

Identity and credentials

TermOne-sentence explanationWhat it doesn't mean
Inference keyThe key for calling model endpoints: chat, embeddings, images, videos, /v1/models, /v1/generation.It can't manage keys or read billing.
Provisioning keyThe key used to create, look up, change, and disable child keys (/v1/keys/*).It can't call models or read billing, which is exactly why, when it leaks, the worst case isn't "unlimited spending".
Child keyA key a provisioning key issues for an end user; it can be limited and disabled on its own.Its underlying type is still inference, so it won't appear in the console's "Inference" tier — look under "Child keys".
Reconciliation key (integration key)A key that only reads billing and usage reports (/v1/integration/*).It can't call models or manage keys; it gets pasted into ERP and ticketing systems, so it must not also be able to spend money.
external_idYour own business identifier, used to make child-key creation idempotent and to locate a key directly by it.It isn't the key itself or a hash. Its uniqueness includes disabled keys: one identifier permanently maps to one key.
hashA stable identifier for a child key; all subsequent operations on that key use it.It isn't the plaintext key, which appears only once at creation.
Source IP allowlistRestricts a key to calls from certain IPs / CIDRs; calls from outside the list return 403, but the key itself remains valid.It isn't revocation; it's a fence. Also, IPv4 and IPv6 aren't interchangeable.
RotationCreate a new key → publish → disable the old one; disabling takes effect immediately and can be undone.Usage already recorded on the old key doesn't migrate; both appear in that month's statement.

Routing and availability

TermOne-sentence explanationWhat it doesn't mean
Router / routingThe configuration that decides which channel answers for a given model name. One account can have more than one Router, binding different Routers to different keys.It isn't network-layer routing; here it means the "model-to-channel" mapping.
CandidateThe channels under one model name that might currently be tried.It doesn't mean "all of them will definitely be called"; ones in the circuit-breaker state are skipped (recorded as parked).
priorityThe primary/backup order among candidates; the smaller number goes first.It isn't a weight; when a new route doesn't specify priority, it opens a new tier just above the highest existing one, and it's never 0.
weightThe proportion of traffic allocated within the same priority.It isn't "0 means disabled"; the minimum weight is 1, and to pause a route you should disable it.
Catch-all routeA route with the model name *, catching every model that wasn't configured by name.It takes effect only when a model has no route at all; if a model is configured but all its channels fail, the call returns a failure and it won't silently switch to another one.
FailoverWhen one candidate fails, moving this call to the next candidate.The one exception is your own client disconnecting mid-call, in which case failover stops immediately.
Circuit breakerA channel is automatically taken out of rotation after 5 counted failures: first for 30 seconds, and if it fails again on recovery the cooldown doubles, capped at 300 seconds.It isn't permanent removal, and it isn't per-candidate; the circuit-breaker state is shared.
parkedThe candidate was shut off by the circuit breaker at the time, and not a single byte went out.It doesn't count as an attempt, and it isn't included in the governance fee's minimum charge.
never triedA candidate that wasn't reached, appearing only when the emergency-attempt cap is enabled.It isn't a failure, and it doesn't count as an attempt.
Model HealthAn up/degraded status given per model, based on your own recent call volume.It never names vendors; which providers sit behind a model is the platform's commercial information.
UPSTREAM_ALL_DOWNAn incident type: all candidate channels for a model are unavailable and requests are being rejected (often showing as 503).It isn't "this model has no route configured" — that's 404, and the two differ in both meaning and fix.

Requests and responses

TermOne-sentence explanationWhat it doesn't mean
gen- IDAn ID the platform generates for each call (gen-xxxxx), used to look up the cost and usable as an idempotency key for your own bookkeeping.It isn't generated by the upstream. The prefix is a hard requirement, and many clients check it with id.startsWith("gen-").
Dialect (differences across vendors' APIs)The difference between an upstream API and the OpenAI format: paths, request-body shape, and required fields can all differ, and Tare translates them.It isn't just "a different path"; OpenAI Responses and OpenAI-compatible are genuinely different shapes (messages becomes input, and so on).
ModalityThe input types a request carries (text / image / audio / video).Routing looks only at the input modality, not the request's output modality.
stream_options.include_usageThe switch in a streaming request that puts usage in the final frame.Tare forces it on and overrides your setting; without usage there's no billing and no attribution.
SSE commentA comment line starting with : that keeps the connection alive; a large-input call may receive several before the first byte.It isn't a data frame; the SSE spec requires parsers to ignore it, and only clients with hand-written parsing need to be careful not to feed it to a JSON parser.
providerThe per-request routing-preference field in the request body (order / only / ignore / allow_fallbacks / sort).It's consumed by Tare and not forwarded to the upstream; sort: "price" and sort: "throughput" currently have no effect.
modelsThe backup model chain in the request body, effective only for this one request, up to 5.It isn't an attribution label; it's consumed by Tare and never forwarded to the upstream. Anything beyond the limit is silently dropped, without an error.
usage_labelThe attribution label in the request body, used to mark which business a call belongs to; it lands in the usage record as-is.Only chat, embeddings, and images support it; video generation accepts it but doesn't read it.
reasoning_contentThe field in the response that carries the model's reasoning process (delta.reasoning_content when streaming), separate from content.The shape differs across upstreams, but all are uniformly translated into this one field, so you read from just this one place.
usage.costThe cost of this call in the response, in US dollars.When it can't be computed the field is absent rather than 0; a fake 0 would be taken at face value.

Cost and billing

TermOne-sentence explanationWhat it doesn't mean
Cost priceThe price you pay the upstream (per million tokens).It isn't part of what you're charged; it only determines whether cost attribution can be computed. When the upstream self-reports the cost in its response, the cost-price table isn't used at all.
ChargedThe amount the platform charges you, including the governance fee.It isn't everything this call cost you. On pure BYOK it is not the upstream token charge, and it is not 0.
Attributed spendHow much this call actually cost you, including the part the vendor charges you directly.It isn't money the platform charges you; use this value when measuring the cost of a single feature.
Key limit (the key's limit)A key's spending ceiling. Cumulative by default and doesn't come back when used up; after a manual reset or with limit_reset set, it counts spend since the last reset.It isn't a balance or a monthly budget; null means no limit, not 0.
Monthly budgetThe spending ceiling for the current month, reset every month.It isn't merged with the key limit, because credits don't automatically refill every month.
CoverageThe share of calls in a statement that "have upstream cost data"; the uncovered proportion is given alongside."62% coverage" doesn't mean the other 38% had no cost, only that the platform can't know that part's cost; computing margin on a figure that isn't fully covered will come out optimistic.
StatementThe one whose figures are frozen at the end of a period and don't change afterward; corrections are booked into the current period as adjustments.It isn't the Billing page, which recomputes every time you open it — good for analysis, not for reconciliation; only a locked period is a statement.

Data and governance

TermOne-sentence explanationWhat it doesn't mean
DLPData protection. On the Tare server path, a call is scanned for sensitive content before it leaves Tare. On a customer node, the scan service beside the node does the scan. You set whether a hit is blocked, redacted, or only raises an alert.It doesn't look only at fixed fields; it scans every string value in the whole request body (except structural fields and binary content).
Recommended rules (DLP pack)A continuously maintained shared list of detection rules (for example, newly discovered key formats); you decide whether it applies to your traffic.The default is "just tell me": it counts hits as usual, but never modifies or rejects a request.
Call TracesCall tracing: records the model, tokens, cost, routing attempts, and failure reasons.It doesn't mean the request content is stored. On the server path, content is off by default and is stored only when you turn the retention switch on. Bodies from a customer node are never stored, and the switch cannot bring them back.
Audit TrailAudit log: a general ledger of changes on the account such as price, routing, billing method, quota, and credentials.It doesn't only record content authorization; every entry is marked as either your own change or one the platform made for you.
MockDrill: attach a fixed failure scenario to a key, so requests using that key return a simulated result directly without hitting the upstream.It targets only the one key you name, not the whole account; if you don't fill in expiresAt it expires after 4 hours by default, and there's no "permanent".

Next steps

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