Skip to Content
BlocksAI

AI Usage

Tokens by model, every model you could call, cost by feature and by member, model latency and errors, prompt caching savings, margin by customer and what one customer costs and why, every model call in a table that opens it in full, which provider answers each route, and what the guardrails caught.

AI usage blocks track what language models cost and how they perform. Prices and model names in the previews are placeholders.

Model Usage, Pro

Spend, requests or tokens each day for 30 days, stacked by model, against a daily budget pace, with a launch marked.

Pro

Spend by day

Loading
  • gpt-4o-transcribe-diarize
  • claude-sonnet-5-5
  • gemini-3.5-flash-lite
  • text-embedding-3-small
  • 3 other models

Model Mix, Pro

Each model's spend and its share of the total, with its maker's logo and the feature that calls it, the four costliest first.

Pro

Models

gpt-4o-transcribe-diarize is 2% of requests but 64% of spend.

Spend by model over the last 30 days
ModelSpend
gpt-4o-transcribe-diarizeOpenAI  transcribe$4,38364%
claude-sonnet-5-5Anthropic  ask$1,83827%
gemini-3.5-flash-liteGoogle  action-items$2824%
text-embedding-3-smallOpenAI  embed$2113%
3 other modelsclaude-haiku-5-5, gemini-3.8-flash, and gpt-5-mini$1362%

Model Cards, Pro

A card for each model a meeting notes app calls, with its spend, daily bars against the month before and notes on what to act on, such as a provider failing now or a cheaper model that does the same job.

Pro
  • gpt-4o-transcribe-diarize

    transcribe

    $4,09362% of spend

    Up 12% vs the 30 days before

    • gemini-3.5-transcribe labels speakers too, for about $3,411 a month.
  • claude-sonnet-5-5

    ask

    $1,85628% of spend

    Up 41% vs the 30 days before

    • Up since Ask opened to Team plans on Nov 5.
    • 312 requests went to Amazon Bedrock on your AWS key while Anthropic was degraded, Nov 6.
  • gemini-3.5-flash-lite

    action-items  Degraded

    $2634% of spend

    Up 6% vs the 30 days before

    • Google is failing 2.1% of calls since 06:10, and there’s no fallback.
    • gpt-6-luna does the same job for about $79 a month.

Model Detail, Pro

One model opened beside its card: Google failing calls with no fallback, and the cheaper models that return JSON too, with one suggested.

Pro
Degraded

gemini-3.5-flash-lite

Google  Runs action-items

Failing 2.1% of calls since 6:10 AM UTC. Google is degraded, and action-items has no fallback, so these calls fail for your users.

Your last 30 days

action-items: Pulls each transcript’s action items out as JSON.

Spend

$263

Up 6% vs the 30 days before

Requests

73,140

Your median time

1.3 s

Errors today

2.2%

0.4% over 30 days

Same job for less

gpt-6-luna does the same job for about $79 a month, $184 less. Switch action-items to it on Routing.

What action-items would cost a month on each model that can do its job
ModelAgainst the othersA month
deepseek-v4.1-flash-1017$17Down 93.4% vs gemini-3.5-flash-lite
claude-haiku-5-5$79Down 70.1% vs gemini-3.5-flash-lite
gpt-6-lunaSuggested$79Down 70.1% vs gemini-3.5-flash-lite
qwen3.8-flash$110Down 58% vs gemini-3.5-flash-lite
gemini-3.5-flash-liteNow$263

Only models with JSON output. A month at list price, for the tokens action-items sends.

Price

Input

$0.30
/1M

Cached input

$0.030
/1M

Output

$2.50
/1M

Context

1M
tokens

Speed

Medians across every workspace over the last 7 days.

First token

380 ms

Writes at

310
tok/s

Longest reply

65.5K
tokens

Served by

2 providers. Uptime is the last 30 days, and under each one you call, what you sent it.

Providers serving gemini-3.5-flash-lite
ProviderIn, per 1MUptime
GoogleFailing 2.1% of calls since 6:10 AM UTC.$0.30$2.50 out99.99%
Google Vertex AI$0.30$2.50 out99.98%

