LiveThe profitability platform for AI agents

Know exactly which AI customers and agents make money.

Tollgate joins what you charge with what every run actually costs — live gross margin per customer, per agent, per run. So a healthy blended number can't hide the one that's bleeding.

tollgate · profitability report

Customer profitability · 7d

live

0.0%

+2.1 pts

Customer A

rev $0.50 · cost $0.02/run

+96%

Customer B

rev $0.50 · cost $0.53/run

-6%

Customer C

rev $0.50 · cost $0.11/run

+78%

Customer B is unprofitable. A and B are on the same plan — blended metrics hide the loss.

You know what customers pay.
You know what models cost.
The missing piece is profitability.

Customer A earns 96% margin. Customer B loses 6%. Both are on the same plan. Blended metrics say everything is fine. Per-customer profitability tells you the truth.

Blended metrics hide your bleeders

Customer A earns 96%. Customer B loses 6%. Blended, that reads as a comfortable 45%. By the time you spot B, a quarter of profit is gone.

Billing ≠ margin

Stripe shows what you charged. Your LLM provider shows what you spent. Nobody shows the difference — per customer, per agent, per run.

Reasoning tokens are silent killers

One reasoning-heavy run can cost 30× a normal one. Without per-run accounting, you can’t price — you can only guess.

Spreadsheets break at scale

Manual reconciliation survives five customers. At fifty it quietly produces wrong numbers — and wrong numbers compound.

Features

Everything you need to protect your margins.

Profitability by customer.

See which customers generate healthy margins and which ones consume more AI spend than they produce in revenue. Per customer, per agent, per workflow.

A

Acme Corp

Support Agent

Per-ticket+92%
N

Nimbus Inc

Billing Disputes

Per-ticket-11%
Q

Quanta AI

Data Analyzer

Usage+78%

Real-time AI cost accounting.

Track input, output, reasoning, cached, and tool-call costs automatically across providers. Every run accounted for, in real time.

sdk.ts
tollgate.track({
  customerId: 'acme-corp',
  agentId:    'faq-bot',
  model:      'claude-sonnet-4-6',
  tokensIn:   3000,
  tokensOut:  500,
  reasoning:  0,
  cached:     0,
  cost:       0.0165,   // cents-accurate
});

Margin alerts.

Get notified in real-time via Email or Webhook when unit economics drop, costs spike, or customers run negative margins. Catch leakages before they compound.

P0

Customer unprofitable

Nimbus Inc · Billing Disputes

FIRED
P1

Cost spike detected

Quanta AI · Data Analyzer

WATCHING
P2

Profitability trend declining

All customers

OK

Margin simulator & pricing sandbox.

Model new monetization ideas or supplier swaps before rolling them out. Replay historical traffic patterns against modified unit price points, flat monthly fees, seat adjustments, or newer model rate cards to calculate exact bottom-line changes.

MARGIN_SIMULATOR_SANDBOX
Revenue$1500+$300
Cost$6600%
Margin56%+11%
Simulation Result:Gross margin improves by +11%, raising profitability from 45% to 56%.

Enterprise control & compliance.

Enforce organization security standards. Deploy OIDC Single Sign-On (Google Workspace, Okta, Microsoft Azure AD), assign granular Role-Based Access Control (Owner, Admin, Member, Viewer), and query detailed, compliance-ready audit logs.

AUDIT_LOG_STREAM
S
SSO Connection CreatedOkta OIDC

by sarah@acme.corp

Just now
D
API Key Revokedprod-api-key

by david@acme.corp

4m ago
S
Team Member Invitedfinance@acme.corp (Viewer)

by sarah@acme.corp

1h ago

Works across your AI stack

Connects to OpenAI, Anthropic, Google, and any LLM provider. All cost data in one place, normalized and ready for analysis.

Creates real-time unit economics

Every AI interaction becomes a data point. Revenue minus cost, computed continuously, broken down to the customer and run level.

Highlights profitability risks

Surfaces the customers, agents, and workflows that erode margins — so you can act on data, not intuition.

Built for AI business models.

However you price your AI product, Tollgate computes profitability at the unit level.

Per-seat pricing
Usage-based pricing
Per-resolution pricing
Agent-based pricing
Hybrid pricing models

Your first profitability report in minutes.

01

Connect providers

Link your AI providers — OpenAI, Anthropic, Google, or any LLM. Tollgate starts collecting cost data automatically.

