Skip to content
Orbyte Labs
Toggle navigation menu

Credit billing for agentic products.

Set your credit prices, sell subscriptions and top-ups, and manage customer balances. Get metering, wallets, and a credit ledger without building the infrastructure yourself.

TSfeature-access.ts
import { check, track } from "@orbytelabs/credit";

const { allowed } = await check("your-amazing-feature", identity);
if (!allowed) return

await doSomethingAmazing();
await track("your-amazing-feature", identity);

Your app runs the action. Orbyte handles the credits.

Connect Orbyte to the
stack you already use.

Define your credit model in TypeScript and deploy it with the CLI. Integrate through the SDK, or call the HTTP API from your backend.

Building with Vercel AI SDK?

Meter model costs through AI Gateway and charge successful tool calls in credits. Orbyte applies your pricing and records each charge against your customer's wallet.

TSagent.ts
import { tool } from "ai";
import { TrackedToolLoopAgent } from "@orbytelabs/credit/ai-sdk";

const agent = new TrackedToolLoopAgent({
   ...existingAgentOptions,
   tools: {
     weather: tool({
       description: "Get demo weather for a city",
       metadata: { orbyte: { cost: "0.02" } },
       execute: ({ city }) => ({ city, temperatureC: 22 }),
     }),
   },
 },
 { identity: "customer_123" },
);

await agent.generate({ prompt: "What's the weather in Paris?" });

Sell credits the way
your customers buy.

Offer subscriptions, prepaid packs, and top-ups around the same credit model. Customers can purchase more credits without changing plans.

View Orbyte pricing

Subscriptions

Give customers a recurring credit grant with their plan, ready to spend across your product.

Prepaid packs

Sell a block of credits upfront, so customers can pay for usage without a subscription.

Top-ups

Let customers buy extra credits when they need more, so they can keep using your product.

Works with your billing setup.

Connect Stripe to sell subscriptions and credit packs. Orbyte funds customer wallets after payment confirmation.

Orbyte connects to your billing provider

Purpose-built for credits.
Less infrastructure to piece together.

One credit model.

Usage events, pricing rules, wallets, and the ledger share one model, reducing the systems you need to connect.

Typed configuration.

Define your catalog in TypeScript. Generated SDK keys help catch mistakes in feature names before your code runs.

Safe usage retries.

Report usage with stable event IDs, so you can retry failed requests without charging the same event twice.

See every wallet.
Understand every charge.

See which customers and features consume credits, monitor balances, and inspect the ledger to investigate individual charges.

Credit dashboard showing wallet balances, consumption by feature, and spending by customer

Ship your product.
Your credit system is ready.