Selected for GitHub's Secure Open Source Fund. See how it's shaping the future of AI agent security.

Learn more

TokenOps

Know what a run costs before it costs it.

Agent spend breaks first because it is the only thing that compounds while you watch. TokenOps forecasts a run from its own history, meters every call back to the workflow that made it, and stops the run at its budget rather than at the invoice.

Why

Three ways the bill arrives first

  • Unforecast

    Nobody priced the run.

    A workflow ships without anyone knowing what one execution costs, so the first real number is the one on the invoice.

  • Unwatched

    Spend is a monthly number.

    Provider dashboards aggregate by key, not by feature, team or run. A tenfold jump in one workflow disappears into the total.

  • Unstoppable

    The bad run finishes anyway.

    By the time an alert fires, the loop has already spent. Without a cap at the call site there is nothing to stop mid-flight.

How it works

Forecast, watch, and act before the invoice

  1. 01 · Forecast

    Price the run before it starts.

    Historical traces for the same workflow give an expected token count and cost, with a range rather than a single guess.

  2. 02 · Meter

    Count against the thing that spent it.

    Every call is attributed to a run, a workflow, a team and a customer, not to an API key shared by nine services.

  3. 03 · Watch

    See it while it runs.

    Live spend per run against its forecast, so a run drifting to ten times its estimate is visible in seconds, not at month end.

  4. 04 · Act

    Cap, throttle, or stop.

    Budgets are enforced at the call. A run that hits its cap is stopped and logged with what it had already produced.

Budgets

Three budgets, set per workload

  • Soft

    On breach
    alert
    Window
    daily
    Granularity
    workflow

    Early workloads still finding their baseline. Nothing gets stopped, everything gets seen.

  • Enforced

    Default
    On breach
    stop run
    Window
    per run
    Granularity
    run

    Anything in production. What you get if you set nothing.

  • Metered

    On breach
    throttle
    Window
    monthly
    Granularity
    customer

    Usage you bill onward. Spend maps to a customer, and the cap is theirs.