Model Catalog, Pro

Every model a gateway can route to, cheapest first at your mix, with filters down the side for price, maker, what each can do and what's changing.

Pro

Catalog

22 models from 8 makers on 16 providers. Narrow them down by maker, what they can do and what’s changing.

16 text models, $0.12 to $9.28 at your mix, cheapest first.

Text models, cheapest first
ModelAt your mixIn and outSpeedContextServed byState
Anthropic  Oct 7  In use$0.12$0.10  $0.50150tok/s1MAnthropic, Amazon Bedrock, Google Vertex AI, Azure
OpenAI  Sep 22  In use$0.12$0.10  $0.50215tok/s1.1MOpenAI, Azure
Qwen  Aug 26$0.16$0.15  $0.47190tok/s1MAlibaba Cloud
DeepSeek  Oct 17New$0.17$0.0060  $0.50110tok/s1MDeepSeek, Together AI, Fireworks, DeepInfraNew
OpenAI  Aug 5, 2025$0.17$0.15  $0.60480tok/s131.1KGroq, Together AI, Amazon Bedrock, Cerebras
Google  Jul 21  In use$0.39$0.30  $2.50310tok/s1MGoogle, Google Vertex AI
Mistral  Oct 6$0.76$0.70  $2.10105tok/s1MMistral, Together AI
Google  Sep 2  In useDoubles Jan 1$0.87$0.83  $4.13230tok/s1MGoogle, Google Vertex AIDoubles Jan 1
OpenAI  Oct 26New$1.16$1.00  $5.00140tok/s1.1MOpenAI, AzureNew
Google  Jun 17, 2025Retires Dec 1$1.60$1.25  $10.0095tok/s1MGoogle, Google Vertex AIRetires Dec 1
xAI  Sep 21$2.16$2.00  $6.00175tok/s500KxAI
Anthropic  Sep 28  In use$2.32$2.00  $10.0088tok/s1MAnthropic, Amazon Bedrock, Google Vertex AI, Azure
Google  Oct 13NewPreviewDoubles Dec 1$2.32$2.00  $10.00128tok/s1MGoogle, Google Vertex AINewPreviewDoubles Dec 1
Moonshot AI  Oct 23New$2.32$2.00  $10.0052tok/s1MMoonshot AI, Fireworks, GroqNew
Anthropic  Sep 22$4.64$4.00  $20.0058tok/s1MAnthropic, Amazon Bedrock, Google Vertex AI, Azure
Anthropic  Nov 7NewBlocked$9.28$8.00  $40.0046tok/s1MAnthropic, Amazon Bedrock, Google Vertex AINewBlocked

Token Usage

Tokens per day stacked by model against the daily average, with the total cost and the cost per million tokens.

npx shadcn add @dashboardblocks/ai-usage-01

Token usage

Tokens per day by model over the last 14 days.

Tokens
203.7M
Cost
$1,515.00
Per million tokens
$7.44
  • Reasoning42.1M$1,184.00
  • Fast118M$312.00
  • Embeddings43.6M$19.00
Token usage: Tokens per day by model over the last 14 days.
DayReasoningFastEmbeddings
Sep 131.2M3.8M1.4M
Sep 141.2M3.8M1.4M
Sep 152.8M8.9M3.3M
Sep 162.8M9.2M3.4M
Sep 172.9M9.4M3.5M
Sep 183M9.7M3.6M
Sep 193.1M9.9M3.7M
Sep 201.2M3.8M1.4M
Sep 211.2M3.8M1.4M
Sep 223.3M10.7M3.9M
Sep 234.7M10.9M4M
Sep 244.8M11.2M4.1M
Sep 255M11.4M4.2M
Sep 265.1M11.7M4.3M

Cost by Feature

Model spend by product feature, with each feature's input, cached and output tokens and its cost per thousand requests.

npx shadcn add @dashboardblocks/ai-usage-02

Cost by feature

Research agent takes 60% of the spend.

$1,404.00

