• SYNC
  • AUDIT
  • ERROR
  • HUMAN

How to automate usage metering with your AI

Connect your AI to Orb to turn usage events into billing data instantly. It handles the heavy lifting of tracking consumption so you don't have to.

Ask AI about this page

Short answer

How can I automate usage metering with my AI?

Your AI client uses the Orb MCP to send consumption events directly to your billing engine. This ensures your usage data stays synced with what customers actually use. You get a breakdown of how the data flows below.

The outcomes.

Where your usage data lands.

The AI manages the data flow from your application to your billing records.

SYNC

Real-time event delivery

The AI sends usage data to Orb immediately. This keeps your billing cycles accurate without manual exports.

AUDIT

Usage visibility

Your AI can check recent events to ensure everything was recorded. You get a clear view of what was billed.

ERROR

Discrepancy detection

The AI identifies missing or failed events. You receive a list of specific issues that need a human to fix.

HUMAN

Manual adjustments

The AI cannot change billing rates or delete customers. You handle all sensitive account changes yourself.

The workflow

What your AI does when <the thing arrives>.

The AI acts as the bridge between your application's activity and your Orb account.

  1. Capture usage

    The AI monitors your application logs or streams to identify when a user hits a usage threshold.

    ingest_events
  2. Send to Orb

    The AI pushes these specific consumption details into your Orb meter.

    ingest_events
  3. Verify delivery

    The AI checks that the event was successfully processed by the Orb API.

    ingest_events
  4. Report errors

    If an event fails to register, the AI flags the specific timestamp and user ID for you.

    ingest_events

Try it

Copy these to start.

Use these prompts to begin managing your billing data.

Starting points

Swap the bracketed text with your actual Orb meter names or user IDs.

Orb Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_unDeG3HX9RVciDxl8hVOgxFFf5Y0zMGcwIQjJT59/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Orb capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "orb-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_unDeG3HX9RVciDxl8hVOgxFFf5Y0zMGcwIQjJT59/mcp"
    }
  }
}
Copy into chat04
  • Send a usage event to the 'api_calls' meter for user_123.

  • Check if the last five events for the 'storage_gb' meter were successfully ingested.

  • List all recent usage events sent to Orb for the enterprise tier.

  • Find any failed usage events from the last hour and tell me which users they belong to.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Orb once, then ask.

Just link your Orb account to Vinkius. Your credentials stay encrypted, and you can start talking to your billing data immediately.

Connect Orb to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my subscription prices?

    No. The AI can only send usage events and read data. You must manage pricing and plans directly in Orb.

  • 02

    Does the AI delete usage history?

    No. The AI does not have the capability to delete any records or events from your Orb account.

  • 03

    How does the AI know when to send an event?

    The AI sends events based on the specific instructions or triggers you provide in your chat session.

  • 04

    Can I use this with any AI client?

    Yes, as long as your client is MCP-compatible, like Claude, Cursor, or Windsurf.

  • 05

    Will the AI fix a failed billing event automatically?

    No. The AI will identify the failure and tell you about it, but you must decide how to resolve it.

  • More questions about Orb? See everything the Orb Connector can do

Connect Orb to Claude, Cursor, ChatGPT & more