Epic: Billing & Metering #4

Open
opened 2026-03-29 23:16:55 +02:00 by claude · 0 comments
Owner

Overview

Stripe-based billing with two pricing models: usage-based for shared tiers, committed resources for dedicated tiers.

Pricing Models

Usage-Based (Low/Mid Tiers)

  • Optional small base fee per month
  • Metered dimensions:
    • Data volume: bytes ingested (traces, payloads, metrics) into PostgreSQL + OpenSearch
    • CPU: compute consumed by tenant's cameleer3-server + deployed Camel apps
    • RAM: memory consumed by tenant's namespace workloads
  • Stripe metered subscriptions with periodic usage reporting
  • K8s resource metrics collection (likely Prometheus/metrics-server → platform aggregation)

Committed Resources (High/Business Tiers)

  • Fixed pricing based on reserved cluster capacity
  • Resource commitments (CPU cores, RAM, storage, node count)
  • Annual or multi-year contracts
  • Overage billing if usage exceeds commitment

Implementation

  • Stripe Subscriptions API for plan management
  • Stripe Usage Records API for metered billing
  • Metrics pipeline: K8s metrics → aggregation service → Stripe usage reporting
  • Customer billing portal (Stripe Customer Portal or custom)
  • Invoice generation and payment processing
  • Usage dashboards in the management platform

MOAT Feature Metering

  • Lineage events (premium data volume)
  • Debug session time
  • Per-tier feature limits enforced by license module
## Overview Stripe-based billing with two pricing models: usage-based for shared tiers, committed resources for dedicated tiers. ## Pricing Models ### Usage-Based (Low/Mid Tiers) - Optional small base fee per month - Metered dimensions: - **Data volume**: bytes ingested (traces, payloads, metrics) into PostgreSQL + OpenSearch - **CPU**: compute consumed by tenant's cameleer3-server + deployed Camel apps - **RAM**: memory consumed by tenant's namespace workloads - Stripe metered subscriptions with periodic usage reporting - K8s resource metrics collection (likely Prometheus/metrics-server → platform aggregation) ### Committed Resources (High/Business Tiers) - Fixed pricing based on reserved cluster capacity - Resource commitments (CPU cores, RAM, storage, node count) - Annual or multi-year contracts - Overage billing if usage exceeds commitment ## Implementation - Stripe Subscriptions API for plan management - Stripe Usage Records API for metered billing - Metrics pipeline: K8s metrics → aggregation service → Stripe usage reporting - Customer billing portal (Stripe Customer Portal or custom) - Invoice generation and payment processing - Usage dashboards in the management platform ## MOAT Feature Metering - Lineage events (premium data volume) - Debug session time - Per-tier feature limits enforced by license module
claude added the billingepic labels 2026-03-29 23:17:59 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#4