Customers, plans, and keys
Every call to POST /v1/decide is decided for one key, on one plan, for one customer. This page explains how the three fit together.
Your organization│├─ Customer: Acme│ ├─ key acme-nightly-sync own counter: 200 of 200 this month ──► plan acme-notes (only Acme)│ ├─ key acme-chat-assistant own counter: 57 of 200 this month ──► plan acme-notes│ └─ key acme-report-builder own counter: 12 of 200 this month ──► plan acme-notes│ (no Acme total: each key counts on its own)│├─ Customer: Second Co│ └─ key second-co-app own counter: 80 of 500 this month ──► plan starter (shared)│└─ Customer: Third Co └─ key third-co-app own counter: 310 of 500 this month ──► plan starter (shared)acme-notes belongs to Acme, so only Acme’s keys can use it. starter is shared, so keys of any of your customers can use it. Every key has its own counter, even on the same plan.
What each thing is
Section titled “What each thing is”- Customer: a company you sell to. In the console’s words: “These are the companies whose agents call your tool. Each one gets its own keys.” You add customers in Console → Customers, with an optional ID of your own for each.
- Plan: the allowance and the tool rule. A plan sets how many allowed calls each key on it can make in a period, for one tool or for all tools (
*). “The period is a calendar month (UTC), a calendar day, which resets at 00:00 UTC, or a minute, which resets at the next minute (UTC).” You choose the period when you add the plan. “The period itself is not edited.” - Key: the agent key (
ord_test_…) an integration sends onPOST /v1/decide. “Each key belongs to one customer and one plan.” The key alone decides whose counter is used; there is no customer or plan parameter.
During the beta all keys are test keys. Live keys are not available yet. Live keys open when paid plans launch. Your test keys cover everything in your beta.
Shared and customer-owned plans
Section titled “Shared and customer-owned plans”“A plan is either shared by all your customers or belongs to one customer.” You choose when you add it: Console → Plans → Add a plan, “all customers (shared)” or “only” one customer.
- A shared plan can be used by keys of any of your customers. Use it when many customers get the same allowance, such as a standard tier.
- A customer-owned plan can be used only by that customer’s keys. Use it when one company has its own allowance or tool rule that no other customer should get.
A key can be on a shared plan or on one of its own customer’s plans. Putting a key on another customer’s plan is refused with cross_customer_move, whether you create the key or move it.
Editing a plan’s cap or tool applies from each key’s next decision, to every key on the plan. On a shared plan, that’s every customer’s keys on it.
The two plans you get at sign-up, pilot and prod, are shared plans, so the Plans page shows “all customers” for them. Their keys belong to the sandbox customer, but your other customers’ keys can use those plans too.
Counters are per key
Section titled “Counters are per key”A plan’s cap applies to each key on it separately. In the console’s words: “It counts per key.” Two keys on the same plan each get the full cap. There’s no single total for a customer, and none for a plan.
So when one key reaches its cap, only that key is denied. Other keys, on the same plan or not, keep their own counts and keep working. Revoking one key leaves the others working too.
One key per integration (recommended)
Section titled “One key per integration (recommended)”We recommend one key per integration or AI agent. Then a deny stops that one caller, and the customer’s other integrations keep running. You can also see which integration made each call: Console → Decisions shows the key on every row.
This is a recommendation, not a rule. You can create more than one key for the same customer, on the same plan or on different plans. Sign-up itself creates two keys for the sandbox customer: one on pilot and one on prod. Keys that share one secret share one count: if one of those callers runs away, it uses up the count for all of them.
Moving a key
Section titled “Moving a key”“Move to plan puts a key on a shared plan or another plan of the same customer. The secret stays the same.” The new plan applies from the key’s next decision. You can move a key in Console → Keys, or with the admin API.
- Same customer or a shared plan. “Moves to another customer’s plan are rejected; create a new key for that customer instead.”
- Same period. A key can only move to a plan with the same period: month to month, day to day, minute to minute. Because a plan’s period can’t be changed, a key on a day plan has nowhere to go if no other day plan is shared or belongs to its customer. You can then either:
- add another day plan (shared, or only for that customer) and move the key to it; or
- create a new key on a month or minute plan, and put the new secret in that integration in place of the old one.
- This period’s count carries over. The count belongs to the key, not the plan. If the new plan’s cap is below what the key has already used, its next calls are denied until the period resets. The console confirms a move with: “Key moved. The new plan applies from its next decision, and this period’s count carries over.”
One customer or many
Section titled “One customer or many”- One company you sell to = one customer. Your ID field can hold your own account ID for them.
- That company’s integrations = several keys under that customer, one per integration. They can share one plan (each key still gets the full cap) or use different plans.
- A second company you sell to = a second customer. Its keys can’t use the first company’s own plans, and a key can’t be moved from one customer to another. Shared plans work for both.
One customer doesn’t give you a total across that customer’s keys. Caps are per key.
“Deleting a customer takes it off this list and revokes its keys, the same as Revoke on the Keys page. Decisions already recorded stay. The sandbox customer stays.” To stop one integration, revoke its key on the Keys page instead.
Worked example: one customer, three integrations, one runaway
Section titled “Worked example: one customer, three integrations, one runaway”You run a notes API with one tool, notes.search. Your customer Acme runs three integrations against it:
- a nightly sync that indexes Acme’s notes every night,
- a chat assistant that answers Acme staff’s questions,
- a report builder that writes weekly summaries.
Set up in the console:
- Customers: add Acme.
- Plans: add a plan named
acme-notes, customer only Acme, toolnotes.search, period Month (UTC), 200 allows per period. New plans start in shadow; when the would-denies look right, click Enforce on the plan’s row. - Keys: create three test keys for Acme on
acme-notes, one per integration:acme-nightly-sync,acme-chat-assistantandacme-report-builder. Put each secret in that integration’s own config.
What happens: a bug makes the nightly sync loop. Its key uses its 200 allows, and its next call gets:
{"decision":"deny","reason":"quota_exceeded","remaining":0,"limit":200,"resets_at":"2026-12-01T00:00:00.000Z","mode":"enforce","request_id":"req_…","explanation":"…"}The chat assistant and the report builder are on the same plan, but each key has its own count, so they keep getting allow until they reach their own 200. Only the nightly sync stopped. In Console → Decisions, the Key column shows acme-nightly-sync (test) on each deny, so you know which integration to fix.
If you’d used one key for all three, the runaway sync would have used up the shared count and stopped the chat assistant and the report builder too.
After the fix: to give acme-nightly-sync more room this month, move it to another monthly plan for Acme or to a shared monthly plan; its count this month carries over. Or wait for the reset on the 1st (UTC). A key on a monthly plan can only move to another monthly plan.