Cloudflare、x402 を活用した「マネタイゼーションゲートウェイ」を発表:保護されたあらゆるリソースへの課金機能を追加
本文の状態
日本語全文を表示中
詳細モードで約14分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Cloudflare Blog
Cloudflare は、ウェブページやデータセット、API などの保護対象リソースに対して課金できる新機能「マネタイゼーションゲートウェイ」を発表した。同機能はエッジで支払い検証とアクセス制御を処理し、安定コインによる決済をサポートする。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
本日、Cloudflare Monetization Gatewayを発表します。これは、Cloudflare の顧客が、Cloudflare で保護されたあらゆる資産(Web ページ、データセット、API、MCP ツール)に対して課金できる機能を提供するエンジンです。
このゲートウェイは、アプリケーション全体にわたる支払いポリシーとアクセス制御を管理するための単一のコントロールプレーンとして機能し、エッジで支払いの検証と執行を行うことで、オリジンを高額の決済ボリュームから保護します。ローンチ時には、x402 財団を通じて業界リーダー 25 社以上の連合が構築しているオープンプロトコルである x402 を介して、ステーブルコインでの決済が完了します。
Web の進化を遂げるビジネスモデル
30 年にわたり、Web は「コンテンツと人間の注目を交換する」という単純な経済的契約に基づいて稼働してきました。この注目は、広告、サブスクリプション、電子商取引を通じて貨幣化されてきました。この契約が、私たちが知るインターネットを支えてきたのです。
しかし、エージェント(AI エージェント)が主要なインターネットユーザーとなるにつれ、このモデルは崩壊しつつあります。エージェントは広告を見たり、アクセスしたいすべてのツールに対して月額サブスクリプションを維持したりする必要はありません。ページを読み込み、データフィードを一度消費し、必要なものだけを取得して次に進むのです。Web 全体において、AI クロールラーは、自らが送り返す訪問者 1 人あたり、コンテンツを要求する回数が百回から数万回に及ぶことがすでにあります。
この現実には、あらゆるものに対する利用ベースの価格設定という新しいモデルが必要です。注力と電子商務がウェブサイトから AI ハーネスや AI によって書かれたソフトウェアへと移行しているなら、エージェントは必要な入力に対して支払いを行うべきです——トレーニングデータ、推論コンテンツ、開発者向けツール、そして API の使用料などです。ソフトウェアにおける自然な支払単位は、席数や月額ではなく、リクエスト、トークン、あるいは成果物です。これがどのようなものになり得るか、いくつかの例を挙げます:
ウェブ検索 1 回あたり数セントを呼び出しごとに請求する
アップロードエンドポイントに対して基本料 0.001 ドルに加え、1MB あたり 0.01 ドルの利用料を支払う
サポートエスカレーションが解決されるたびに 0.99 ドルを支払う。ただし、作業が成功した場合のみ支払いが発生します。
これは、回答エンジンがコンテンツを利用する際にクリエイターに支払うことと同じ転換点です。コンテンツやリソースが利用されるたびに価値の公平な交換が行われ、その目的のために構築された中立的なレール上で価格設定されます。人々はしばしばエージェントが高価な資産(ウェブドメインなど)を購入すると想像しますが、エージェントが支払うものの多くはチェックアウトよりも上流に位置し、価格ははるかに低く設定されています。
インターネットの一部はすでにこのように機能しています。クラウドや API は、長年にわたり「呼び出し単位」や「時間単位」で販売されてきましたが、対象となるのは既知の購入者だけでした。ユーザーが登録し、API キーが発行され、使用量に応じた従量課金が発生します。コンテンツ分野では、支払いモデルをスキップして広告収益に依存するケースがほとんどです。これらのビジネスモデルは、サブセント(1 セント未満)の取引において未検証の購入者に対応できないでいました。その理由は、決済インフラのコストが高すぎ、決済完了までに時間がかかりすぎるからです。ある価格帯を下回ると、支払いを集めるコスト自体が、その支払いの価値を上回ってしまうのです。
歴史的に、使用量に応じた課金の実装は困難を伴いました。企業は事実上、決済会社へと変貌する必要があり、内部の使用状況を堅牢かつ監査可能な方法で追跡するために独自の会計システムを運用しなければなりませんでした。この使用状況を追跡するには、バックエンドシステムの大幅な改修が必要でした。そのため、多くの企業がよりシンプルで、しばしば収益性も高い「ユーザー数ベースの価格設定」を選択しました。
エージェントはこのダイナミクスを逆転させます。単一のエージェントが、24 時間体制でチーム全体の仕事を行うことが可能になり、実際の消費量とは無関係な固定の一時手数料で済みます。同時に、エージェントは摩擦なく数千件のマイクロペイメントを実行できますが、各支払いに対して人間に承認を求めるのは不可能なほど負担が大きくなります。使用量ベースの価格設定こそが、エージェントが存在する場所であり、ステーブルコインに基づくマイクロペイメントが輝く領域です。その理由は、ステーブルコイン(Open USD や USDC など)を使用すれば、購入者がインターネット上で微小な金額を転送でき、手数料はほぼ無視できるレベルで、決済も 1 秒未満で行えるからです。これは現在の他の決済経路では実現不可能です。
ここで私たちが役立ちます。Cloudflare は、自社の請求システムや顧客の分析のために、長年にわたり使用量ベースの会計機能を構築してきました。バイヤーとセラーの間に位置するプロキシ層としての立場を活かし、Web ベースのアセットに対する使用量ベースの課金の導入を劇的に簡素化できます。以下に示す通り、Cloudflare が使用量ベースの課金をサポートすることで、支払いの証拠をリクエスト自体の中に移動させることが可能になり、支払い検証とリクエストパスが統合されます。

