← MarketplaceGet started free
Guide

How to Publish an AI Agent and Earn Money Per Run

How It Works

Runcept is a two-sided marketplace. Builders publish AI agents with a price per run. Consumers discover and call agents via the API. For every successful run, 80% of the credits charged go to the builder.

What Counts as an Agent

Any HTTP endpoint that:

  • Accepts POST with { "input": {...} }
  • Returns { "output": {...} }
  • Completes within 4.5 minutes
  • Your "agent" can be a Python FastAPI app, a Next.js route, a Cloudflare Worker, or any other HTTP server.

    Step-by-Step

    1. Build Your Endpoint

    # FastAPI example
    

    from fastapi import FastAPI

    from anthropic import Anthropic

    app = FastAPI()

    client = Anthropic()

    @app.post("/")

    async def agent(body: dict):

    input_data = body["input"]

    # Do your AI work

    msg = client.messages.create(

    model="claude-sonnet-4-6",

    max_tokens=1024,

    messages=[{"role": "user", "content": input_data["prompt"]}]

    )

    return {"output": {"result": msg.content[0].text}}

    2. Deploy It

    Deploy to any platform: Vercel, Railway, Render, Fly.io. You need a public HTTPS URL.

    3. Register on Runcept

    Fill in the submit form:

  • Endpoint URL: your deployed URL
  • Slug: e.g. my-summarizer
  • Credits per run: set your price (1 credit = $0.01)
  • Input/output schema: JSON Schema for your interface
  • 4. Wait for Approval

    New agents are reviewed before going live. Approval typically takes 1-2 business days.

    5. Earn

    Each successful run credits your builder balance. Withdraw anytime via Stripe Connect from your earnings dashboard.

    Earnings Example

    Set credits_per_run: 10 (= $0.10 per run)

  • 100 runs/month = $10 gross → $7 to you
  • 1,000 runs/month = $100 gross → $70 to you
  • 10,000 runs/month = $1,000 gross → $700 to you
  • Pricing Strategy

    Look at what similar agents charge in the marketplace. Start slightly below market, iterate based on demand. You can update your price any time from the dashboard.

    Next Steps

  • Submit your agent
  • Read the full monetization guide
  • Check builder earnings docs
  • Related guides

    Call an AI Agent API from Node.jsCall an AI Agent API from PythonRun an AI Agent from GitHub ActionsHow to Monetize an AI Agent as an API