Cortex Code costs
Keep AI-assisted development spend visible and under control. Home » CoCo Costs shows what Cortex Code costs across its CLI, Desktop and Snowsight surfaces, who drives that spend, which models it goes on and how close each user is to a daily limit. It also covers calls to the Cortex REST API.
Choose a Lookback of 7 days (default), 30 days or 90 days, and a Surface: All surfaces, CLI, Desktop or Snowsight.
What the page shows
Section titled “What the page shows”| Section | What it tells you |
|---|---|
| Headline numbers | Credits for the period, compared with the period before; projected spend for this month (month to date plus the 7-day run rate); active users and requests; cache hit rate; Cortex Code’s share of all metered AI credits. |
| Needs attention | Users blocked by, or at 80% or more of, a per-user quota; users at 80% or more of their surface’s daily limit in the last 24 hours; a day where spend jumped to at least twice the 7-day average; a model used mostly for short, simple requests, with the likely saving; and surfaces with no daily limit. |
| Daily limits per user | Each surface’s daily limit per user (no limit, blocked, or a credit amount) and every user active on it in the last 24 hours against that limit. |
| Daily credits | Credits per day, by surface. |
| By hour of day | Credits by hour, for the whole period or one day, with working hours marked. |
| Users | The top 50 users: credits, share of spend, requests, cache hit rate, top model and quota status. |
| Models | Credits, requests and users per model, with input, output, cache read and cache write tokens, and credits per million tokens. |
| Allocation by user tag | Spend by the tags on your Snowflake users, for team or cost-centre reporting. A user with several tags counts toward each. |
| Most expensive requests | The 20 costliest requests, with time, user, surface, models, tokens and credits. |
| Cortex REST API | Estimated credits, calls, tokens and unpriced models, then each model. Shown when All surfaces is selected. |
Daily limits are Snowflake account and user parameters, set separately for each surface. A limit set on an individual user overrides the account limit for that user. See Daily credit usage limits and Per-user quotas in the Snowflake documentation.
A low cache hit rate usually means long, fresh contexts, the most expensive way to use Cortex Code.
Drill in and ask
Section titled “Drill in and ask”Select a user, model, day, hour or request to open it in a side panel, with its numbers and charts for the same period. A day offers See day by hour. A request shows its Request ID, which you can copy, and Open user.
Each item in Needs attention, each user and several charts have an Ask button, which asks the Agent of Health about it. The side panel also suggests questions. Select Open in Agent of Health to carry on the conversation there.

