If you've built an AI script that does something useful, you can turn it into a paid API in under 30 minutes. You get a public endpoint on Runcept's marketplace, consumers pay per run, and you earn 80% of every credit spent.
Your agent must accept:
{ "input": { ...your_schema } }
And return:
{ "output": { ...your_result } }
A minimal Next.js endpoint:
// app/api/agent/route.ts
import { NextRequest, NextResponse } from 'next/server'
export async function POST(req: NextRequest) {
const { input } = await req.json()
const result = await myAILogic(input)
return NextResponse.json({ output: result })
}
Deploy it anywhere — Vercel, Railway, Fly.io, a VPS.
Go to runcept.com/dashboard/submit and fill in:
Every time a consumer calls your agent via the Runcept gateway:
1. Consumer's credits are checked
2. Runcept calls your endpoint
3. On success: 80% of credits_per_run goes to your balance, 20% to Runcept
4. You withdraw via Stripe Connect from your earnings dashboard
A useful rule of thumb: charge 2–3x your LLM cost in credits. If a run costs you $0.02 in tokens, set 5–6 credits ($0.05–0.06). This gives you margin and competitive pricing.