Skip to main content
Charge for your Agentic product with a flexible, declarative pricing model built on top of Stripe’s subscription billing. Agentic supports almost any combination of fixed and usage-based billing billing models, both at the MCP level, at the tool-call level, and at the custom metric level (e.g., tokens, image transformations, etc).
Pricing can feel a little complicated to set up. Feel free to reach out to us once you’re ready to start charging for your product, and I’d be happy to help you set everything up.

Pricing Plan

name
string
required
Display name for the pricing plan.Examples: “Free”, “Starter Monthly”, “Pro Annual”, etc.
slug
string
required
A unique slug for the pricing plan which acts as a stable identifier across deployments.Should be lower-kebab-cased. Should be stable across deployments.For all plans aside from free, the slug should include the interval as a suffix so pricing plans can be uniquely differentiated from each other across billing intervals.Examples: free, starter-monthly, pro-annual, etc.
interval
string
default:"month"
The frequency at which this subscription is billed.One of day, week, month, or year.Stripe docs
description
string
Optional description of the pricing plan (UI-only).
features
array
Optional list of features of the pricing plan (UI-only; array of strings).
trialPeriodDays
number
Optional number of days for a free trial period when a customer signs up for a new subscription.Stripe docs
rateLimit
object
Optional rate limit to enforce for customers on this pricing plan.You can use this to limit the number of API requests that can be made by a customer during a given interval.If not set, the pricing plan will inherit the default platform rate-limit set by defaultRateLimit in the Agentic project config.You can disable rate-limiting for this pricing plan by setting rateLimit.enabled to false.See Rate Limits for more details.
lineItems
array
required
List of LineItems which are included in the PricingPlan.Note: Agentic currently supports a max of 20 LineItems per pricing plan.See PricingPlanLineItem for details.

Pricing Plan Line Item

Each Pricing Plan Line Item corresponds to one Stripe Product, one Stripe Price, and possibly one Stripe Meter if the line-item is metered.
slug
string
required
Slugs act as the primary key for LineItems. They should be lower-cased and kebab-cased (“base”, “requests”, “image-transformations”).The base slug is reserved for a plan’s default licensed line-item.The requests slug is reserved for charging using metered billing based on the number of request made during a given billing interval.All other PricingPlanLineItem slugs are considered custom LineItems.Should be stable across deployments, so if a slug refers to one type of product / line-item / metric in one deployment, it should refer to the same product / line-item / metric in future deployments, even if they are configured differently. If you are switching between a licensed and metered line-item across deployments, they must use different slugs.
label
string
Optional label for the line-item which will be displayed on customer bills.If unset, the line-item’s slug will be used as the label.Stripe Docs
usageType
string
required
The type of usage to charge for. Either licensed or metered.Stripe docs
Licensed line-items are used to charge for fixed-price services.
usageType
string
required
The type of usage to charge for. licensed in this case.Stripe docs
amount
number
required
The fixed amount to charge per billing interval.Specified in the smallest currency unit (e.g. cents for USD).So 100 = $1.00 USD, 1000 = $10.00 USD, etc.Stripe docs

Example Pricing Plans

This example shows a free monthly pricing plan which is used by default for projects that don’t specify any pricing plans.
agentic.config.ts

Declarative Pricing

Agentic takes care of creating and managing all Stripe resources for you based on your project’s simple declarative JSON-based pricing config.Every time you make a chance to your project’s pricing and create a new deployment, Agentic will lazily upsert any related Stripe resources (products, prices, meters, subscriptions, customers, etc).If a particular Stripe resource hasn’t changed between deployments, Agentic will continue using the existing Stripe resources, which is important for customers who may have signed up for subscriptions before you made a change to your pricing.

Pricing Help

Pricing can feel a little complicated to set up. Feel free to reach out to us once you’re ready to start charging for your product, and I’d be happy to help you set everything up.