そして、あなたにとってのメリットは、メータリング(計測)、支払い交換、決済処理がオリジンサーバーから外れることです。あなたに残るのは重要な要素のみです——あなたのルール、価格設定、そして収益です。買い手のオンボーディングや請求システムの構築は不要になります。ルールを記述するだけで、エージェント型バイヤーが使用した分を支払います。
x402 の復習
昨年、コンテンツ独立記念日に、サイト所有者に対して AI クローラーがどのコンテンツにアクセスできるかをワンクリックで制御する機能を提供し、Pay Per Crawl(クロール課金)によってクローラーに対して課金できるようにしました。Monetization Gateway はその次のステップです:コンテンツをクローラーに対してのみ課金するだけでなく、API からデータ、MCP ツールの呼び出しに至るまで、あらゆるリソースに対してあらゆる呼び出し元に課金できるようになります。そして、支払いの仕組みを自ら構築する必要はありません。
x402 は、HTTP を通じて支払いを行うことを可能にするオープンプロトコルであり、ついにその利用が実現される 402 ステータスコードにちなんで名付けられました。x402 の取引はシンプルです。クライアントが支払いゲート付きのリソースを要求します。サーバーはリソースを提供する代わりに、402 Payment Required(支払いが必要)というステータスと、価格、受け入れ可能な資産、支払い先を示す小さなペイロードで応答します。クライアントは支払いを行い、支払い証明書を添付して再度リクエストを送信します。仲介者が検証し、サーバーがリソースを返却します。これらすべてが通常の HTTP リクエストおよびレスポンスの内部で行われ、チェックアウトページへのリダイレクトも、呼び出すべき別個の支払い API も不要です。決済はピアツーピアで発生するため、買い手が売り手に送金した資金は直接売り手のウォレットに預金されます。私たちは Monetization Gateway を設計し、支払いオーバーヘッドを低く抑え、サブ秒単位の決済を実現することを目指しています。

x402 支払いフロー:AI エージェント ↔ APIServer ↔ ブロックチェーン、出典:GitHub の x402 Readme
x402 が機械間決済に適している理由は 2 つあります。1 つ目は、プロトコルによるオーバーヘッドがほぼないため、支払い金額をセントの小数点以下まで小さく設定できることです。2 つ目は、購入者が売り手とアカウントを持つ必要がないことです。なぜなら、支払い自体が認証情報となるからです。x402 はインフラに依存しませんが、安定通貨(ステーブルコイン)との相性が特に良好です。安定通貨は、チャージバックがゼロで、セントの小数点以下の手数料で 1 秒未満で決済完了できるためです。
Monetization Gateway の役割
Monetization Gateway は、デジタルリソースへのアクセス時に呼び出し元がいつ支払いを行うべきかを正確に表現できる柔軟な支払いルール API を提供します。

