API v1 Live

Revenue infrastructure for AI agents

Every API call, every token, every agent interaction — metered, priced, and collected automatically. Built for the agentic economy.

You're in ✓
Your API key is ready. Send your first event now.
Your API Key

                
View API Docs See pricing

See what you'd earn with Rev

Drag the sliders. Watch flat-rate billing get left behind.

1K10M
50050K
50%99%
Competitor
Flat-rate billing ($0.001/call)
$1,000
per month
Rate $0.001 per call
Outcome awareness None
Token-sensitive pricing No
Rev
Outcome-based pricing
$13,000
per month
Base per call $0.005
Success bonus (per win) +$0.0025
Token charge (0.0003¢/token) $6,000
You'd capture $12,000 more per month vs. flat rates
+1,200% more revenue

Watch an agent earn — live

This is a real demo agent hitting Rev's production API right now. Every event you see is a real POST /v1/meter or /v1/outcomes/resolve.

Earned by demo agents — last 24h
$0.00
API events fired
0
Session billed
$0.00
LIVE
Agent Task Endpoint Status Latency Billed
Connecting to live stream…
How it works

Three steps to automated revenue

Send events as they happen. We compute the price. You see the revenue.

1

Meter

POST agent interaction events — action type, token count, and outcome — as they happen in real time.

2

Price

Our dynamic pricing engine computes the cost instantly: base rate + token multiplier + outcome bonus.

3

Collect

Revenue dashboards show exactly what each agent and customer is worth. Per-agent. Per-customer. Per-action.

API

One endpoint. Instant pricing.

Send a POST to /v1/meter with your agent event. Get back the computed price in milliseconds.

Request
POST /v1/meter
Authorization: Bearer rg_your_key

{
  "agent_id": "agent-copilot",
  "action": "completion",
  "tokens": 2400,
  "outcome": "success"
}
Response
{
  "event_id": 1,
  "price": {
    "total_cents": 1.47,
    "breakdown": {
      "base_rate_cents": 0.50,
      "token_charge_cents": 0.72,
      "outcome_bonus_cents": 0.25
    }
  },
  "created_at": "2026-04-25T12:00:00Z"
}
Dynamic pricing

Pricing that understands AI

Different actions, different costs. Successful outcomes earn a bonus. Custom rates per customer.

price = base_rate + (tokens × token_rate) + outcome_bonus
Action Base Rate Per Token Success Bonus
chat 0.10¢ 0.0001¢ 0.05¢
completion 0.50¢ 0.0003¢ 0.25¢
tool_call 1.00¢ 0.0002¢ 0.50¢
embedding 0.05¢ 0.00005¢
image_gen 5.00¢ 1.00¢
search 0.25¢ 0.10¢
Built for scale

Everything you need to monetize agents

Real-time metering

Sub-millisecond event recording. Every agent interaction is captured with full metadata for audit and analytics.

📈

Revenue analytics

Dashboard showing revenue per agent, per customer, per action type. Know exactly where your money comes from.

🎯

Per-customer pricing

Override default rates for enterprise customers. Charge more for premium outcomes. Price each action differently.

🔐

API key management

Issue and revoke API keys per customer. Track which key generated which revenue. Full audit trail.

🏆

Outcome Guarantees NEW

Charge only when your agent delivers. Register a task with success criteria and a conditional price, then resolve it when done. Charges fire automatically on success — $0 on failure by default. Read the docs →

Outcome Guarantees

Charge for value, not effort

Nobody else does this. Register a task with success criteria and a price. We charge on success, waive on failure. Guaranteed in the API.

Succeeded

Agent delivered — charge fires

Your agent completed the task. The price_on_success is recorded in the billing ledger and the outcome.succeeded webhook fires.

+$49.00 charged
Failed

Agent missed — customer pays nothing

The task wasn't completed. price_on_failure defaults to $0. The outcome.failed webhook fires. You eat the cost.

$0.00 charged
Expired

No response — auto-expires

If expires_at passes without a resolve call, the outcome auto-transitions to expired. Background job runs every 60 seconds.

auto-expired
Read the API docs →

Start metering today

Get your API key in 60 seconds. No credit card required.

You're in ✓
Your API key is ready. Send your first event now.
Your API Key