Spent on models across 4 features this month.

  • Research agent$842.0060%
    94.8M tokens · 18.4K requests$45.76 per 1K requests
    64M input, 21M cached input and 9.8M output tokens.
  • Chat assistant$391.0028%
    111.6M tokens · 212K requests$1.84 per 1K requests
    41M input, 58M cached input and 12.6M output tokens.
  • Ticket summaries$144.0010%
    45.1M tokens · 96.5K requests$1.49 per 1K requests
    38M input, 4M cached input and 3.1M output tokens.
  • Search embeddings$27.002%
    54M tokens · 1.5M requests$0.018 per 1K requests
    54M input, 0 cached input and 0 output tokens.

Model Performance

Requests, time to first token from the median to the 95th percentile, output speed and error rate for each model.

npx shadcn add @dashboardblocks/ai-usage-03

Model performance, last 24 hours

Fast served 86% of 371,800 requests. Vision errors on 2.1% of requests, over the 1% threshold.

Model performance, last 24 hours
ModelRequestsTTFT, median to p95Tokens/sErrors
Reasoning41,2001.24 s3.88 s580.40%
Fast318,000310 ms790 ms1640.12%
Vision12,600880 ms2.94 s912.10%, above the 1% threshold

TTFT is time to first token. The dot is the median and the bar runs to the 95th percentile. Error rates over 1% are red.

Prompt Caching

The share of input tokens served from the cache, its change, what it saved and what tokens would have cost without it.

npx shadcn add @dashboardblocks/ai-usage-04

Prompt caching

All requests this month. Cached input costs a tenth of the input price.

Input tokens served from the cache

29.6%

Up 5.6 pts vs last month

Saved by caching
$224.10
Spent on tokens
$998.40
$1,222.50 without the cache
  • Input197M
  • Cached83M
  • Output25.5M

AI Margin, Pro

A month's customers by margin after AI cost, lowest first: each one's cost drawn inside what it pays with a tick at the target, its spend cap, and who is losing money or at its cap.

Pro

AI margin by customer

2 customers cost more in AI than they pay, and 2 customers are under the 75% margin target.

AI margin
81%
Revenue
$26,329.00
AI cost
$5,092.79
AI margin by customer
Cost of what they payStatus
UmbrellaFree$0.00$40.12No revenue−$40.12No revenue$40  100% spent this monthAt its cap
InitechPro$600.00$702.40117%−$102.40−17%NoneLosing money
GlobexPro$1,200.00$486.2041%$713.8059%NoneUnder target
TyrellBusiness$3,600.00$1,150.0032%$2,450.0068%$1,500  77% spent this monthUnder target
Stark LabsPro$1,200.00$300.0025%$900.0075%NoneOn target
Northwind Traders International Holdings GmbH & Co. KGEnterprise$12,480.00$1,904.7515%$10,575.2585%NoneOn target
AcmeBusiness$4,800.00$412.609%$4,387.4091%NoneOn target
HooliBusiness$2,400.00$96.304%$2,303.7096%NoneOn target
Wayne AnalyticsStarter  since Sep 18$49.00$0.421%$48.5899%NoneOn target
SoylentFree$0.00$0.00No usage$0.00No usageNone
  • What they pay
  • AI cost
  • AI cost at a 75% margin

AI Margin: Dot Bars, Pro

The five costliest customers, each a row of squares worth about $100: AI cost filled inside what they pay, and red where one costs more than it pays.

Pro

Costliest customers

Your 5 costliest customers drive 67% of AI spend. Nimbus Studio costs more in AI than it pays you.

  • AI cost
  • What they pay
  • Cost over what they pay
  • Each square is about $100

Customer Cost, Pro

One customer opened beside the margin table: a Team customer losing money on transcription, its cost by day jumping once Ask opened to its plan.

Pro
Losing money

Nimbus Studio

Team  $720 a month  since Sep 1

Margin, last 30 days

−$83.87
Pays
$720.00
AI cost
$803.87

Costs 112% of what it pays, against your 70% margin target. Most of it is transcribe: its meetings are 15.5% of all your customers’.

Cost by feature

AI cost by feature, Nimbus Studio
FeatureShare of its costCostShare
transcribe$641.2680%
ask$108.4413%
action-items$41.245%
summarize$4.731%
embed$3.55<1%
2 more$4.651%

