Per-session cost line
Ask what a session cost. You get its tokens, its messages and its API-equivalent cost, with the rate-card date and status.
Remote MCP server + Claude Code plugin + web console · by Spin State Labs
cost-optimizer reads usage metadata only, never your messages. It prices it against dated vendor rate cards and recommends the cheapest model that still meets your quality bar. It recommends; it never changes anything.
Free trial: USD 0 for 30 days, no card, no automatic conversion.
what did this session cost?
session 0123456789abcdef: 1,000,000 tokens · 40 messages · USD 1.000000 · 2026-01-01T09Z to 2026-01-01T11Z · rate card: 2026-01-01 DEMO
API-equivalent cost on the dated public rate card named beside each figure; not an invoice. Propose-only: nothing was changed.
which model should take this code review?
Model advice · state code-review/M/S · objective cost
| action | cost | tokens | P(accepted) | floor | tag |
|---|---|---|---|---|---|
| example-small · direct | $0.1000 | 100,000 | 0.90 | met | - |
| example-medium · direct | $0.5000 | 100,000 | 0.95 | met | - |
| example-large · direct | not computable | 100,000 | 0.95 | met | no rate for this model on the card |
| example-tiny · direct | $0.0100 | 100,000 | 0.50 | UNMET | UNMET fallback |
recommendation: example-small · direct · cost $0.1000 · P(accepted) 0.90
cheapest floor-meeting: example-small · direct · cost $0.1000 · tokens 100,000 · P(accepted) 0.90
parameters: stated priors · rate card 2026-01-01 DEMO · mode: propose-only
Illustrative output — not your data. The session key, model names, token counts, prices and the rate-card date above are placeholders.
Reads four fields only: usage, model, id, timestamp. Message content never leaves your machine.
Every figure carries its rate-card date and status. A figure that cannot be computed exactly reads not computable. It is never an estimate.
Dated rate cards for Anthropic, OpenAI, Google (Vertex AI and Gemini API) and Hugging Face, refreshed from the vendors’ own pages.
01 How it works
cost-optimizer is a remote MCP server and a Claude Code plugin, with a web console for your account. Nothing syncs until you turn it on.
Sign in, create an API key and add cost-optimizer to Claude Code. The install page has the commands. Usage sync is opt-in and stays off until you turn it on.
The plugin reads four fields from your Claude Code transcripts. Session ids are hashed on your machine, and a dry-run prints the exact payload before anything is sent.
Inside Claude Code, ask what a session cost or which model fits a task. cost-optimizer answers with dated figures and a recommendation. It never changes anything.
02 Product
Cost figures you can trace to a dated rate card, advice that states its assumptions, and limits you can see.
What your sessions cost, in Claude Code, in the browser or in your own tools.
Ask what a session cost. You get its tokens, its messages and its API-equivalent cost, with the rate-card date and status.
See where the spend went today, over the last 7 or 30 days, or this month. Group it by model, by day or by seat.
Tokens and cost split into fresh input, cache writes, cache reads and output, with the share of each. You also see the share of prompt tokens served from cache.
One page per ISO week, Monday to Monday UTC: cost and tokens against the week before, by model, by day and, for an owner or admin, by seat. It also shows the unusual days of the week and your budget. Ask for it in Claude Code, read it in the console or fetch it from the API. Nothing is e-mailed.
Look up a vendor’s rates per million tokens, with the date and status of the card they came from.
After sign-in, /account is a console with Home, Costs, Cache, Unusual days, Savings, Weekly report, Chargeback, API usage, API keys, Team, Budget, Usage, Plan and top-ups, Setup, Model prices, and Export and API. It reads your account. It changes no model, budget, plan or charge.
Export your stored usage rows as CSV: session key, hour, model, seat and the token counts. An export holds up to 5,000 rows and says when it was cut. Owners and admins export the account. Other seats export their own rows.
The same figures under /api/v1/ with the same API key: usage meter, cost summary, cache efficiency, unusual days, budget, team summary, the usage export, the weekly report, the chargeback document and organisation API usage. The API has no write route.
Advice before a task and repricing after it. Every answer states what it rests on.
Before a task, ask which model or route is cheapest that still meets a quality floor for a task class, risk and read size. The parameters are stated priors and the answer says so. Token profiles come from your own stored usage. Nothing is switched.
The plugin reads a prompt file on your machine, reports its size and suggests a tighter prompt from fixed rules. The prompt text never leaves your machine. Only labels and a size bucket are sent, to ask for model advice. That counts as one advice call. The check produces no token count and no cost for the prompt. It ships in the Claude Code plugin, which is being published separately. The steps on the install page work without the plugin and do not include this check.
Reprice the tokens you recorded on another model of the rate card in force. You get the recorded cost, the repriced cost and the difference, each exact or not computable. This reprices recorded counts. It is not a forecast of quality or of how many tokens another model would use.
The report shows only savings that were measured. It reads not computable (no measured alternative) until both paths of the same work were measured, and it lists what would be needed. The service stores no alternative path today, so that is the answer you get.
See your allowance, your budget and the days that stand out.
Your plan counts two things: tracked sessions per period and advice calls per day. The meter shows what you used, your allowance, any top-up balance of tracked sessions, what is left and when it resets. Advice calls have no top-up; they reset at 00:00 UTC. Tokens are not a meter. Account status adds your plan, your seats and the trial end date.
The account owner sets a monthly budget in USD and alert thresholds in percent. Budget status shows spend so far this month and which thresholds are crossed. An alert is data in the answer. Nothing is sent and nothing is blocked.
Flags the days whose tokens exceed the median plus 3 × MAD (median absolute deviation) of your days with usage. The rule and its numbers are in the answer. With fewer than 7 days of usage it reads not computable.
A top-up pack holds half of your plan's monthly tracked-session allowance and costs half of its monthly price. The plan allowance is always used first. An unused balance expires 12 months after purchase. Advice calls have no top-up; they reset at 00:00 UTC. Auto-reload is opt-in, off by default and for the account owner only. It records a request and never charges. Nothing can be bought until a payment provider is connected.
Cost per seat for accounts with more than one seat.
The owner or an admin of an account with more than one seat sees sessions, advice calls, tokens and cost per seat. A chargeback table gives each seat’s share of the cost and of the plan fee. Seats appear as ids.
Team and Enterprise, for the owner or an admin. One document per calendar month: per seat the sessions, tokens, API-equivalent cost and share of the cost, and the plan fee per billed seat. It carries a document id and a SHA-256 fingerprint of the figures. Print it or save it as a PDF from the console, or download it as CSV. A figure that cannot be computed reads not computable with its reason. It is not an invoice.
Team and Enterprise, for the owner or an admin. A script on your machine reads your organisation’s usage report with your Admin key and sends only counts per day, model and hashed workspace. Your Admin key never leaves your machine. Standard-tier usage is priced on the dated rate card. Batch, priority, fast, long-context, US-only and web-search charges read not computable. These figures are shown beside your Claude Code figures and never added to them.
The account owner creates an invite code for a free seat. One person can join with it within 7 days.
The service stores counts. No tool accepts free text.
The plugin reads four fields from a transcript: usage, model, id and timestamp. Message content never leaves your machine.
Session ids are hashed on your machine with a salt that stays there. Project and folder names are never uploaded.
Usage sync from Claude Code transcripts runs through the plugin. It is off until you turn it on, and a dry-run prints the exact payload and sends nothing.
An API key is shown once and only its hash is stored. You can revoke a key and create a new one in the console.
Scope today: usage ingestion is Claude Code first; other vendors are rate cards only today.
These are planned and are not part of the product today.
03 Console
Sign in and the console shows your usage meter, your costs and your plan. It reads your account. It changes no model, budget, plan or charge.
cost-optimizer
Home
Individual plan · 1 seat
This periodTokens are not a meter
Tracked sessions120 of 300
180 left. Resets at the start of the next calendar month (UTC).
Advice calls today12 of 200
188 left. No top-up. Resets at 00:00 UTC.
Tracked-session top-up balance: 0. Top-ups are not on sale yet.
Cost by modelLast 7 days (UTC) · each figure names its rate card
| Model | Tokens | Messages | API-equivalent |
|---|---|---|---|
| example-small | 800,000 | 32 | USD 0.80rate card 2026-01-01 DEMO |
| example-medium | 200,000 | 8 | USD 1.00rate card 2026-01-01 DEMO |
| example-large | 50,000 | 2 | not computableno rate for this model on the cardrate card 2026-01-01 DEMO |
| Total | 1,050,000 | 42 | not computableSubtotal of the priced part: USD 1.80 (2 of 3 rows)rate card 2026-01-01 DEMO |
API-equivalent cost on the dated public rate card named beside each figure; not an invoice. Propose-only: nothing was changed.
Illustrative — not your data. The plan, model names, counts, prices and the rate-card date above are placeholders.
04 Who it is for
Each gets an answer with a date on it.
Individual developer
Plans: Free trial, Individual
Team lead
Plan: Team
Finance or ops owner
not computable and gives the reasonPlans: Team, Enterprise
Figures are API-equivalent cost on a dated public rate card. Your vendor invoice is authoritative.
cost-optimizer never sits in the request path. The plugin reads usage metadata from transcripts on your machine. Your requests to a model never pass through it.
It is propose-only. It recommends and you decide. It never changes your model, your plan or your settings by itself, and it never spends money.
It reads four fields only: usage, model, id and timestamp. Message content never leaves your machine.
05 Privacy
cost-optimizer needs to know how many tokens were used, by which model, and when. It does not need to know what you said.
06 Pricing
Start with a 30-day trial without a card. Pay by the month or by the year. If you reach a limit, sync pauses. Your bill does not grow.
Showing monthly billing.
Everything in Individual, to try first.
USD0
for 30 days
On day 31 sync and advice stop; your data stays readable for a set period, then is deleted.
Start freeFor one developer.
USD4.99
per month
For a team that needs cost per seat.
USD4.99
per seat per month
USD 14.97 per month for 3 seats
For 25 seats or more. No base fee.
USD9.99
per seat per month
USD 249.75 per month for 25 seats
Enterprise starts from a team trial. Nothing can be bought on any plan until a payment provider is connected.
Start a team trialAnnual billing is a choice on every paid plan: Individual USD 49.90 per year, Team USD 49.90 per seat / year, Enterprise USD 99.90 per seat / year. That is 10 months' price for 12. The trial has no annual option.
Paid plans are not on sale yet. No payment provider is connected, so nothing can be bought or charged on any plan. Every sign-up starts the 30-day trial.
Session and advice limits are fair-use ceilings, not a meter on your bill: nothing is charged when one is reached.
New sessions are not ingested and advice pauses until the allowance resets or you change plan. Nothing is ever charged automatically. Skipped sessions can be backfilled from your machine afterwards because transcripts stay local.
Tracked sessions reset at the start of each calendar month (UTC). Advice calls reset at 00:00 UTC. The trial has one session allowance that does not reset. Reading your cost figures keeps working.
A top-up pack holds half of your plan's monthly tracked-session allowance and costs half of its monthly price, for your plan and your seats. The plan allowance is always used first, and an unused balance expires 12 months after purchase. The trial has no top-up packs. Advice calls have no top-up; they reset at 00:00 UTC.
Auto-reload is opt-in, off by default and for the account owner only. It records a request and never charges. Nothing can be bought until a payment provider is connected.
07 Compare plans
| Plan | Free trial | Individual | Team | Enterprise |
|---|---|---|---|---|
| Price and limits | ||||
| Price, billed monthly | USD 0 for 30 days, no card | USD 4.99 / month | USD 4.99 per seat / month | USD 9.99 per seat / month |
| Price, billed annually 10 months' price for 12. | No annual option | USD 49.90 per year | USD 49.90 per seat / year | USD 99.90 per seat / year |
| Seats | 1, or 3 when you start as a team | 1 | Minimum 3 | Minimum 25 |
| Tracked sessions | 300 tracked sessions per seat for the whole trial (fair use) | 300 tracked sessions per month (fair use) | 1,000 tracked sessions per seat per month, pooled (fair use) | 5,000 tracked sessions per seat per month, pooled (fair use) |
| Advice calls Advice calls have no top-up; they reset at 00:00 UTC. | 200 advice calls per seat per day (fair use) | 200 advice calls per day (fair use) | 200 advice calls per seat per day (fair use) | 1,000 advice calls per seat per day (fair use) |
| History | History for the length of the trial | 90-day history | 13-month history | 24-month history |
| Self-serve support (docs) | Included | Included | Included | Included |
| E-mail support at support@force-field.ai, first response by the next business day | No stated response time | No stated response time | No stated response time | Included |
| Top-up pack Tracked sessions only. Not on sale yet. No payment provider is connected. | No top-up packs on the trial | 150 tracked sessions for USD 2.50 | 1,500 tracked sessions for USD 7.49 with 3 seats | 62,500 tracked sessions for USD 124.88 with 25 seats |
| On every plan | ||||
| Per-session cost line | Included | Included | Included | Included |
| Cost summary by model, day or seat | Included | Included | Included | Included |
| Dated rate-card lookup | Included | Included | Included | Included |
| Pre-flight model advice Each answer uses one advice call. | Included | Included | Included | Included |
| Prompt check on your machine Needs the Claude Code plugin, which is being published separately. Its advice step uses one advice call. | Included | Included | Included | Included |
| Opt-in usage sync with dry-run | Included | Included | Included | Included |
| Web console | Included | Included | Included | Included |
| Usage meter | Included | Included | Included | Included |
| Budget and alert thresholds Set by the account owner. | Included | Included | Included | Included |
| Cache efficiency | Included | Included | Included | Included |
| What-if repricing | Included | Included | Included | Included |
| Unusual days | Included | Included | Included | Included |
| Savings report Reads not computable until both paths were measured. | Included | Included | Included | Included |
| CSV export of your own rows | Included | Included | Included | Included |
| Weekly report | Included | Included | Included | Included |
| Read-only HTTP API | Included | Included | Included | Included |
| Accounts with more than one seat | ||||
| Team summary and chargeback per seat For the owner or an admin. | On a 3-seat trial | — Not available: one seat | Included | Included |
| Monthly chargeback document For the owner or an admin. | — Not included | — Not included | Included | Included |
| Anthropic Usage & Cost API ingestion For the owner or an admin. Your Admin key stays on your machine. | — Not included | — Not included | Included | Included |
| Invite teammates by code Created by the account owner. | On a 3-seat trial | — Not available: one seat | Included | Included |
| Roadmap: not available yet | ||||
| SSO/SAML Roadmap | — Not planned for this plan | — Not planned for this plan | — Not planned for this plan | Planned |
| Audit export Roadmap | — Not planned for this plan | — Not planned for this plan | — Not planned for this plan | Planned |
| Data-residency choice Roadmap | — Not planned for this plan | — Not planned for this plan | — Not planned for this plan | Planned |
| DPA Roadmap | — Not planned for this plan | — Not planned for this plan | — Not planned for this plan | Planned |
08 FAQ
Four fields only: usage, model, id and timestamp. Message content never leaves your machine. Session ids are hashed on your machine, and project or folder names are never uploaded.
No. They are an API-equivalent cost computed from a dated public rate card. Your vendor invoice is authoritative.
No. cost-optimizer is propose-only: it recommends; it never changes anything.
not computable mean?Every figure carries its rate-card date and status. A figure that cannot be computed exactly reads not computable and gives the reason. It is never an estimate. When part of a total has no price, the total reads not computable and the priced part is shown beside it as a named subtotal.
Before a task, it tells you which model or route is cheapest that meets a quality floor for a task class, risk and read size. The parameters are stated priors and the answer says so. Token profiles come from your own stored usage. Nothing is learned across accounts.
No. The check runs on your machine in the Claude Code plugin, which is being published separately, and the prompt text never leaves it. Only labels and a size bucket are sent, to ask for model advice. That counts as one advice call. A dry run shows exactly what would be sent. The check produces no token count and no cost for the prompt.
After sign-in, /account is a console with Home, Costs, Cache, Unusual days, Savings, Weekly report, Chargeback, API usage, API keys, Team, Budget, Usage, Plan and top-ups, Setup, Model prices, and Export and API. It reads your account. It changes no model, budget, plan or charge.
Two things: tracked sessions per period and advice calls per day. Tokens are not a meter. A session counts the first time it is synced in a period. Advice calls have no top-up; they reset at 00:00 UTC. Reading your cost figures is not limited.
New sessions are not ingested and advice pauses until the allowance resets or you change plan. Nothing is ever charged automatically. Skipped sessions can be backfilled from your machine afterwards because transcripts stay local. The trial has one session allowance that does not reset.
Yes, on every paid plan. Annual billing is 10 months' price for 12: Individual USD 49.90 per year, Team USD 49.90 per seat / year, Enterprise USD 99.90 per seat / year. The trial has no annual option. No payment provider is connected yet, so nothing can be bought on any plan today.
From a team trial. Enterprise is USD 9.99 per seat / month with a minimum of 25 seats and no base fee. It includes e-mail support at support@force-field.ai, with a first response by the next business day. There is no separate Enterprise sign-up, and nothing can be bought on any plan until a payment provider is connected.
Not yet. Top-ups are built and are not on sale: no payment provider is connected, so nothing can be bought or charged. A top-up pack holds half of your plan's monthly tracked-session allowance and costs half of its monthly price: 150 tracked sessions for USD 2.50 on Individual, and 1,500 tracked sessions for USD 7.49 on Team with 3 seats. The plan allowance is used first and an unused balance expires 12 months after purchase. The trial has no top-up packs. Advice calls have no top-up; they reset at 00:00 UTC. Auto-reload is opt-in, off by default and for the account owner only. It records a request and never charges.
No. The account owner sets a monthly budget and alert thresholds. An alert is data in the answer when you ask for your budget status. Nothing is sent and nothing is blocked.
Only where a saving was measured. It reads not computable (no measured alternative) until both paths of the same work were measured. The service stores no alternative path today, so that is the answer you get. What-if repricing shows what your recorded tokens cost on another model. That is arithmetic on recorded counts and is no forecast.
Dated rate cards for Anthropic, OpenAI, Google (Vertex AI and Gemini API) and Hugging Face, refreshed from the vendors’ own pages. Usage ingestion is Claude Code first; other vendors are rate cards only today.
No. Sync from Claude Code transcripts via the plugin is opt-in and off until you turn it on. A dry-run prints the exact payload.
On day 31 sync and advice stop. Your data stays readable for a set period, then is deleted. There is no automatic conversion and the trial needs no card.
SSO/SAML, audit export, data-residency choice and DPA. Each is marked Roadmap on this page and is not available today.
No. cost-optimizer is an independent product of Spin State Labs, not affiliated with or endorsed by Anthropic, OpenAI, Google or Hugging Face. Product names belong to their owners.
09 Start free
Start with the 30-day trial. cost-optimizer recommends; it never changes anything.