Metering & Billing Documentation Index

  • Metering & Billing

    Learn how to meter and bill for your features with Metering & Billing.

  • How can Metering & Billing help?

    Understand what Konnect Metering & Billing does and where it fits in your revenue infrastructure.

  • Metering

    Learn how metering works in Konnect Metering & Billing.

  • Product Catalog

    Learn how the Product Catalog work in Konnect Metering & Billing and how they relate to usage tracking and external billing systems.

  • Billing and invoicing

    Learn how billing and invoicing work in Konnect Metering & Billing.

  • Notifications

    Use Metering & Billing Notifications to receive webhook alerts when customers reach entitlement thresholds or billing events occur.

  • API gateway metering

    Real-time usage metering for Kong Gateway API requests. Monetize API traffic with flexible pricing models.

  • LLM token metering

    Learn how to meter and bill AI Gateway LLM tokens.

  • Generic metering

    Meter any billable usage, like compute, storage, or application layer. Learn how to ingest usage events.

  • Common metering examples

    Examples to meter AI, API, compute, GPUs, and storage usage.

  • Events

    Learn how usage events are ingested, processed, deduplicated, and enriched in Metering & Billing.

  • Collectors

    Meter external systems and data sources like Kubernetes, GPUs, and databases with the Metering & Billing Collector.

  • Features

    Features are what you want to price or govern. Features are customer-facing, and when priced, they show up on the invoice.

  • Plans

    Plans are a collection of rate cards that can be assigned to customers by starting a subscription.

  • Pricing models

    Pricing models describe how to price a feature, for example, free, flat fee, usage-based, or tiered.

  • Entitlements

    Entitlements describe customer access, usage-limits, and configuration to features.

  • Kubernetes Collector

    Learn how to use the Kubernetes collector to meter pod resource usage in Konnect Metering & Billing.

  • OpenTelemetry Collector

    Learn how to use the OpenTelemetry collector to meter usage from logs in Konnect Metering & Billing.

  • Prometheus Collector

    Learn how to use the Prometheus collector to meter usage from Prometheus metrics in Konnect Metering & Billing.

  • Run:ai Collector

    Learn how to use the Nvidia Run:ai collector to meter GPU workloads in Konnect Metering & Billing.

  • S3 Collector

    Learn how to use the S3 collector to meter usage from S3-compatible object storage in Konnect Metering & Billing.

  • Prepaid credits

    Understand how prepaid credits work in Konnect Metering & Billing: key concepts, terminology, and correctness guarantees.

  • Credit grants

    Learn how credit grants work in Konnect Metering & Billing: funding methods, priority, and expiration.

  • Credit balance model

    Understand the two credit balance types in Konnect Metering & Billing: settled and pending.

  • Credit consumption and expiration

    Learn how credits are consumed by charges and how unused credits expire in Konnect Metering & Billing.

  • Credit transaction history

    Understand credit movements, transaction history structure, ordering, and corrections in Konnect Metering & Billing.

  • Feature filters

    Restrict credit grants to specific product features and query balances or transaction history scoped to a single feature.

  • Prepaid credit operational flows

    Reference for common prepaid credit workflows in Konnect Metering & Billing.

  • Correctness guarantees

    Konnect Metering & Billing keeps credit balances correct through a double-entry ledger, immutable movements, and deterministic consumption order.

  • Customers

    Customers represent individuals or organizations that subscribe to plans, gain access to features, and are invoiced for their consumption.

  • Subscriptions

    Subscriptions are a collection of active rate cards that can be assigned to customers.

  • Billing profiles

    Billing profiles handle invoicing, payment, and tax settings for a customer.

  • Invoicing

    Learn how to set up invoicing in Konnect Metering & Billing.

  • Tax calculations

    Manage tax codes and configure tax behavior for invoices.

  • Tax codes

    Learn how tax codes work in Konnect Metering & Billing, including tax behavior, organization defaults, and the fallback chain.

  • Collect payments with Stripe

    Learn how to collect revenue with Stripe Invoicing, Stripe Tax, and Stripe Payments with the Metering & Billing Stripe integration.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!