🎉 Announcing our $3 million seed round
Logo
Getting Started

Feature

What is a Feature?

A Feature is a product feature defined as part of your product catalog. Features are used to define the entitlements for your APIs and services. For example:

FeaturePlan 1Plan 2
Feature 1: Seats525
Feature 2: Emails1,000 /m100,000 /m
Feature 3: Tokens10,000 /m1,000,000 /m

Features with usage limits

Features can have usage limits. For example, you can define a feature with a limit of 1,000 emails per month. When the subject exceeds the limit, the system can enforce a rate limit or block the subject from using the feature. Limits are also useful for upselling. For example, you can message the customer to upgrade to a higher plan when they reach the limit.

To define a feature with a limit, use Ledger to grant usage credits to the subject.

Properties

A feature has the following properties:

PropertyDescription
NameA human-readable name for the feature.
MeterA meter to measure the usage of the feature.
Meter Group By FilterTo filter for a subset of usage in the meter.

Examples

Here is an example of a feature:

GPT-4 Tokens

The feature GPT-4 Tokens is used to grant tokens for the GPT-4 API.

PropertyValue
NameGPT-4 Tokens
Metertokens_total
Meter Group By Filtermodel=gpt-4

Emails

The feature Email Quota is used to grant email quotas.

PropertyValue
NameEmail Quota
Meteremails_total
Meter Group By FilterNone
Last edited on May 13, 2024