Legion

Let users pay-as-you-go for AI.

Developers can add any AI at zero cost,

and earn from each call made.

Login

01 / Agentic setup

Give your AI agent this prompt

Without Legion, your website or app is charged for every AI call. With Legion, it’s your users who pay for each call. And for every interaction, your platform receives part of the payment. Tell your AI agent to add Legion to your platform with this prompt:

I want to add Legion AI to this project. Run: npm install -g @legionai/cli && legion login && legion docs — then follow the docs to create an app and integrate the SDK.

Documentation

02 / App Setup

Register your app or website

Register your app or website, get a key, start using AI and earn from every call.

03 / Chat Builder

Create a chat AI

Don't have a website or app? Create a shareable chat that uses your content and earn from every interaction.