Free MIT core · Aurora Meter Pro from $99/mo per app

Aurora Meter

Laravel Cashier + OpenMeter, for Phoenix. Real-time usage metering, plan entitlements, and Stripe billing. Count, gate, and bill on the BEAM: an ETS hot path that flushes to Postgres and adds up across every node in your cluster.

Free MIT core · track/2 lib/my_app/reports.ex Live
# count usage: an ETS increment, flushed to Postgres
AuroraMeter.track(org, :ai_generations)

# read it back, live, for the UI
AuroraMeter.usage(org, :ai_generations)
#=> %{used: 7_420, limit: 10_000}

Usage this period

org_acme · plan :pro

AI generations 7,420 / 10,000
API calls 128,900 / 250,000
Exports 47 / 50
# gate + run + meter, atomically
AuroraMeter.with_quota(org, :ai_generations, fn ->
  generate_report()
end)
  • org_acme ai_generations ✓ 9,998 / 10,000
  • org_acme ai_generations ✓ 9,999 / 10,000
  • org_acme ai_generations ✓ 10,000 / 10,000
  • org_acme ai_generations ✕ {:error, :quota_exceeded}
  • org_acme upgrade_prompt → shown · plan :pro → :scale

Metered events

  • 12:04:31 Acme Corp ai_generations +3
  • 12:04:29 Globex api_calls +128
  • 12:04:27 Initech exports +1
  • 12:04:24 Umbrella ai_generations +7

stripe Billing Meters

Synced with Stripe

1,240,318

events reported this period

  • ai_generations ✓ meter_event
  • api_calls ✓ meter_event
  • exports ✓ meter_event

MRR

$19,072

▲ +11% this month

Metered revenue

$4,210

▲ +23% overage

Invoices paid

312

Stripe, this period

Metered usage by month

Feb
Mar
Apr
May
Jun
Jul
  • Invoice paid · Acme Corp · $412.00
~5.5M increments/secPersisted to PostgresCluster-wide countersStripe-ready
Increments per second, in ETS
~5.5M
Persisted to Postgres
Every 5s
Counters across your cluster
One total
Core licence
MIT

Built on

  • Phoenix
  • Elixir
  • LVLiveView
  • PostgreSQL
  • Stripe
  • Tailwind

How it works

From mix.exs to billed in four steps.

The free core counts and gates, persists to Postgres and sums across nodes. Add Aurora Meter Pro when you want Stripe to charge for it.

  1. 01

    Add the dependency

    Pull in the free MIT core from Hex. Pro is a drop-in add-on when you need billing.

    step 01
    def deps do
      [
        {:aurora_meter, "~> 0.3"}
      ]
    end
  2. 02

    Declare your plans

    A compile-time DSL, validated at compile time. Hard caps, metered overage, and boolean capabilities all live in one place.

    step 02
    defmodule MyApp.Plans do
      use AuroraMeter.Plans
    
      plan :free do
        limit :ai_calls, 100, :hard
      end
    
      plan :pro do
        metered :ai_calls, included: 10_000, unit_price: 1
        feature :priority_support, true
      end
    end
  3. 03

    Start it in your tree

    One child. It validates config at boot and starts the metering runtime.

    step 03
    children = [
      MyApp.Repo,
      {Phoenix.PubSub, name: MyApp.PubSub},
      AuroraMeter,
      MyAppWeb.Endpoint
    ]
  4. 04

    Count, gate and bill

    Three calls. `track` counts, `with_quota` gates-runs-meters atomically, and the LiveView components render live usage. `org` is your tenant: any string or id for the customer, or your own struct via a small `AuroraMeter.Tenant` module.

    step 04
    # count usage
    AuroraMeter.track(org, :ai_calls)
    
    # gate + run + meter in one atomic step
    AuroraMeter.with_quota(org, :ai_calls, fn ->
      generate_report()
    end)

Aurora Meter Pro

From counters to invoices.

The free core counts and gates. Pro is the revenue and operations layer on top: Stripe billing sync, metered usage reported to Stripe Billing Meters, hosted dashboards, historical rollups, quota alerts and reconciliation.

  • Stripe Checkout + webhook sync
  • Metered usage → Stripe Billing Meters
  • Subscription-aligned billing periods
  • Historical rollups + CSV export
  • Hosted real-time dashboards
  • Quota alerts + reconciliation
  • Email support, 2 business days
Aurora Meter Free · MIT
$0 forever
Aurora Meter Pro per app
$99/mo or $990/yr
Aurora Meter Pro Unlimited any number of apps
$2490/yr · Pays for itself at 3 apps

14-day refund on your first invoice, no questions asked · cancel anytime · Licence terms · Terms

Choose your plan

Phoenix templates

Then ship the rest of the product.

7 complete Phoenix codebases extracted from products that already shipped: accounts, Stripe payments, email, admin and SEO built in. Buy one outright or take the whole catalogue with the Builder Pass. Full source, commercial licence, no subscription.

See all templates
Aurora Commerce preview

commerce

Aurora Commerce

Production-ready Phoenix LiveView commerce starter: a native Elixir commerce domain (products, variants, inventory, carts, promotions, orders, refunds, subscriptions), Stripe Checkout with webhook-driven order state, merchant admin, Gettext localization with multi-currency display, PWA offline catalogue, SEO structured data, and a Three.js collection-room experience with full no-canvas equivalents.

$399 $199.50

Details
Developer Portfolio preview

portfolio

Developer Portfolio

Developer portfolio template with project showcase, skills section, and contact form. Legacy shelf: stable, maintained for security fixes, honestly priced.

$29 $14.50

Details
Phoenix Blog Template preview

blog

Phoenix Blog Template

A fully-featured blog template with admin panel, markdown support, SEO optimization, and responsive design. Legacy shelf: stable, maintained for security fixes, honestly priced.

$29 $14.50

Details
PHX Data Agent Starter preview

ai_tool

PHX Data Agent Starter

Agentic data-analysis starter: chat with your PostgreSQL data through a policy-enforced, read-only SQL boundary with adversarial tests, MCP integration, and local-model support via Ollama (boots fine without it). Built for teams shipping AI features on their own data.

$279 $139.50

Details
PHX SaaS Starter preview

saas

PHX SaaS Starter

Production-grade Phoenix SaaS starter: multi-tenant organisations with roles and invites, Stripe billing, admin dashboard, Mailgun email with prebuilt templates, Oban background jobs, onboarding, and 32 DaisyUI themes. Sanitized, tested, and rebuilt for 2026.

$179 $89.50

Details
PHX AI Document Starter preview

ai_tool

PHX AI Document Starter

AI document workspace starter: upload PDFs (10 MB free / 80 MB pro in the demo plans) and chat with them through a provider-agnostic AI boundary (OpenAI or deterministic fake for dev), with tenant-isolated storage, a tested deletion lifecycle, and an interactive viewer. AI answers vary by model and need human validation. The consolidated successor to AI Template and PDFAi.

$249 $124.50

Details

Builder Pass · one payment

Every template, present and future, for life.

The whole catalogue plus everything we release next, with lifetime updates and commercial use on unlimited projects. Downloads land in your account instantly.

Lifetime access

$749 $374.50

Template pricing

Free · MIT

Aurora UI, the component kit we build with.

15 accessible, themeable Phoenix LiveView component families with complete interaction states. Never behind an email gate.

$ {:aurora_ui, "~> 0.1"}

Start metering this afternoon.

The free core installs in one dependency. Pro starts with a 14-day trial and bills through Stripe when you are ready. Need the rest of the app too? Start from a template.