Overview

Monetize your AI application by syncing Meridian token consumption directly to Stripe Billing Meters. Meridian automatically aggregates token usage per customer ID and flushes it to Stripe hourly.

Quickstart

Map your Meridian tenant IDs to your Stripe Customer IDs using the Metering API.

plaintext
1
POST /v1/billing/meters
2
{
3
"provider": "stripe",
4
"stripe_secret_key": "sk_test_...",
5
"mapping": {
6
"meridian_tenant_id": "stripe_customer_id"
7
},
8
"flush_interval": "1h"
9
}

Installation

npm
$npm install @meridian/sdk

DEPLOY / MERIDIAN

Start building with Meridian.

Two ways in — pick your path.

01

For humans

Get started with our Next.js and Python SDKs in seconds.

02

For agents

Tools to connect your autonomous agents to our edge infrastructure.

$npm install @synapse/sdk

Aquire $129

Aquire $129

Aquire $129

Create a free website with Framer, the website builder loved by startups, designers and agencies.