Every API response includes detailed cost information for real-time tracking.
Looking for pricing information? See our Pricing Overview for cost ranges and monthly projections.

Cost Event Structure

Every API response includes an agent_cost event:
{
  "type": "agent_cost",
  "session": "sess_abc123",
  "cost": "0.0091",
  "balance": 49.99,
  "deductionSuccess": true,
  "lowBalance": false
}

What’s Next?