Skip to main content

Overview

Verlon tracks the cost of every request in real-time, giving you visibility into how much you’re spending across all your endpoints. You can set spending limits at both the account level and per endpoint.
Spend caps and plan units are different levers: spending limits are your cost controls in dollars, enforced how you choose. Units measure gateway work and only inform which plan fits — they never block requests and never bill overages.

Account-Level Spending

Viewing Your Spending

Go to Dashboard → Spending to see:
  • Current spending — Total cost in the current billing period
  • Spending limit — Your configured cap (if set)
  • Percentage used — How close you are to your limit
  • Period start — When the current 30-day rolling period began

Setting a Spending Limit

  1. Go to Dashboard → Spending
  2. Set your monthly spending limit (in USD)
  3. Choose an enforcement type:
    • Alert only — You’re warned when you exceed the limit, but requests continue
    • Block — Requests are rejected once the limit is hit

Alert Threshold

By default, Verlon alerts you when spending reaches 80% of your limit. This gives you time to react before hitting the cap.

Endpoint-Level Spending

Each endpoint can have its own independent spending limit, separate from your account limit.

Configuration

When creating or editing an endpoint:
  1. Go to the Spending Limits tab
  2. Set a limit amount (USD)
  3. Choose a period: monthly or daily
  4. Choose enforcement: alert_only or block
Through the API, set the endpoint’s spendingLimit, spendingLimitPeriod and spendingEnforcement fields (see Spending limit).

How It Works

  • Each request to an endpoint increments that endpoint’s spending counter
  • When the counter exceeds the limit:
    • Alert only: Request proceeds, but the endpoint’s status shows a warning
    • Block: Request is rejected. The endpoint’s status changes to suspended until the period resets.
  • Counters reset automatically at the start of each period

Cost Calculation

Verlon calculates costs based on:
  • Token count (input + output tokens)
  • Published model pricing from each provider
  • Request type (chat, image generation, etc.)
Cost is tracked per request and aggregated into endpoint-level and account-level totals.
If you’re using BYOK (Bring Your Own Keys), Verlon still tracks estimated costs for analytics and limit enforcement. Your actual provider bill may vary slightly from Verlon’s estimates.

Cost Alerts (Agent Endpoints)

Agent endpoints support alert-only cost thresholds — per-trace and per-session-cumulative — that notify you without ever interrupting a run. See Agent endpoints for details.

Spending API

You can programmatically check and manage spending via the API: