selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

meteroid logo

Self-host meteroid

v2.2.1

Open-source billing and metering platform for SaaS teams

BetaOpen CoreAGPL-3.0
Updated4 days ago
LanguageRust
Setup difficultyAdvanced
Stars
1 358
Ports
8084 (REST API of the main API service (published as 8084:8084)), 50061 (gRPC API of the main API service (published as 50061:50061)), 50062 (Metering API for usage event ingestion (published as 50062:50062)), 80 (Web frontend, host-mapped as 3000:80)
Requires
ClickHouse, PostgreSQL, Redpanda (Kafka)
Docker
ghcr.io/meteroid-oss/meteroid-api
Install with Docker Compose
meteroid screenshot 1meteroid screenshot 2meteroid screenshot 3

What is meteroid?

Meteroid is an open-source pricing and billing platform aimed at SaaS, infrastructure and AI companies that need to charge for usage. It ingests raw usage events through an API, turns them into billable metrics, and feeds a billing engine that produces invoices from flat-rate, tiered, usage-based or hybrid plans. Subscriptions get full lifecycle handling (upgrades, downgrades, mid-cycle changes, cancellations) alongside quotes/CPQ, credit notes, entitlements, coupons, trials, add-ons, a hosted checkout page and a customer self-serve portal. Plans are versioned, so a price change does not silently affect existing customers. The core is written in Rust and leans on ClickHouse plus Kafka for event throughput, with Postgres for transactional data. Self-hosting is provided as a Docker Compose stack under docker/deploy and a Helm chart under k8s/meteroid; a hosted Meteroid Cloud workspace is also offered. Notable limits: the repo carries an experimental status badge, releases are still at 1.0.0-rc, and some modules (Intelligence analytics, Security suite with MFA/SSO/RBAC, white-label) are listed as Enterprise-plan items on the pricing page.

meteroid alternatives

All self-hosted alternatives to Stripe Billing →

Should you self-host meteroid?

meteroid scores 55/100 on selfhost.directory (how scoring works) and ranks #8 of 13 in Billing. It has 1 358 GitHub stars, +50 in the last 30 days.

It shipped 10 stable releases in the past year. The latest, v2.2.1, came out on 6 November 2026. New versions land roughly every 4 days.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is Lago (72/100, 10 794 stars). It scores higher overall, so compare the two before you pick. See meteroid vs Lago side by side.

Features

  • Customer self-serve portal
  • Entitlements
  • Hosted checkout page
  • Invoicing & credit notes
  • Multi-organization mode
  • Quotes / CPQ
  • REST API
  • Revenue AnalyticsListed as Enterprise-plan only on the pricing page; the README marks Insights & Reporting as coming soon.
  • Subscription Management
  • Tax Management
  • Trials, coupons & add-ons
  • Usage-based & hybrid pricing
  • Usage Metering
  • Versioned pricing plans
  • Webhooks

meteroid README

Cloud-native pricing and billing platform for SaaS, Infrastructure, and AI companies 🔥.

Code of conduct AGPL V3 Discord Production Twitter

🚀 Meteroid 2.0 is out: credits and wallets, e-invoicing, native webhooks, and a new open-source baseline. Announcement · Release notes · Upgrade guide


Meteroid is an open-source billing platform for usage-based, subscription and hybrid pricing. It meters your product's usage, prices it with your plans, and runs the whole cycle from quote to invoice and payment, so your engineers stop maintaining a homegrown billing system and your finance team stops reconciling spreadsheets.

💡 Just want to try it? Spin up a free workspace on Meteroid Cloud, ready in seconds, no credit card, hosted in the EU.

Dashboard Billable metrics An invoice

We'd love your support or contribution! Leave a star ⭐ and join our Discord!

Features

  • Usage metering: send raw events (API calls, tokens, transactions, storage) and turn them into billable metrics in real time, with filters on event properties and a live preview while you author them. Events are deduplicated at ingestion.
  • Plans and pricing: flat, per-unit, tiered, volume, package, matrix and capacity pricing, or any mix of them. Plans are versioned, so a price change never touches existing customers unless you want it to.
  • Credits and wallets: prepaid and promotional credit per currency, with grants, priorities, expiry and a full ledger, applied at invoicing, and top-ups customers buy from the portal. With the Enterprise images: your own credit units, credit packs in plans, scoped credit, and usage beyond the balance billed as overage.
  • Subscriptions: trials, coupons, add-ons, upgrades and downgrades mid-cycle with proration, and cancellations that credit what was paid in advance.
  • Quotes: send a quote, get it signed, and the subscription starts and bills on its own. Several signers and purchase orders come with the Enterprise images.
  • Invoicing: invoices and credit notes in eight languages, tax-inclusive or exclusive prices, e-invoicing as Factur-X or XRechnung, and payment reminders before and after the due date. Reminder sequences per customer group come with the Enterprise images.
  • Payments: Stripe, GoCardless, Mollie and Stancer, with automatic retries, refunds, and a customer portal and hosted checkout. Customers change their own plan, add-ons and seats from the portal with the Enterprise images.
  • Entitlements: control what each customer can access or consume, from feature flags to metered limits.
  • API, webhooks and integrations: a REST API with SDKs, signed webhooks with retries and a delivery log, and a growing list of connectors.

