Skip to main content
The Nevermined Payment Libraries provide a comprehensive set of tools for monetizing AI services and enabling seamless payment flows between humans and AI agents, as well as between AI agents themselves.

Core Capabilities

For AI Builders

Register your AI agents with metadata, API endpoints, and access control policies. Define which endpoints require payment and which are open.
Create various types of payment plans:
  • Credits-Based Plans: Pay per request or API call
  • Time-Based Plans: Subscription access for specific durations
  • Trial Plans: Free limited access for new users
  • Hybrid Plans: Combine time and usage limits
Automatically validate requests and control access to your AI services based on payment status and remaining credits.
Track usage, manage subscriptions, and receive instant payments in both cryptocurrency and fiat currencies.

For Subscribers & Users

Browse and discover AI agents and services available in the Nevermined ecosystem.
Purchase payment plans using:
  • Cryptocurrency (any ERC-20 token)
  • Fiat payments (via Stripe integration)
  • Trial plans for testing services
Get access tokens and query AI agents directly through secure API calls with automatic credit deduction.
Monitor your credit balance, usage history, and plan expiration dates in real-time.

Integration Patterns

Human-to-Agent Interactions

Perfect for building:
  • AI marketplaces where users browse and purchase access to AI services
  • SaaS applications with AI-powered features
  • Developer tools that monetize AI API access
  • Consumer applications with premium AI features

Agent-to-Agent Commerce

Enables autonomous AI systems to:
  • Purchase services from other AI agents
  • Create complex multi-agent workflows
  • Build AI ecosystems with automatic settlement
  • Develop agent marketplaces and orchestration platforms

Payment Models

Usage-Based Pricing

Charge based on actual usage - perfect for API calls, processing requests, or computational resources.

Subscription Model

Time-based access for unlimited usage within specific periods - ideal for continuous services.

Freemium with Trials

Offer free trials to attract users, then convert to paid plans for continued access.

Tiered Pricing

Create multiple plans with different credit amounts, durations, or feature sets.

Multi-Currency Support

  • Cryptocurrency: Accept payments in any ERC-20 token (USDC, USDT, DAI, etc.) or native tokens
  • Fiat Currency: Integrate with Stripe for traditional credit card payments
  • Automatic Conversion: Handle mixed payment methods seamlessly

Developer-Friendly Features

1

Simple Integration

Get started with just a few lines of code in Python or TypeScript
2

Comprehensive SDKs

Full-featured libraries with type safety and extensive documentation
3

Flexible Deployment

Works with direct integration or proxy-based setups
4

Production Ready

Built-in security, error handling, and scalability features

Use Cases

The Payment Libraries are perfect for:
  • AI Service Providers: Monetize LLM access, computer vision APIs, or specialized AI models
  • Developer Tools: Add payment layers to AI development platforms and APIs
  • Enterprise Solutions: Create internal AI marketplaces and usage tracking systems
  • Research Platforms: Enable paid access to AI research tools and datasets
  • Multi-Agent Systems: Build autonomous agent economies with automatic settlements
Ready to get started? Check out our Getting Started Guide to begin integrating Nevermined into your AI services.