Cloudflare Launches Monetization Gateway Beta to Charge AI Agents via HTTP 402

Cloudflare's new Monetization Gateway enables per-request payments from AI agents using HTTP 402 and stablecoins, with Ceramic.ai, Stocktwits, and API2PDF already in production.

Last Updated: September 30, 2026 Editorial Process
Editorial Process
See more of Inside AI's trusted news by adding us as a preferred source on Google.
AI neural network visualization
Published on: September 30, 2026

September 30, 2026, (Inside AI) — Cloudflare has launched the Monetization Gateway in closed beta, a system that lets website owners charge AI agents for access to their APIs, tools, and datasets using the HTTP 402 "Payment Required" status code. The gateway, announced three months ago and now in production with four customers, settles payments in USDC on the Base blockchain through Coinbase's x402 Facilitator. It is available to eligible U.S.-based sellers and buyers, with new geographies planned.

The move addresses a fundamental mismatch: today's subscription and prepaid credit models assume buyers make upfront commitments, but AI agents operate on a per-request basis. Agents seek outcomes, not subscriptions, and they need to pay for individual API calls, search queries, or data feeds without human intervention. Cloudflare's gateway lets sellers define pricing rules that match any part of a request, such as URL, headers, or query parameters, and handles payment verification, settlement, retries, and analytics.

How HTTP 402 Enables Agent-Native Payments

The gateway uses the HTTP 402 status code, a long-reserved but rarely used part of the HTTP specification, to request payment inline with the resource request. When an agent hits a protected endpoint without payment, it receives a 402 response with payment instructions. The agent signs an authorization, and upon settlement, receives the resource. There is no redirect to a checkout page and no separate payment API. Sellers can go live in seconds with a few clicks, creating what Cloudflare describes as a "paywall for agents."

Cloudflare's AI Gateway is already using the system. Starting today, U.S.-based Cloudflare customers can pay for inference at request time to a select set of models by adding a specific header. The AI Gateway's complex pricing engine, which bills per token, is integrated with the Monetization Gateway so that pricing information is fetched directly from the origin. This avoids duplicating pricing rules in the gateway.

Read: New Guide Shows How AI Agents Waste Millions on Frontier Models

"The web was built for a human buyer, someone who signs up and enters a card. Agents need to act on their own behalf, and payments are how they do it. Search is one of the first things every agent needs, so it should be one of the first things an agent can buy." Dr. Anna Patterson, Founder, Ceramic.ai

Ceramic.ai, which maintains a proprietary index of more than 40 billion pages and returns search results in as little as 50 milliseconds, uses the gateway's fixed pricing scheme to let agents pay per search without an API key. The company argues that search is highly elastic for agents: a simple question might need one query, while complex research could require hundreds. By paying per query, agents can decide how hard to look based on the task.

Stocktwits, a social network for investors with more than 10 million users, is using the gateway to sell real-time market signals to agents. The company, which pioneered cashtags like $NET in 2008, provides sentiment, message volume, follower counts, and trending tickers. It built a separate agent-facing path with the Monetization Gateway in front, leaving its existing API and enterprise data products unchanged. Each request is priced individually.

"Agents change the way data gets consumed. Instead of a customer signing up for a subscription or negotiating an enterprise license, an agent can ask for exactly what it needs, when it needs it. The ability to charge for that individual request opens up a completely new way for Stocktwits to make its data available." Howard Lindzon, Founder and CEO, Stocktwits

API2PDF, a REST API that generates PDFs from HTML and Office documents, uses the gateway to return a 402 response when a request arrives without an API key. The company previously required account creation and a credit card after the first month, which led to a conversion drop of more than 50%. Because each request has variable compute and bandwidth costs, API2PDF uses variable pricing to inform agents of the maximum price, then settles only the actual consumption. The company says agents face the same build-versus-buy decision as developers: an agent could burn tokens to generate a PDF itself, or pay a fraction of a cent to a specialized API.

Cloudflare's move reflects a broader shift toward agentic commerce, where autonomous software agents transact on behalf of users. The company plans to add service discoverability, transaction logs, additional payment rails, and identity primitives over time. The gateway is currently limited to U.S. sellers and buyers, but Cloudflare says support for new geographies is coming. The beta is available through the Cloudflare Dashboard, and the company is accepting onboarding applications.

More from Inside AI

  • Features, Interviews, Press Releases

    Beyond Transcripts: Modulate Secures $25M to Scale Frontier Audio-Native AI Architecture Against Monolithic LLMs

    September 28, 2026
  • AI In Business

    Cloudflare Launches Pay Per Use Beta to Charge AI Companies for Content Use

    September 30, 2026
  • AI In Business

    Cloudflare Adds Model Overkill Detection to AI Gateway User Insights

    September 30, 2026
  • AI In Business

    Cloudflare Launches Auto Router to Cut AI Costs by 30%

    September 30, 2026
  • Agentic AI

    Meta Muse AI Shared User Address Without Explicit Approval

    September 30, 2026
  • AI In Business

    Fearing AI, Workers Go Back to School for Jobs That Still Need a Human Touch

    September 30, 2026
  • AI Policy & Regulation

    AI-Generated Political Ads Flood Midterm Races, Raising Legal and Ethical Questions

    September 30, 2026
  • AI In Business

    Google Economist: AI Won’t Eliminate Gen Z Jobs, But Will Transform Work

    September 30, 2026
  • Agentic AI

    OpenAI Launches Dots: Always-On AI Agents Powered by GPT-6 Astra

    September 30, 2026

Never Miss a Breakthrough

Join 50,000+ readers who get our daily AI intelligence briefing. No fluff, just what matters.

Join Our Newsletter Community

Subscribe

Inside AI is an independent publication covering artificial intelligence news, machine learning research, and the tools shaping the future of technology. No hype. Just what's happening in the AI world.

Topics

  • Artificial Intelligence
  • Machine Learning
  • Generative AI
  • Agentic AI
  • Vibe Coding
  • Prompt Engineering
  • AI Policy & Regulation
  • AI Hardware & Infrastructure
  • AI Tools
  • AI In Business
  • Robotics
  • Cybersecurity AI
  • AI Safety
  • AI Tools & Reviews (Coming soon)

Company

  • Editorial Standards
  • Privacy Policy
  • Terms of Service
  • Contact
  • About Us

Others

  • Press Releases
  • Features
  • Sponsored Content
  • Advertise with us
  • Newsletter

© 2026 Inside AI. All rights reserved.

Designed by Blue Flare Digital