Meteroid Enterprise adds many features such as revenue reports and analytics, live balances, limits, budgets, tax reports, SSO, audit log and more: see Editions and images.

Quick start

Run Meteroid on your machine with Docker Compose:

The default images are Meteroid Enterprise (free under 50 employees and €2M in annual revenue). For the AGPL images built from this repository, add -f docker-compose.oss.yml: docker compose -f docker-compose.yml -f docker-compose.oss.yml up -d.

git clone https://github.com/meteroid-oss/meteroid.git
cd meteroid/docker/deploy
cp .env.example .env   # set the secrets it lists
docker compose up -d

Then open http://localhost:3000 and create your account. For a server, follow Deploy with Docker Compose. For production, use the Helm chart in k8s/meteroid.

Upgrading from 0.19 or a 1.0.0 release candidate? Follow Upgrading to 2.0.

Editions and images

This repository is the open-source edition, under the AGPL V3. Its images are published on each release as ghcr.io/meteroid-oss/meteroid-oss-api, meteroid-oss-worker, meteroid-oss-metering and meteroid-oss-web: use them with the Compose override docker-compose.oss.yml or the Helm chart's edition: oss. You can also build them from this repository. Both editions share the same database, so you can switch by changing the images.

The default images (ghcr.io/meteroid-oss/meteroid-api, meteroid-worker, metering-api and meteroid-web) are Meteroid Enterprise: the code of this repository plus the Enterprise modules. They are free for companies under 50 employees and €2M in annual revenue under the Enterprise license, and some Enterprise features come free with them: tax reports, MRR and revenue reports, live balances and usage limits, credit units and packs, portal self-service and customer email customization. Larger companies need a commercial license, and a license unlocks the rest. See Editions.

Meteroid Cloud is the managed service, run by the Meteroid team and hosted in Europe.

Services

  • API (Rust): the gRPC API used by the web app and the public REST API.
  • Worker(s) (Rust): invoicing, payments, emails, webhooks and every scheduled job.
  • Metering API (Rust): event ingestion at scale through Kafka into ClickHouse, deduplication and usage queries.
  • Web app (React and TypeScript).
  • Storage: PostgreSQL 18 with pgmq, ClickHouse, Kafka, Redis (optional) and S3-compatible object storage.

Contributing

This repository receives the code from the repository Meteroid is developed in, one commit per change with its original author. Pull requests are welcome here: once a maintainer approves one, it is replayed upstream and comes back with the next export, under your name. See the contributing guide to build Meteroid from source.

License

Copyright 2026 Meteroid

The code of this repository, and the meteroid-oss-* images built from it, are licensed under the AGPL V3 License: see LICENSE. The default images, Meteroid Enterprise, are licensed under the Meteroid Enterprise License: see editions/enterprise/LICENSE.

For enterprise support, licenses or custom licensing options, contact us at hey@meteroid.com.

Contributors ✨

A table of avatars from the project's contributors

Join us on Discord !

Thanks for the support 💖

How to install meteroid

Install meteroid with Docker Compose

PostgreSQL, ClickHouse, Redpanda (Kafka)
Environment variables
JWT_SECRET, INTERNAL_API_SECRET, SECRETS_CRYPT_KEY, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME, CLICKHOUSE_DATABASE, CLICKHOUSE_USERNAME, CLICKHOUSE_PASSWORD, OBJECT_STORE_URI, METEROID_PUBLIC_URL

We provide a Docker Compose and a Helm Chart setup for easy self-hosting:

Copy docker/deploy/.env.example to .env and set the required secrets before starting the stack.

How to configure meteroid

  • JWT_SECRETRequired Secrets (change these!)
  • INTERNAL_API_SECRET
  • SECRETS_CRYPT_KEYneeds to be 32 characters long
  • DATABASE_USERmeteroidDatabase
  • DATABASE_PASSWORD

meteroid releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Is Meteroid secure?

The project states it is GDPR/EU-regulation compliant, encrypts data in transit and at rest, and adds application-level encryption for keys.

Does Meteroid support Sales-led custom quotes and enterprise deals?

Yes, sales teams can build bespoke quotes and override standard pricing per account while usage tracking and invoicing stay automated.

Can Meteroid handle complex or hybrid pricing models?

Yes, it combines flat-rate subscriptions with usage overages, tiers and volume discounts, and supports matrix pricing, capacity commitments and package pricing.

Does Meteroid support self-hosting or on-premise deployment?

Yes. The AGPL v3 codebase can be deployed with Docker Compose or Helm charts; the company offers migration help, dedicated support and SLAs under its Enterprise plan.

How does Meteroid ensure high-throughput metering without data loss?

The Rust core streams usage events through ClickHouse and Kafka, and idempotent API requests mean each event is counted exactly once.

Is Meteroid open-source?

Yes, the code is published on GitHub under an open-source licence so billing logic stays transparent and auditable.

How do I get started with Meteroid?

Create an account, then follow the Quickstart guide in the documentation for integration, environment setup and your first billable metrics.

What is Meteroid?

It is a monetization platform for SaaS companies combining subscriptions, usage-based pricing, quote-to-cash, invoicing and business intelligence in one engine, for both sales-led and self-serve motions.

More in Billing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…