Skip to main content
This guide covers how to create and manage payment plans using the Nevermined Payments Python SDK.

Overview

Payment Plans define how users pay to access your AI agents and services. Nevermined supports two types of plans:
  • Credits Plans: Users purchase a fixed number of credits that are consumed with each request
  • Time Plans: Users purchase access for a specific duration (e.g., 1 day, 1 month)

Plans API

Access the Plans API through payments.plans:

Types of Payment Plans

Credits Plans

Credits plans grant users a fixed number of credits. Each agent request consumes credits according to the plan configuration.

Time Plans

Time plans grant users unlimited access for a specific duration:

Trial Plans

Trial plans can only be purchased once per user. Perfect for free trials:

Price Configuration

ERC20 Token Price

Native Token Price (ETH)

Fiat Price (USD)

Fiat Price (EUR)

Fiat amounts are in 6-decimal units (the USDC convention used across the Nevermined protocol), not cents — 10_000_000 = 10.00.Theserversideminimumis10.00. The server-side minimum is **1.00** (1_000_000); smaller amounts are rejected with BCK.PROTOCOL.0047.

EURC Token Price (Euro Stablecoin)

Free Price

Credits Configuration

Fixed Credits

Each request consumes a fixed number of credits:

Dynamic Credits

Each request can consume a variable number of credits:

Duration-Based (Time Plans)

Retrieve Plans

List Your Plans

List the plans you published. This is caller-scoped account management — it returns only the plans the authenticated account created, never other users’ plans (Nevermined is not a marketplace, so there is no global plan search). Useful for finding and managing your own plans (e.g. spotting duplicates).

Get a Single Plan

Get Plan Balance

Check the balance for a specific account:

Get Agents Associated to a Plan

Complete Example

Next Steps

Agents

Register AI agents and associate them with plans

Payments and Balance

Order plans and manage balances