Cost by day

228,429 requests, about $27.04 a day. The dashed line is the $7.20 a day your 70% margin allows.

Cap

No cap. Its requests are never refused, whatever they cost.

    Member Usage, Pro

    A workspace's model spend this month by person, each as a bar split by model and as long as their share of the top spender's.

    Pro

    Usage by member

    Maya Patel spent the most, 44% of the total.

    $79.95

    Spent on models by 5 people this month.

    • Lumen
    • Lumen Deep
    • Lumen Fast
    • Maya Patelmaya@northwind.studio$34.8344%

      Lumen Deep $21.84  Lumen $12.37  Lumen Fast $0.62

    • Daniel Brooksdaniel@northwind.studio$20.6426%

      Lumen $19.46  Lumen Fast $1.18

    • Aiko Tanakaaiko@northwind.studio$14.2818%

      Lumen $9.81  Lumen Deep $4.12  Lumen Fast $0.35

    • Omar Haddadomar@northwind.studio$7.7310%

      Lumen $5.66  Lumen Fast $2.07

    • Grace Lindqvistgrace@northwind.studio$2.473%

      Lumen $1.53  Lumen Fast $0.94

    Generations Table, Pro

    A workspace's calls, failed, recovered and cut-off ones marked with their reason, with filters by status, feature and model and sorting by cost, tokens or duration to find the outliers.

    Pro

    Generations

    Every model call in Acme.

    Generations: Every model call in Acme.
    FeatureStatusModelCaller
    Loading

    Generation Detail, Pro

    A support agent's call that hit an overloaded provider, then answered on the retry, with its reasoning, tool calls and cache savings.

    Pro
    Calls

    Support agent

    Recovered

    Anthropic failed with Overloaded (529). The retry answered in 3.2 s, costing $0.013.

    Duration
    4.4 s
    First token 1.9 s
    Tokens
    7,124
    6,712 in · 412 out
    Cost
    $0.013
    The cache saved $0.013

    Messages

    3 messages sent, then the reply.

    1. User

      Hi, order #48213 was meant to arrive Monday and tracking hasn’t moved since Friday. Can you check where it is? We need it for a client visit on Thursday.

    2. Assistant

      Called lookup_order (tool 1)

      Arguments
      { "order": "48213" }
      Result
      { "status": "in_transit", "carrier": "DHL", "last_scan": "2026-10-16T17:42:00Z", "promised": "2026-10-19", "value": 640.0 }
    3. Assistant

      Called search_help_center (tool 2)

      Arguments
      { "query": "parcel not moving tracking delayed" }
      Result
      [{ "title": "My tracking hasn’t updated", "summary": "DHL scans can pause for up to 3 working days. After that, we open a trace and can send a replacement by express." }]

    Reply

    Sorry about the wait. Order #48213 was last scanned by DHL on Friday evening, so it’s two working days late. I’ve asked DHL to trace it today. If it hasn’t moved by Wednesday morning, we’ll send a replacement by express so it reaches you before your visit on Thursday, at no cost to you. I’ll email you either way.

    Route Coverage, Pro

    A gateway's routes against its providers: who answers each one and in what order, what fails if one stops, and a fallback to add where another provider could answer too.

    Pro

    Coverage

    A help desk’s five routes over the last 7 days, in the order each tries its providers, and the share each answered.

    • draft-reply48,214 requests  61 failed
      1. Anthropic98.7%
      2. Amazon Bedrock1.1%
      3. OpenAIgpt-6.1-terraStandby
    • triageFailing9,836 requests  207 failed
      1. Google3.4% failing now97.9%
    • summarize9,412 requests  9 failed
      1. Anthropic99.46%
      2. Amazon Bedrock0.4%
    • embedNo fallback131,507 requests  318 failed
      1. OpenAI99.76%
    • translate3,960 requests  14 failed
      1. OpenAI99.65%
      2. Googlegemini-3.8-flashStandby

    If it stops answering

    • OpenAI1 route failsembed
    • AnthropicNothing fails2 routes move on
    • Google1 route failstriage
    • Amazon BedrockNothing changes
    • AzureNothing changes

      Route Steps, Pro

      One gateway route's steps in order with what each answered, why requests fell back and its settings, with last week worked out again on a new order before you save it.

      Pro

      The reply route

      A help desk’s reply drafts over the last 7 days: Anthropic answers first, and Amazon Bedrock took what Anthropic failed.

      reply, in the order its steps are tried
      Tried in this orderAnsweredMedianA requestErrors
      Step 1: claude-sonnet-5-5Anthropic98.4%910 ms$0.0141.6%
      Step 2: claude-sonnet-5-5Amazon Bedrock, your AWS key1.5%1.1 s$0.0140%
      Step 3: claude-sonnet-5-5Vertex AIStandbyUsually 1.3 s$0.016Not reached
      Step 4: gpt-6.1-terraOpenAIStandbyUsually 980 ms$0.0071Not reached

      Why 415 fell back

      • 268While Anthropic was degraded for 18 minutes on Nov 6
      • 147With no first token within 30 s

      Settings

      TimeoutWaits this long for a step before trying the next.
      s
      RetriesOn the same step after a 429 or a 5xx.
      Zero data retentionSkips every provider that keeps any of a request.
      CachingAnswers a prompt seen before from the cache.

      Routing Rules, Pro

      An AI gateway's Deny and Rewrite rules, checked before any route, with what each matched in the last 7 days.

      Pro

      Rules

      Checked before any route. 435 requests matched one in the last 7 days. 1 of 3 off.

      • No Opus for evalsKey ci-evals  23 in 7 daysDenyclaude-opus-5-5refused with 403
      • Old tests still ask for Gemini 2.5Staging  412 in 7 daysRewritegemini-2.5-protogemini-3.8-flash
      • Hold GPT-6 Astra until the price reviewEvery request  0 in 7 daysDenygpt-6-astrarefused with 403

        Guardrail Rules, Pro

        An AI gateway's guardrails in the order a request passes them, each with what it caught in the last 7 days and a switch for what it does when it matches, which first says what the change would have done.

        Pro

        Rules

        Every request passes these in order: the prompt on its way in, then the answer on its way out. A block stops it there.

        Rules
        RuleWhen it matchesLast 7 days
        Prompt injectionPrompts in every feature
        Blocked 38 requests22 instruction overrides, 11 system prompt requests, 5 more
        Personal dataPrompts in summarize, action-items, and ask
        Redacted 1,284 in 912 requests611 email addresses, 498 phone numbers, 175 more
        Secrets and API keysPrompts and answers in every feature
        Redacted 9 in 6 requests5 Stripe keys, 3 AWS access keys, 1 more
        Legal and medical adviceAnswers in ask
        Flagged 213 answersFlag only since Nov 6, blocks nothing
        Violence and self-harmPrompts and answers in every feature
        Nothing in 7 daysLast caught Oct 9
        Internal codenamesAnswers in every feature
        Checks nothingOff since Nov 3

          Guardrail Detail, Pro

          One guardrail opened beside its list, with what it caught by day, where it came from and the words it caught in its latest requests.

          Pro
          Redacting

          Personal data

          Checks prompts in summarize, action-items, and ask.

          Last 7 days

          912
          requests redacted

          1,284 things masked in all  2.3% of 39,870 prompts checked

          The dashed line is the average, 130 a day.

          What it caught

          What Personal data caught
          What Personal data caughtShareCount
          Email addresses611
          Phone numbers498
          Street addresses142
          Card numbers33

          Where it came from

          Where Personal data’s catches came from
          Where Personal data’s catches came fromShareCount
          Features
          action-items389
          summarize381
          ask142
          Top customers
          Oakridge Legal168
          Nimbus Studio151
          Pinecrest Health117

          Latest

          Set to redact by Priya Nair on Oct 29  Adds about 9 ms to a request

          Guardrail Test, Pro

          A box to try a prompt or an answer against the guardrails as you type, which says whether they block, redact or flag it and marks the words that did it.

          Pro

          Try a request

          Paste a prompt or an answer to see what the rules above do to it. Nothing is sent to a model.

          Checking…

          On this page