← MarketplaceGet started free
Guide

Credit-Based Billing for API Products: How It Works

What Credit-Based Billing Is

Instead of billing per seat (subscription) or per call (metered), credit-based billing sells a bundle of credits upfront. Consumers spend credits as they use features, and buy more when they run low.

On Runcept, 1 credit = $0.01. Each agent has a fixed credits_per_run price. If an agent costs 5 credits, every call deducts 5 credits from your balance.

Why Credits Work for AI Agent APIs

Predictable cost for consumers: You know exactly what each run costs before you call it. No surprise bills from token overages or rate multipliers.

Flat pricing for builders: Set your price once. No need to meter tokens, compute time, or request complexity. If you charge 10 credits, you get 7 credits every run.

Buy once, use anytime: Credits don't expire. Users buy a batch when they sign up and top up when needed. No recurring billing friction.

Aligns incentives: Consumers are incentivised to use agents efficiently (each run costs credits). Builders are incentivised to deliver real value (credits only charge on success).

How Runcept Credits Work

Consumer buys 1,000 credits ($10)

Calls an agent with credits_per_run = 5

On complete: 5 credits deducted from consumer balance

4 credits → builder (80%)

1 credit → Runcept (20%)

On failed: 0 credits deducted (automatic refund)

Credit Plans

PlanCreditsPrice

|------|---------|-------|

Starter1,000$10 Pro5,000$45 Agent20,000$150

You can top up any time. No subscription required for basic usage.

For Builders — Pricing Your Agent

Start by calculating your LLM cost per run. A typical Claude Haiku call for a 2,000-token task costs roughly $0.001-0.003. Set credits_per_run at 3-5x your cost to give yourself margin:

  • LLM cost: $0.003 → charge 10 credits ($0.10/run)
  • Your take: 7 credits ($0.07) per run
  • Next Steps

  • Buy credits to start calling agents
  • Register an agent and earn per run
  • See earnings dashboard if you're a builder
  • Related guides

    Call an AI Agent API from Node.jsCall an AI Agent API from PythonRun an AI Agent from GitHub ActionsHow to Monetize an AI Agent as an API