仕組みは以下の通りです。トークン、API、MCP ツール呼び出し、データはすでにこの経路を流れています。あなたは、そのトラフィックのうちどの部分を支払い対象とするかを、お好みの精度で決定できます。また、Cloudflare の他のルール設定と同様の式(expression)を、シンプルで専用の製品 API で記述することで、あなたの決定を実行可能にします。Monetization Gateway は Cloudflare の 330 都市以上をカバーするグローバルネットワークと連携してスケールするため、x402 のハンドシェイクは購入者の近くで行われます。これによりリクエストの遅延が削減され、オリジンサーバーが保護されます。
計画中の機能のいくつかの例:
特定の REST メソッドに対する課金:/api/premium/* への GET または POST リクエストごとに 0.01 ドルなど、特定ルートへの呼び出しに対して支払いを要求します。
変動価格設定:計算リソースの使用量に応じて、画像生成などのタスクに対して最大 2 ドルまでの任意の金額を課金するなど、複雑さに応じた変動額を設定できます。
認証されていない呼び出し者へのみの課金:オリジンから返される HTTP 401「Unauthorized」応答をインターセプトし、代わりに価格情報と支払い手順を含む 402「Payment Required」を返します。
リクエストが一致した場合、Monetization Gateway は通過させる前に支払いを検証します。これらのルールはダッシュボードで設定するか、Cloudflare API や Terraform を通じてコードとして管理できるため、有料エンドポイントはインフラストラクチャ構成の他の一部と同じように扱われます。
Monetization Gateway は当初、ユーザーが安定通貨でのサービスおよびリソースの支払いを買い手に要求できるようにします。売り手は蓄積した安定通貨を自身の取引に使用したり、銀行口座で同等の法定通貨と交換したりすることができます。Monetization Gateway を利用することで、製品の市場範囲を広げる方法を提供します。Gateway を通じて、エージェントはリソースへのアクセスを要求し、価格を提示され、支払いを行い、応答を受け取ることができます。サインアップも API キーも、事前の関係性も不要です。買い手についてどの程度の情報を必要とするかはあなたが決定し、Web Bot Auth による認証をエージェントに要求したり、彼らが既に保有するアカウントに対して使用量ベースの価格設定を適用したりする柔軟性を有します。
Where we see this going
Monetization Gateway はリクエストを支払いに変換し、Cloudflare の顧客に新たな収益機会をもたらしますが、その先にあるものははるかに大きなものです。
エージェントとは、ユーザーに代わって自律的に動作するソフトウェアであり、これらのエージェントはすでに独自に行動し始めています。まもなく、彼らはウォレットを携え、人の介在なしに必要なもの——データセット、API 呼び出し、ツール、計算リソースのブロックなど——を購入できるようになります。これらのリソースの一部は無料ですが、他方では、エージェントが誰であり、誰のために動作しているのかを検証する「検証済みエージェントID」が必要となる場合があります。多くのケースでは、ID と支払いの両方が必要となり、Cloudflare はその数少ないプラットフォームの一つです。Cloudflare では、オリジンサーバーがリクエストを認識する前に、エージェントの認証、ルールの適用、支払いの確認を一連のリクエスト内で完結させることができます。これにより、インターネット上の主要な購入者はエージェントとなり、リクエスト自体が取引へと変貌します。
今日、インターネット上で移動している膨大な価値のうち、誰も支払う意思がないからではなく、それを課金するためのツールが存在しなかったために、未課金または低課金のままとなっているものが数多くあります。有用な API 呼び出し一つひとつ、回答一つひとつ、エージェントが行うツール呼び出し一つひとつには価値があり、そのほとんどが現在では対価を支払われていません。これが私たちが目前に控えた機会であり、Monetization Gateway がそれを解き放つものです。
これが私たちが目指しているものです:インターネット規模の決済機能を備えたエージェントファーストのインターネットです。ここで、価値ある何かを生み出す人々が、それを利用するソフトウェアによって自動的に報酬を受け取ります。また、ウェブ上で最も大規模な企業と同じ条件で、同じ購入者に到達できるのは、最小限の新規 API であり、独立したクリエイターは、その作品を利用する大規模言語モデルから直接報酬を得ます。これがインターネットの次のビジネスモデルであり、私たちはこれを支えるために構築を進めています。
ウェイトリストにご登録ください
Monetization Gateway のウェイトリストは現在、Cloudflare の顧客向けに開放されています。ウェブページ、データセット、API、MCP ツールを従量課金制で収益化したいとお考えの場合は、ぜひ早期アクセスリストにご参加ください。
image
原文を表示
Today, we are announcing the Cloudflare Monetization Gateway, an engine that will give Cloudflare customers the ability to charge for any asset protected by Cloudflare: web pages, datasets, APIs, or MCP tools.
It will provide a single control plane to manage payment policies and access controls across your applications, while also protecting your origin from high payment volumes by handling payment verification and enforcement at the edge. At launch, payments will settle in stablecoins over x402, the open protocol we are building with a coalition of more than 25 industry leaders via the x402 Foundation.
The evolving business model of the web
For 30 years, the web has run on a simple economic bargain: trading content for human attention. That attention has been monetized through advertising, subscriptions, and e-commerce. This bargain funded the Internet as we know it.
But as agents become the dominant Internet users, the model is breaking. An agent does not look at ads or need to maintain a monthly subscription to all the tools it wants to access. It reads a page or consumes a data feed once, takes what it needs, and moves on. Across the web, AI crawlers already request content anywhere from a hundred to tens of thousands of times for every visitor they send back.
This reality demands a new model: usage-based pricing for everything. If attention and e-commerce are moving from websites to AI harnesses and AI-written software, then agents should pay for the inputs they need — training data, inference content, developer tooling, and API usage. The natural unit of payment for software is the request, the token, or the outcome, not the seat or the month. A few examples of what that could look like:
A few cents per web search, billed per call
\$0.001 base fee plus a \$0.01 per MB charge for an upload endpoint
\$0.99 per resolved support escalation, paid only when the work succeeds
This is the same shift behind paying creators when an answer engine uses their content — a fair exchange of value whenever content or a resource is used, priced on neutral rails built for the purpose. People often envision an agent buying high-priced assets like web domains, but most of what an agent pays for sits upstream of any checkout, and is priced far lower.
Some of the Internet already works this way. Cloud and APIs have been sold by the call and by the hour for years, but only to a known buyer: a user signs up, they are issued an API key, and they incur usage-based metered billing. Content mostly skipped payment and ran on advertising instead. These business models have never been able to serve unverified buyers for sub-cent transactions because the payment rails cost too much and took too long to settle. Below a certain price, collecting the payment cost more than the payment was worth.
Historically, usage-based billing was difficult to implement. Businesses needed to effectively become payments companies, running their own accounting to track internal usage in a robust and auditable way. Tracking this usage required significant overhauls of backend systems. Many instead chose per-seat pricing because it is simpler and frequently more profitable.
Agents flip this dynamic. A single agent can do the work of an entire team around the clock, making a flat one-time fee disconnected from actual consumption. At the same time, an agent can make thousands of micropayments without friction, while asking a person to approve each payment would be impossibly burdensome. Usage-based price points are where agents live and where stablecoin-based micropayments shine. That's because stablecoins (such as Open USD and USDC) allow buyers to transfer tiny sums across the Internet, incurring negligible fees and settling in less than a second. This is not feasible with other payment rails today.
Here’s where we can help. Cloudflare has spent years building usage-based accounting for our own billing systems and for our customers’ analytics. We can dramatically simplify the implementation of usage-based billing for web-based assets thanks to our position as a proxy layer between buyers and sellers. As shown below, with Cloudflare supporting usage-based billing, the evidence of payment can move into the request itself, and the payment validation and the request paths merge.
image
And here’s the benefit to you: the metering, the payment exchange, and the settlement move off your origin. What stays with you is what matters — your rules, your prices, and your revenue. You will not need to onboard the buyer or stand up a billing system. You will write a rule and agentic buyers will pay for what they use.
A refresher on x402
Last year on Content Independence Day, we gave site owners one-click control over which AI crawlers could reach their content, and with Pay Per Crawl we let them charge crawlers for it. The Monetization Gateway is the next step: instead of only charging crawlers for content, you will be able to charge any caller for any resource, from an API to data to an MCP tool call, and you will not have to build the payment machinery yourself.
x402 is an open protocol that makes it possible to pay over HTTP, named for the 402 status code it finally puts to use. The x402 exchange is simple: a client requests a payment-gated resource. Instead of serving it, the server responds with 402 Payment Required and a small payload that states the price, the accepted asset, and where to pay. The client pays and repeats the request with proof of payment attached. A facilitator verifies, and the server returns the resource. It all happens inside ordinary HTTP requests and responses, with no redirect to a checkout page and no separate payment API to call. Settlement happens peer-to-peer, so any funds that a buyer sends to a seller are directly deposited to the seller’s wallet. We are designing the Monetization Gateway to keep payment overhead low and are aiming for sub-second payment settlement.
image
x402 Payment Flow: AI Agent ↔ APIServer ↔ Blockchain, Source: x402 Readme on GitHub
Two properties make x402 a good fit for machine payments. The payment amounts can be small, down to fractions of a cent, because the protocol adds almost no overhead. And the buyer needs no account with the seller, because the payment itself is the credential. x402 is rail agnostic, but it is a natural fit for stablecoins, which can settle in under a second for a fraction of a cent with zero chargebacks.
What the Monetization Gateway does
The Monetization Gateway will provide a flexible payment rules API that will allow you to express exactly when you want a caller to pay to access your digital resources.
image
Here’s how it will work. Tokens, APIs, MCP tool calls, and data already flow through that path. You will decide, as precisely as you want, which of that traffic has to pay. And you will be able to enforce your decisions by writing expressions, similar to expressions that you already write for other Cloudflare rules, in a simple, dedicated product API. The Monetization Gateway will scale with Cloudflare’s global network across 330+ cities, which means that the x402 handshake will occur in close proximity to your buyer. This will reduce request latency and protect your origin.
A few examples of planned capabilities:
Charge for specific REST verbs: Require payment on calls to a specific route, for example $0.01 for every GET or POST request to /api/premium/*.
Variable pricing: Charge variable amounts for tasks of varying complexity, for example, image generation might charge any amount up to $2, depending on the compute used.
Charge only unauthenticated callers: Intercept HTTP 401 "Unauthorized" responses from your origin and return 402 "Payment Required" instead with pricing and payment instructions.
When a request matches, the Monetization Gateway will verify payment before letting it through. You will be able to set these rules in the dashboard, or manage them as code through the Cloudflare API and Terraform, so a paid endpoint is just another part of your infrastructure config.
The Monetization Gateway will initially allow users to require buyers to pay for services and resources in stablecoins. Sellers will be able to use the stablecoins they accumulate for their own transactions or redeem the stablecoins for equivalent fiat currency in their bank account. Using the Monetization Gateway offers a way to increase the addressable market for your products. With the Gateway, agents can request your resource, be told the price, pay, and get the response. No signup, no API key, no prior relationship required. You will decide how much you need to know about that buyer, and you will have the flexibility to require agents to authenticate with Web Bot Auth and apply usage-based pricing against accounts they already hold.
Where we see this going
The Monetization Gateway will turn the request into a payment and give Cloudflare customers new revenue opportunities, but where this goes is far bigger.
An agent is software that acts autonomously on a user’s behalf, and agents are starting to act on their own. Soon they will carry wallets and buy what they need without a person in the loop: a dataset, an API call, a tool, a block of compute. Some of those resources will be free, and some will require proof of who the agent is and who it acts for, through verified agent identity. Many will require both an identity and a payment, and Cloudflare is one of the few places that will be able to settle all of it inside a single request, by verifying the agent, applying the rule, and checking the payment before the origin ever sees the call. The agent becomes the primary buyer on the Internet, and the request becomes the transaction.
There is an enormous amount of value moving across the Internet today that goes unmonetized or undermonetized, not because no one would pay for it, but because the tools to charge for it have never existed. Every useful API call, every answer, every tool invocation an agent makes has value, and almost none of it is paid for today. That is the opportunity in front of us, and it is what the Monetization Gateway will unlock.
This is what we are building toward: an agent-first Internet with Internet-scale settlement built in. Where the people who make something worth paying for get paid by the software that uses it, automatically. And where the smallest new API can reach the same buyers, on the same terms, as the largest company on the web, and the independent creator is paid by the large language models that use their work. That is the next business model of the Internet, and we are building to power it.
Sign up for our waitlist
The Monetization Gateway waitlist is open now for Cloudflare customers. If you’re interested in monetizing your web page, dataset, API, or MCP tool with usage-based pricing, please join our early access list.
image
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み