Skip to content

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 402 and insufficient_credits.
  • You want to cut spend without losing quality.

Decide: which meter applies ​

Model sourceMeterWhere you see itWhat you can cap
Managed cognipeer.* model, hosted serviceCreditsSettings → Usage → CreditsRequests and tokens per user, group or token. There is no credit cap
Model on your own provider key, any deploymentUSD, from the price you set on the modelOperate → Cost & OptimizationRequests, tokens and USD budgets
Self-hosted installationUSD only. There are no credits and no Usage pageOperate → Cost & OptimizationThe same

Storage is never paid with credits. Stored files and vectors count against the storage of your plan.

How a charge is computed ​

ServiceCharge
Chat modelIts 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 ruleA 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 modelCredits per 1M tokens
Web searchCredits per search. An advanced search counts as two

For a chat call:

text
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 413 and context_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 ​

KindHow it arrivesWhat happens at the end
Included creditsGranted every month by your plan, renewed on the 1st (UTC)Unused monthly credits do not roll over
One-time creditsPrepaid lots. Each redeemed code is one lot. A lot can have an expiry date or noneA 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.

TabWhat it shows
OverviewPlan 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
CreditsThe 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
PricesWhat each model and service costs in credits, and how a charge is computed
EventsTimes 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 ​

ResponseMeaningWhat to do
402 insufficient_creditsNot enough credits for this request. In the OpenAI dialect the type is insufficient_quotaA 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-AfterThe balance cannot be read, so managed services pauseRetry after the delay
413 context_over_credit_capThe prompt is larger than a managed call may beShorten 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 ​

LeverWhat it changesWhereWatch for
RoutingSends easy requests to a cheaper model and hard ones to a strong oneDynamic LLM, with pools and cost guardsA pool that is Cheapest over unequal models always picks the small one
CachingPrompt caching bills repeated prefixes at the cached rate. A semantic cache answers repeated questions with no model callThe model's configuration. See InferenceA semantic-cache hit logs empty usage, so charts disagree. The cache does not apply to streaming
Context disciplineFewer input tokens per call: shorter system prompt, a smaller tool menu, trimmed historyThe agent's Build tabCompare the output rate with the input rate on the Prices tab before you decide what to trim
Budgets and limitsStops runaway useSettings → IAM center → Limits, session budgets, Spend and Budgets APICredits are not a unit. Limit requests or tokens
Measure, then proveFinds waste and tests a cheaper modelCost and Optimization: prescriptions, recommendations and parity testsA 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.

LineInputYour valueWhere to find it
AUsers who chatYour plan
BWorking days per monthYour calendar
CMessages per user per dayPilot, or similar tools you run
DModel calls per message1 for plain chat. More for an agent that calls tools. Credits → Spend shows calls
ECalls per month = A × B × C × D
FUncached input tokens per callCredits → Movements, the detail of a charge
GCached input tokens per callThe same
HOutput tokens per call, reasoning includedThe same
IRates a, b, d and the minimum per callSettings → Usage → Prices
JCredits per call = max(minimum, ⌈(F × a + G × b + H × d) ÷ 1000⌉)
KCredits per month = E × J
LCompare with included credits plus one-time creditsCredits 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 ​

SymptomCauseFix
insufficient_credits while the balance looks positiveA hold is placed before the call, and a lot may have endedCheck Open credits and each lot's end date on the Credits tab
Credits fall faster than expectedLarge prompts, reasoning tokens counted as output, many calls per message, or the call minimum on small callsCredits → Spend by agent and project, then read the detail of a few charges
The Credits or Prices tab is missingThe workspace has no credits, the deployment is self-hosted, or you are not an owner or adminAsk an owner or admin. Self-hosted installations have no credits
Monthly credits disappeared at month endThey do not roll overSpend them first, which happens by default, or plan the grant
A cost shows $0 for my own modelNo price is set on the model. A price applies from the day you enter it, not backwardsSet the rates in Operate → Cost & Optimization → Pricing. See Cost and Optimization
Savings from the semantic cache do not show in chartsA hit logs empty usageRead the cache-hit counter

Next steps ​

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub · Contact Support