Credits and cost planning
Credits are the unit the hosted service uses to charge for managed models, the cognipeer.* models, and nothing else. Models that run on your own provider keys never use credits, and their cost is reported in USD. This page shows which meter applies to you, how a charge is computed, what to watch, and how to estimate a month before you commit.
When to use
- You run on the hosted service and want to know what a pilot will cost.
- The balance is dropping and you need to find where it goes.
- A call failed with
402andinsufficient_credits. - You want to cut spend without losing quality.
Decide: which meter applies
| Model source | Meter | Where you see it | What you can cap |
|---|---|---|---|
Managed cognipeer.* model, hosted service | Credits | Settings → Usage → Credits | Requests and tokens per user, group or token. There is no credit cap |
| Model on your own provider key, any deployment | USD, from the price you set on the model | Operate → Cost & Optimization | Requests, tokens and USD budgets |
| Self-hosted installation | USD only. There are no credits and no Usage page | Operate → Cost & Optimization | The same |
Storage is never paid with credits. Stored files and vectors count against the storage of your plan.
How a charge is computed
| Service | Charge |
|---|---|
| Chat model | Its tokens times the model's rates. Uncached input, cached input and output each have a rate per 1K tokens. The result is rounded up to whole credits and is never below the model's minimum per call |
| Chat model on the earlier per-call rule | A number of credits per call that depends on the prompt size, shown as per call, prompt up to N tokens on the Prices tab |
| Embedding model | Credits per 1M tokens |
| Web search | Credits per search. An advanced search counts as two |
For a chat call:
credits = max(minimum per call,
ceil((uncached input × a + cached input × b + output × d) ÷ 1000))a, b and d are the model's credits per 1K tokens for uncached input, cached input and output. Read them on the Settings → Usage → Prices tab. This page gives no rates: they belong to the catalog in force for your workspace and can change.
What else decides the number:
- Input is the whole prompt as the model receives it, cached parts included.
- Output includes reasoning tokens.
- Cached input is the part the provider read from its prompt cache. It costs the lower cached rate. A cache write is charged like uncached input. A managed call uses the provider's 5-minute cache only.
- Limits per call. A prompt above the model's input cap, at most 256,000 tokens, is refused before it is sent with
413andcontext_over_credit_cap. The output limit is clamped to 32,000 tokens. - A hold comes first. Before a managed call runs, the platform holds an estimate of its cost: the prompt priced as uncached input plus up to 8,000 output tokens, or the call's own output limit when lower. After the call it settles the real usage and gives back or debits the difference. The balance can end below zero by at most one call.
Where credits come from
| Kind | How it arrives | What happens at the end |
|---|---|---|
| Included credits | Granted every month by your plan, renewed on the 1st (UTC) | Unused monthly credits do not roll over |
| One-time credits | Prepaid lots. Each redeemed code is one lot. A lot can have an expiry date or none | A lot ends on its date |
Monthly credits are spent first, then the one-time credits that end soonest. Plans and credits are managed by Cognipeer: ask your contact for a code.
To redeem a code, open Settings → Usage → Credits, paste it under Redeem a credit code and select Redeem. Only owners and admins can. A code can be refused as not valid, expired, issued for a different workspace, already redeemed or cancelled.
Watch the balance
Settings → Usage is for owners and admins, and only on the hosted service. The Credits and Prices tabs exist only when the workspace has credits.
| Tab | What it shows |
|---|---|
| Overview | Plan and seats, capacity now, monthly allowances, a credits card with the balance, what is included this month, prepaid credits and the Runway at the last 7 days of spend. A Usage emails card sets the e-mails below |
| Credits | The balance card with each one-time lot. Spend grouped by model, service, project or agent with calls, credits and share. Credits per day (UTC). A months table. Movements, every grant, redemption and charge, with filters and Export CSV. The detail of a charge shows tokens in and out, the part from cache and call minimum when it applied |
| Prices | What each model and service costs in credits, and how a charge is computed |
| Events | Times a limit was reached, and whether the request was refused, queued or waited |
Usage e-mails go to owners and admins: an alert when credits fall to 20%, 5% and 0, and when a monthly limit reaches 80% and 100%; a weekly summary on Mondays at 09:00; and a monthly summary on the 1st at 09:00. A banner in the console says Credits are running low and Credits are used up.
When credits run out
| Response | Meaning | What to do |
|---|---|---|
402 insufficient_credits | Not enough credits for this request. In the OpenAI dialect the type is insufficient_quota | A retry fails until the balance changes. Redeem a code, wait for the monthly grant, or route to a model on your own key |
503 credits_unavailable, with Retry-After | The balance cannot be read, so managed services pause | Retry after the delay |
413 context_over_credit_cap | The prompt is larger than a managed call may be | Shorten it |
Models on your own provider keys keep working. Only managed calls are refused.
Credits are not a limit unit
A quota policy limits requests, tokens, vectors, files, storage and other units over a second, minute, hour, day or month. USD budgets are separate daily and monthly spend limits. There is no credit unit. To stop one person or group from spending the balance, cap their requests or tokens in Settings → IAM center → Limits. The scopes are workspace or project, group, user, token, resource, provider and IP address. There is no role scope: map a role to a group at sign-in and limit the group.
An agent has its own USD limits: the per-turn cost limit and the session budget. See Session budgets.
Five ways to reduce spend
| Lever | What it changes | Where | Watch for |
|---|---|---|---|
| Routing | Sends easy requests to a cheaper model and hard ones to a strong one | Dynamic LLM, with pools and cost guards | A pool that is Cheapest over unequal models always picks the small one |
| Caching | Prompt caching bills repeated prefixes at the cached rate. A semantic cache answers repeated questions with no model call | The model's configuration. See Inference | A semantic-cache hit logs empty usage, so charts disagree. The cache does not apply to streaming |
| Context discipline | Fewer input tokens per call: shorter system prompt, a smaller tool menu, trimmed history | The agent's Build tab | Compare the output rate with the input rate on the Prices tab before you decide what to trim |
| Budgets and limits | Stops runaway use | Settings → IAM center → Limits, session budgets, Spend and Budgets API | Credits are not a unit. Limit requests or tokens |
| Measure, then prove | Finds waste and tests a cheaper model | Cost and Optimization: prescriptions, recommendations and parity tests | A recommendation is a projection. Run a parity test before you switch |
Estimate a scenario
Fill the worksheet with measured numbers where you can. A pilot of a week gives better inputs than a guess.
| Line | Input | Your value | Where to find it |
|---|---|---|---|
| A | Users who chat | Your plan | |
| B | Working days per month | Your calendar | |
| C | Messages per user per day | Pilot, or similar tools you run | |
| D | Model calls per message | 1 for plain chat. More for an agent that calls tools. Credits → Spend shows calls | |
| E | Calls per month = A × B × C × D | ||
| F | Uncached input tokens per call | Credits → Movements, the detail of a charge | |
| G | Cached input tokens per call | The same | |
| H | Output tokens per call, reasoning included | The same | |
| I | Rates a, b, d and the minimum per call | Settings → Usage → Prices | |
| J | Credits per call = max(minimum, ⌈(F × a + G × b + H × d) ÷ 1000⌉) | ||
| K | Credits per month = E × J | ||
| L | Compare with included credits plus one-time credits | Credits balance card |
Embeddings add the tokens you index and re-index per month divided by 1M, times the embedding rate. Web search adds searches times the search rate, with an advanced search counted twice.
An example of the arithmetic, with inputs only: 100 users, 20 days, 10 messages a day and 3 calls per message give 100 × 20 × 10 × 3 = 60,000 calls per month. Put your rates into line J and multiply. Run a low and a high case, and rerun the worksheet when you change the model, the prompt or the tools.
To calibrate after a pilot, open Credits → Spend, group by model or agent, and divide Credits by Calls. That is your measured credits per call.
Common problems
| Symptom | Cause | Fix |
|---|---|---|
insufficient_credits while the balance looks positive | A hold is placed before the call, and a lot may have ended | Check Open credits and each lot's end date on the Credits tab |
| Credits fall faster than expected | Large prompts, reasoning tokens counted as output, many calls per message, or the call minimum on small calls | Credits → Spend by agent and project, then read the detail of a few charges |
| The Credits or Prices tab is missing | The workspace has no credits, the deployment is self-hosted, or you are not an owner or admin | Ask an owner or admin. Self-hosted installations have no credits |
| Monthly credits disappeared at month end | They do not roll over | Spend them first, which happens by default, or plan the grant |
A cost shows $0 for my own model | No price is set on the model. A price applies from the day you enter it, not backwards | Set the rates in Operate → Cost & Optimization → Pricing. See Cost and Optimization |
| Savings from the semantic cache do not show in charts | A hit logs empty usage | Read the cache-hit counter |