02

Configure pricing

Set up how you charge each customer. Per-seat, per-ticket, usage-based, or custom. Tollgate matches revenue to cost.

03

Track profitability

See real-time unit economics by customer, agent, and workflow. Get alerts when profitability drops.

Easy Integration

Add Tollgate in minutes.

Install the SDK, call tollgate.track() after each LLM call, and your first profitability report is live instantly. No infrastructure to manage.

TypeScript & Python SDKs — open source on GitHub
Works with OpenAI, Anthropic, Google, and any LLM provider
Auto-instrument with the Tollgate skill (Claude Code, Codex, Cursor, Windsurf…)
Data appears live in your dashboard within seconds
npm install @tollgateai/sdk
import { Tollgate } from '@tollgateai/sdk';

const tollgate = new Tollgate({
  apiKey: process.env.TOLLGATE_API_KEY,
});

tollgate.track({
  customerId: 'acme-corp',
  agentId:    'support-bot',
  model:      'claude-sonnet-4-6',
  tokensIn:   3240,
  tokensOut:  512,
  cost:       0.0165,
});
Margin data appears live in your dashboard
AI Coding Assistant · Terminal
$/tollgate

✓ Scanning your AI application...

✓ Found 3 LLM call sites (api/chat.ts, lib/agent.ts)

✓ Installing @tollgateai/sdk...

✓ Instrumenting calls with tollgate.track()

✓ Adding TOLLGATE_API_KEY to .env.example

Tollgate integrated. Open your dashboard to see live margins.

works withClaude CodeCodexCursorWindsurfCopilot

Tollgate Skill

Auto-instrument your AI app with one command.

The Tollgate skill analyzes your codebase, finds every LLM call, and wires up margin tracking automatically — no manual instrumentation needed. Works with Claude Code, Codex, Cursor, Windsurf, GitHub Copilot and any AI coding assistant that supports custom skills.

$ npx tollgate-skill --tool all
Works with any AI coding assistant — not locked to one tool
Auto-detects LLM call sites across TypeScript & Python
One command replaces hours of manual instrumentation
Open source — install once, use across all projects
Get the skill on GitHub

Built for teams scaling AI products.

From seed-stage startups to growth-stage companies — if you sell AI, you need to know the economics of every customer.

Founders & CEOs

Board-ready unit economics for pricing and fundraising decisions

CFOs & Finance

Real-time cost accounting without monthly spreadsheet archaeology

Revenue leaders

See which customers to renegotiate, expand, or quietly offboard

Product & Eng

Understand the cost impact of every model and workflow change

Enterprise-ready from day one.

Tollgate collects only usage and cost metadata. No prompts stored. No conversation content stored. Only token counts and cost data ever leave your stack — never the content of a single request. Delete everything at any time.

Metadata only

Only token counts, model identifiers, and cost data. No prompts, no conversation content, no PII.

Compliance audit trails

Structured audit logs capture all administrative, team, and billing actions. Role-Based Access Control keeps user views scoped.

Full data control

Delete your data at any time. Disconnect providers instantly. We remove everything from active systems within 48 hours.

Transparent, value-aligned pricing.

Choose the plan that matches your scale. From early prototyping to millions of agent runs, Tollgate has you covered.

Starter

Essential tracking for early builders.

$0/ mo
  • 10k ingest events / mo
  • 3 tracked customers
  • 1 workspace seat
  • API key management
  • Overview & Customers
Start for free
Most Popular

Growth

For scaling startups needing alerts.

$55/ mo
≈ billed as ₹4,999 via Razorpay
  • 500k ingest events / mo
  • 50 tracked customers
  • 5 workspace seats
  • Email & webhook alerts
  • Costs, logs & margins CSV export
Get Growth

Scale

For larger workloads & SSO.

$159/ mo
≈ billed as ₹14,999 via Razorpay
  • 5M ingest events / mo
  • Unlimited customers
  • Unlimited seats & RBAC
  • SSO / OIDC (Google, Okta, Azure)
  • Queryable Compliance Audit Logs
Get Scale

Enterprise

For custom scale and compliance.

Custom
  • Custom ingest volume
  • Dedicated DynamoDB & Aurora
  • Custom data retention
  • SLA & uptime guarantee
  • Priority onboarding
Contact Sales

Profitability
shouldn't be
a mystery.

Connect your AI stack and get your first profitability report in minutes.

Start for free · No credit card required