n'clerk
n'clerk/Docs/For unit members/AI key and usage

AI key and usage

Updated 3 November 2026Tiếng Việt

Docs pages

Which key a request uses

Departments draft with an AI model. Today the provider is Anthropic: drafts are written by Claude, Anthropic's model, and more providers may come. Each request uses, in this order:

  • your unit's own Anthropic key, when a lead has set one;
  • otherwise CitiDev's key;
  • otherwise no key: the department writes a template draft and calls nothing.

The Lead view's sidebar shows the key in use: yours, CitiDev or none.

The top of the Lead view's sidebar, with the "Claude key" line showing yours.
(1) The sidebar shows the key in use: yours, CitiDev or none. It also opens the "Claude key and usage" page.

Set, replace or remove the key

On the AI key page, Claude key and usage, at nclerk.com/s/ followed by your workspace and /settings, a lead pastes the key and presses "Save", or "Replace" when one is set.

  • The key is checked with Anthropic before it is stored. A key Anthropic refuses is not stored.
  • It is stored encrypted. Only its last 4 characters are ever shown, with who set it and when.
  • "Remove" deletes it. Requests then use CitiDev's key, or template drafts if there is none.
  • If Anthropic refuses the key later, drafting fails and the page says the key failed its last check. Set it again.

Team members see which key is in use but cannot change it.

The "Claude key" card: the key in use, its last four characters, who set it and when it was checked, the field with Replace, and Remove.
The key card: (1) the key in use, (2) only its last 4 characters, (3) paste a key and press Replace, or Save when none is set, (4) Remove.

Usage

The same page shows what the AI model cost this month: totals, cost by day, by department, by key and by model, the most recent calls, and earlier months. It shows counts and costs only, never the text of a request or a draft. Template drafts make no call and cost nothing.

The printable monthly report, at nclerk.com/r/ followed by your workspace, shows the month's usage and sessions. See Reports.

The monthly budget

A lead can set a monthly budget in US dollars. At 80% of it, the workspace shows a warning. It blocks nothing: requests keep running past it. Leave it empty for no budget.

The Monthly budget card: used this month, a warning from 80%, blocks nothing, and a field to set the budget in US dollars with Save.
The monthly budget: (1) the warning comes at 80%, (2) set the budget in US dollars and press Save.

Something here does not match what you see? Tell your CitiDev contact.