Navigation
REQUEST ACCESS

Free · 5 min to first match

Contextual ad network for AI

Monetize your
AI chat in one line of code.

Drop in the SDK. We match your users' queries to relevant brands in under 50ms. You keep 60% of every match. No cookies. No tracking. No redesign.

$ npm install @promptads/sdk
your-ai-app.com
Best way to deploy scalable Postgres?
AI
Look into serverless Postgres with connection pooling.
Sponsored+$0.0042

Neon — Serverless Postgres with instant branching and autoscaling. Try free →

148ms0.94 relevance0 cookies set
Scroll to see how it works
Sub-50ms match60% rev sharenpm installNo cookiesNo trackingWeekly payoutsFree to integrate

Same SDK.
Four products.

One integration. Whatever your AI app does, the SDK matches the query, returns a relevant brand, and credits your account. Click a category to see it in action.

Live preview · Coding Copilot
42ms · match found
How do I deploy a Next.js app to the edge with environment variables?
AI
For edge runtime in Next.js, you need a hosting platform that supports edge middleware natively. The standard pattern is: put non-sensitive config in NEXT_PUBLIC_ vars, use a secrets manager for the rest, and keep API routes in the Node runtime.
Sponsored$8.40 CPM

Vercel Vercel deploys Next.js apps to the edge in one git push. Environment variables are managed per-branch, secrets are encrypted at rest, and edge functions run in 18 regions worldwide. Try Vercel free →

What the publisher sees
Query categoryDevTools / Cloud
Matched brandVercel
Bid price (CPM)$8.40
Match latency42ms
Relevance score0.94
User data sentnone
Cookies set0
Same matchAd(query) call. The backend figures out the category, picks the highest bidder, and returns the ad. You render it.

Three steps.
Five minutes to first dollar.

We sit between your query and the LLM response. No DOM, no cookies, no user profiles. Just intent, matched to the right brand, in milliseconds.

STEP 01

Install the SDK

One npm install. Import the client, pass your API key, done. Works with Node, Bun, and edge runtimes.

npm install @promptads/sdk
STEP 02

Match each query

Call matchAd(query) before you stream the LLM response. We embed the query, find the best brand in under 50ms, and return a recommendation. You render it however you want.

query: "best db for my app"
match: Neon · 0.94 relevance
latency: 42ms
STEP 03

Get paid weekly

Every match is logged. Revenue is split automatically. Payouts land in your account every Monday. Minimum payout: $50.

publisher: 60%
promptads: 40%
payout: every Monday
promptads.dev · publisher demo
Chat interface · end user view
What's the best database for a Node.js app that needs to scale fast?
For a Node.js app focused on fast scaling, PostgreSQL is the standard choice — great ecosystem, strong typing, and handles growth well. For serverless specifically, you want something with connection pooling built in.
Neon is a serverless Postgres platform built for exactly this — instant branching, autoscaling, and a generous free tier. Worth trying for your use case.
API response · publisher view
// PromptAds match response
 
status: "matched"
advertiser: "Neon"
relevance: 0.94
latency_ms: 148
revenue_usd: 0.0042
tracking: "none"
copy: "Neon is a serverless..."

Plain HTTP.
Any runtime.

The SDK is a thin wrapper around a single POST endpoint. No framework lock-in, no proprietary protocol. If it can make an HTTP request, it can call PromptAds.

Frontend
Next.jsReactViteSvelteKitAstro
Backend
Node.jsBunDenoPythonFastAPIExpress
AI / Agents
LangChainLlamaIndexVercel AI SDKOpenAIAnthropic
Database
SupabasePostgresNeonQdrantPinecone
Hosting / Edge
VercelCloudflare WorkersRailwayFly.ioAWS Lambda

Plus a TypeScript SDK, Python SDK, and a curl one-liner.

Paste this.
Start earning.

One call before your LLM streams. Works with any framework, any runtime. Streaming is unchanged — we add a recommendation under your response, not inside it.

Your code· route.ts
// app/api/chat/route.ts  (Next.js example)
import { PromptAds } from "@promptads/sdk";

const ads = new PromptAds({ apiKey: process.env.PROMPTADS_KEY });

export async function POST(req: Request) {
  const { query } = await req.json();

  // Match in under 50ms. No user identity sent.
  const ad = await ads.matchAd(query);
  // ...stream LLM, render ad?.copy below
}
What you get back· JSON
< 50ms
{
  "status": "matched",
  "advertiser": "Neon",
  "copy": "Serverless Postgres...",
  "relevance": 0.94,
  "latency_ms": 42,
  "revenue_usd": 0.0042,
  "tracking": "none"
}

Zero dependencies. No SDK lock-in. Plain HTTP if you prefer.

Run the numbers.
On your actual traffic.

Move the sliders. The right column updates in real time. Estimates use a $5 average CPM (cost per 1,000 matches) — actual rates vary by query category.

Monthly queries1,000,000
Average CPM (USD)$5
Match rate70%

Share of queries we can match to a brand. We only return a match when relevance is high enough.

Your monthly revenue
$2.1k
700,000 matched queries · 60% rev share
Annual run rate$42.0k
Total revenue generated$3.5k
PromptAds takes (40%)$1.4k
Indicative only. Real CPMs depend on advertiser demand in your query category. Tech and dev queries typically $3-15. Finance and legal $15-50. We'll show you real bid prices in your dashboard.

You keep 60%.
We keep 40%. That's it.

No tiers. No minimums. No monthly fees. The same take rate whether you do 10,000 or 10,000,000 queries a month. We make money when you make money.

For publishers
60%

Of every matched impression goes to you. Paid every Monday via Stripe or stablecoin. $50 minimum payout.

  • ·Free to integrate
  • ·No monthly minimum
  • ·No exclusivity
  • ·Cancel anytime, no clawbacks
For advertisers
per impression

Bid for relevant queries in your category. Pay only when your ad is shown. $299/mo priority placement is optional.

ADVERTISER LOGIN →

How we compare

What you getPromptAdsAdSenseAdMob / UnityNex.ad
Revenue share (you keep)60%20-30%30%N/A (managed)
Cookie / tracking requiredNoYesYesYes
SDK lock-inNoYesYesYes
Self-serve APIYesYesYesNo (managed)
Min payout$50$100$100N/A
Payout frequencyWeeklyNet 30+Net 30+Net 30+
Match latency< 50ms100-300ms200-500msVaries

Comparison values are typical public rates as of 2026. Your mileage will vary.

Ready to monetize
your AI chat?

Free to integrate. Five minutes to first match. No credit card required to start the sandbox.

Have questions? hello@promptads.dev