The agentic network: Secure private connectivity for agents
Nikita Cano
Cloudflare
0:04All right. Hello everyone. Thanks for being here. I'm Rovin and this is Will and we are members of our product team helping dream about new business models for the internet. So thanks for joining us today. I'm going to talk to you about how monetization works on the internet and how about some of the business models we're thinking about today. I'm curious here. How many of you think about agents as a first-class buyer of the product that you're building?
0:34Oh, that's a lot. Okay, how many of you have done something about it? Okay, that's excellent. I think 100% of the hands should be up this time next year. And I'm excited about sharing how you can do that and where it's breaking today. So the internet model. monetization models of today were really designed for humans right and they show up in three ways first is ads and ads are designed for humans with attention with eyeballs agents don't have eyeballs or hands so subscriptions um are the second model and subscriptions are really designed for people who are coming back buying repeatedly from your service um and subscriptions work well when you know the user is using your product a decent amount maybe not too much or too little right and so uh when you don't necessarily have that loyalty subscriptions also start to break and free tiers right free tiers are really designed to uh designed around the the laziness of humans humans aren't going to go and create hundreds of thousands of accounts and abuse your pre-tier but agents well they're certainly more persistent and resourceful than all of us in this room.
1:57And when we couple that with what we heard Matthew Prince say in the keynote this morning, bot traffic isn't slowing down. And really over the next five years, we might see it a thousand X higher. And this shows up in your business, right? The cost to serve this traffic is real. Each request requires compute, requires bandwidth, requires storage. and there's no one to pay for it. Your ads were paying for it before. Your subscriptions were paying for it before. But now you're footing the bill.
2:31And so what if we told you there's a way to do more than just allowing or blocking access? What if you relied on something that the internet standards had announced more than 20 years ago? It's called 402. It's a payment required. And it's effectively a way to announce to any visitor that, hey, you must pay to get access. And so here is something that CloudClear is issuing today on behalf of a customer. This customer is apitopdf.com. And they put up a 402 payment required when someone visited without an API key.
3:16I'm gonna show you how you can do it too. It's called the Monetization Gateway. It's a paywall for agents.
3:24And so let's start with, let's try to configure your first rule. And I'm gonna hop into a little bit of a demo. This is a, we're gonna save some time for questions at the end, hopefully, but Will and I are gonna do a demo each and show you what this is all about.
3:43So this is a site. a personal site, and I have a little form here. It says contact. You can write me a nice email. But really what I've been saying is agents have been liking me more than humans have, and I've been getting a lot of emails. And unfortunately, my credit card is on file with the Cloudflare email service, and so I'm having to pay for that. And it's getting a little bit too expensive. So I thought, what if I use monetization gateway. So let me hop over. This is the monetize tab within your Cloudflare dashboard. It's at the account level, and you can see monetization gateway here. And what I'm going to show you is here's my domain, rowan .dev, and I'm going to set up a rule. All of you can do this.
4:33So this rule says a few things. It says, what domain do you want to charge for? What is your wallet address? And so today, you have to bring a wallet that can hold stablecoins. We'll soon be providing you a native primitive that Will's going to talk about more, a native primitive to be able to receive stablecoins and more. But I'll add a wallet address. And then let me show you how the rules and how you can build the rules. So if I go back to that page, the URL here for the contact page is rohan .dev slash contact. me. So I can set up a paywall just for that path. You can decide who you want to charge. You can charge everyone who visits the site, or you can say, I only want to charge people who Cloudflare knows is 100 % a bot. Let's say I want to charge everyone, right?
5:22Even humans.
5:30How is your asset priced? So this depends on how you think about your cost of goods sold. if you have something that has, if your product has variable costs, you probably want to do variable pricing. If your product has fixed costs, you want to charge fixed amounts. For my service, there's a fixed price. Every single time I receive an email, there's an equivalent cost. And so what I'm going to do is I'm going to make this a really, really small amount. I'm going to make it one thousandth of a dollar. Now, this isn't too expensive. So I think people will still send me emails, but hopefully it's just enough that the people who are a little too incessant or want to get in touch with me see a little bit of a roadblock.
6:16Now, there are advanced conditions. You can say what request methods you want to control. You can set up rule while it addresses per rule. You can even start controlling it by country. So maybe if I want to roll this out carefully, I might only restrict this to specific countries where I'm seeing the most. traffic, right? In this case, I actually want to roll this out. I'm pretty confident. I'm going to roll this out everywhere. So I'm going to say, create monetization rules. So the confirmation modal, let's create it. Okay. And we should be good. Let's, let's go back here and I'm going to go to my site again and I'm going to try to contact and I'm getting a payment required. And so now as a human, this might be a little hard to navigate at first, right?
7:02There's not really a way for me to go pay. But to an agent, this makes a lot of sense. There are instructions here. The agent actually receives this response, and they can follow the instructions to pay. And if they pay, they can email me. They can submit that form. So I'm going to show you what actually happens under the hood if we can go back to the slides.
7:29We power all of this with an open protocol called X402. And X402 is something that our friends at Coinbase announced, and we really brought it into the open ecosystem. There's a Linux foundation that backs it. We contribute to it all the time, and we're really proud of what we're building with peers at Visa, MasterCard, Shopify, Google, you name it, they're probably in the foundation. And as soon as the slide comes up, I'll show you.
8:04So I want to show you how the X402 protocol works.
8:11This is a buyer, and the buyer is coming to a site. Let's say we'll go back to my rohan.dev site. The monetization gateway sits in front of my site. Again, it's a paywall for agents.
8:23On your behalf, on... the website's behalf we return a 402 payment required we say hey do you want access you got to pay and the buyer now has the option is this service valuable enough for them if it is they can sign a payment payload they can say yes i'm good for the money please i want to i want to re-access your site so they try again to give this proof of payments um in the payment signature header and then cloudflare does all the heavy lifting for you we do we do the verification we ensure that the response is generated neatly on your side and then finally before returning the response we ensure that the payment actually settles now cloudflare does not sit in the flow of funds here the money moves directly from the buyer to the seller and it moves at internet speed you're not going to wait for three days for it to settle it happens immediately and what's amazing is that you can make this work for any scale of payment proprietary data set that $3,000, charge it.
9:24Like, my silly contact me form, a thousandth of a dollar, charge it, right? Like, your imagination is your opportunity. Once this transaction finalizes, we return the response, the money's in your wallet, everyone's happy. And really, as Matthew Prince said this morning, this is a way for us to make the internet more equitable, for more... services to find new buyers and for us to find new ways to make the internet sustainable in this what I would call a moment of crisis and so now Will's going to show you the stock joke generator which is a wonderful demo so we've talked about the seller side Rohan showed what it's like to become a seller of goods via x402 but you might be wondering what is it like to be a buyer of goods via export two and if you have never made an agentic commerce transaction before if you try this out you will have tried you'll done so for the first time so by the end of this session every single person in the room will have tried out agentic commerce using stable coins using export two right now um what i built was this little stock joke generator um some of the jokes are funny some of the jokes are not very funny um AI humor sometimes needs to be worked on.
10:49But the thing that it will do under the hood is it will call a bunch of other services for us. So let's generate a joke. Let's try NVIDIA. So everyone here, if you'd like, you can try this out yourself too. It's just jokes.papper.me. Feel free to try this out. Follow along. I'm subsidizing it for you. So yeah, feel free. All you have to do. is by default it'll tell you how to pay it'll tell you this joke cost 10 cents and you can copy the instructions for agent we also have this like agent .md file that is very easy for agents to read that tells you how to do the payment flow but not all of us have a stablecoin wallet set up right at this moment that's something that cloud player is working on to make this flow much much easier but right now to make easy for everyone to get started trying out x402 we have this little coupon code so if you type in connect x402 it will run anyway cool if you type in connect x402 it will generate all of these jokes with just 10 cents paid by me instead of 10 cents paid by you and under the hood what we're doing is we're actually accessing all of the apis the service depends on via x402 as well So just now, we've paid 10 cents, sorry, a tenth of a penny to StockTwits.
12:18And this is already transferred to them, and it's so that we can get the stock price. We can see that people are very bullish on NVIDIA based on the StockTwits data. We also then ran a new search via Ceramic. This is also an X402 -enabled site, also running like StockTwits via Cloudflare's monetization gate. gateway and this ceramic service you can see um uh you can check out basically how um it's pulling all of the news for us under the hood um and then it runs through cloudflare's ai gateway also paid for via x402 and in this whole process the end state is that you don't need an api key to try out any of these services literally you tell your agent go find news for me it will find news for you. There's no sign -up flow that you have to bother with.
13:06I literally did not need to even go to the stock twits or ceramic websites necessarily to get this working. I just told my agent to figure it out. I gave it the Cloudflare monetization gateway documentation and it figured it out. So you can see that all of this becomes the end state is a very easy buyer experience. The hard part about this, there's a couple things that are hard. One, is the fact that you need to get stable coins um some people have stable coins some people don't under the hood the way i solved this was just by giving stable coins to people so i loaded this wallet up with ten dollars my agent cannot spend more than ten dollars it's currently spent two dollars um uh and um that allows people who don't have stable coins to just operate on their behalf but The thing that's really nice about this is that as we make it easier to acquire stablecoins, more and more agents will be able to access this flow.
14:10Our job at Cloudflare is we want to give you a massive pool of buyers and a massive pool of sellers. That is our number one priority to make this ecosystem happen using open protocols and open standards. And from there, this allows you to just essentially... very easily try out any API. Your agent can try out hundreds. Now, the second thing that's hard is that if your agent is trying out hundreds of APIs, it's making hundreds of transactions. And this, I think, is the future that people aren't ready for. There are people who have been thinking about this for a while, but the future that people aren't ready for is one where every single website under the hood is paying all of its service writers in real time.
14:57You go to web page and it's making three four five payments under the hood we will see payment volumes for x402 for agentic payments multiply 100x 1000x i think because as soon as this becomes mainstream you're not just paying for these jokes some people have paid for these jokes um uh like these are paid for but then under the hood all the services are paid for as well so we should expect massive massive increases in overall transaction volume not just because more agents are buying and selling but because all these backends adopt it too and it creates this a significant significant flow under the hood so happy to chat more about anything related to this yeah okay come back to this yeah the two main open problems if you're wondering what is coming Next, one that we alluded to is discovery.
15:57How does your agent find the stock to its API, the ceramic API, my joke API, if you're looking for jokes? An agent can try out hundreds of APIs, but it needs to know they exist. That's the problem one that we're solving. Problem two is identity for agents. So right now, these buyers, I can see that someone who paid was 0xE748. That doesn't tell me a whole lot about my customer. I don't know anything about their customer profile. We have Cloudflare pay handles that we're working on to allow agents to identify themselves. And then that way you have some better sense of who your customer is if they choose to disclose it. If they choose not to, you have a random string of letters and numbers.
16:42But that is up to them and hopefully they can get better service and you can serve them better with an identity primitive.
16:52so we're looking for you to tell us what you're building right we want all of you to be experimenting with the monetization gateway we want you to tell us all the new and exciting use cases if we go back to the stock twits example right stock twits has enterprise data that they sell to large financial institutions on sentiment analysis for stock trading right it helps these large institutions trade on this information. For the first time, they're actually making these sentiments available to the public on a pay -per -use basis. And they're saying, if you come and access our site without an API key, we will allow you to pay for it with a 402. That's a new business model. And that, you know, it took them some thought. They found something really exciting. And now they're starting to see real transactions flow through.
17:38So really tell us what you're building, get in the arena, try things. And we look forward to hearing from you.
Nikita Cano
Cloudflare
Peter Eckermann
Apate.ai
Dan Carter, Phillip Jones
Cloudflare
Be the first to know when registration opens and the agenda goes live.
--- title: "Monetizing AI agent traffic: Write your first Monetization Gateway rule" url: "https://www.cloudflare.com/connect/2026/session/monetizing-ai-agent-traffic-write-your-first-monetization-gateway-rule" year: 2026 --- # Monetizing AI agent traffic: Write your first Monetization Gateway rule [Watch session](https://www.cloudflare.com/connect/2026/session/monetizing-ai-agent-traffic-write-your-first-monetization-gateway-rule) ## Session details - **Track:** Secure AI - **Topics:** Agentic AI & MCP, Content monetization, Cloudflare product innovations - **Solution areas:** Core Platform, Developer Platform ## About this session The majority of Internet traffic is now driven by AI agents, which means that businesses must learn how to charge AI agents for their consumption. In this session, developers and business strategists will learn how to set up their first monetization rule in the Cloudflare Monetization Gateway, experiment with pricing strategies, and track what agents actually pay for. ## Speakers - [Rohin Lohe](https://www.cloudflare.com/connect/speakers/2457277) — Senior Product Manager, Cloudflare - [Will Papper](https://www.cloudflare.com/connect/speakers/2457283) — Director of Product, Cloudflare ## Transcript [0:04] All right. Hello everyone. Thanks for being here. I'm Rovin and this is Will and we are members of our product team helping dream about new business models for the internet. So thanks for joining us today. I'm going to talk to you about how monetization works on the internet and how about some of the business models we're thinking about today. I'm curious here. How many of you think about agents as a first-class buyer of the product that you're building? [0:34] Oh, that's a lot. Okay, how many of you have done something about it? Okay, that's excellent. I think 100% of the hands should be up this time next year. And I'm excited about sharing how you can do that and where it's breaking today. So the internet model. monetization models of today were really designed for humans right and they show up in three ways first is ads and ads are designed for humans with attention with eyeballs agents don't have eyeballs or hands so subscriptions um are the second model and subscriptions are really designed for people who are coming back buying repeatedly from your service um and subscriptions work well when you know the user is using your product a decent amount maybe not too much or too little right and so uh when you don't necessarily have that loyalty subscriptions also start to break and free tiers right free tiers are really designed to uh designed around the the laziness of humans humans aren't going to go and create hundreds of thousands of accounts and abuse your pre-tier but agents well they're certainly more persistent and resourceful than all of us in this room. [1:57] And when we couple that with what we heard Matthew Prince say in the keynote this morning, bot traffic isn't slowing down. And really over the next five years, we might see it a thousand X higher. And this shows up in your business, right? The cost to serve this traffic is real. Each request requires compute, requires bandwidth, requires storage. and there's no one to pay for it. Your ads were paying for it before. Your subscriptions were paying for it before. But now you're footing the bill. [2:31] And so what if we told you there's a way to do more than just allowing or blocking access? What if you relied on something that the internet standards had announced more than 20 years ago? It's called 402. It's a payment required. And it's effectively a way to announce to any visitor that, hey, you must pay to get access. And so here is something that CloudClear is issuing today on behalf of a customer. This customer is apitopdf.com. And they put up a 402 payment required when someone visited without an API key. [3:16] I'm gonna show you how you can do it too. It's called the Monetization Gateway. It's a paywall for agents. [3:24] And so let's start with, let's try to configure your first rule. And I'm gonna hop into a little bit of a demo. This is a, we're gonna save some time for questions at the end, hopefully, but Will and I are gonna do a demo each and show you what this is all about. [3:43] So this is a site. a personal site, and I have a little form here. It says contact. You can write me a nice email. But really what I've been saying is agents have been liking me more than humans have, and I've been getting a lot of emails. And unfortunately, my credit card is on file with the Cloudflare email service, and so I'm having to pay for that. And it's getting a little bit too expensive. So I thought, what if I use monetization gateway. So let me hop over. This is the monetize tab within your Cloudflare dashboard. It's at the account level, and you can see monetization gateway here. And what I'm going to show you is here's my domain, rowan .dev, and I'm going to set up a rule. All of you can do this. [4:33] So this rule says a few things. It says, what domain do you want to charge for? What is your wallet address? And so today, you have to bring a wallet that can hold stablecoins. We'll soon be providing you a native primitive that Will's going to talk about more, a native primitive to be able to receive stablecoins and more. But I'll add a wallet address. And then let me show you how the rules and how you can build the rules. So if I go back to that page, the URL here for the contact page is rohan .dev slash contact. me. So I can set up a paywall just for that path. You can decide who you want to charge. You can charge everyone who visits the site, or you can say, I only want to charge people who Cloudflare knows is 100 % a bot. Let's say I want to charge everyone, right? [5:22] Even humans. [5:30] How is your asset priced? So this depends on how you think about your cost of goods sold. if you have something that has, if your product has variable costs, you probably want to do variable pricing. If your product has fixed costs, you want to charge fixed amounts. For my service, there's a fixed price. Every single time I receive an email, there's an equivalent cost. And so what I'm going to do is I'm going to make this a really, really small amount. I'm going to make it one thousandth of a dollar. Now, this isn't too expensive. So I think people will still send me emails, but hopefully it's just enough that the people who are a little too incessant or want to get in touch with me see a little bit of a roadblock. [6:16] Now, there are advanced conditions. You can say what request methods you want to control. You can set up rule while it addresses per rule. You can even start controlling it by country. So maybe if I want to roll this out carefully, I might only restrict this to specific countries where I'm seeing the most. traffic, right? In this case, I actually want to roll this out. I'm pretty confident. I'm going to roll this out everywhere. So I'm going to say, create monetization rules. So the confirmation modal, let's create it. Okay. And we should be good. Let's, let's go back here and I'm going to go to my site again and I'm going to try to contact and I'm getting a payment required. And so now as a human, this might be a little hard to navigate at first, right? [7:02] There's not really a way for me to go pay. But to an agent, this makes a lot of sense. There are instructions here. The agent actually receives this response, and they can follow the instructions to pay. And if they pay, they can email me. They can submit that form. So I'm going to show you what actually happens under the hood if we can go back to the slides. [7:29] We power all of this with an open protocol called X402. And X402 is something that our friends at Coinbase announced, and we really brought it into the open ecosystem. There's a Linux foundation that backs it. We contribute to it all the time, and we're really proud of what we're building with peers at Visa, MasterCard, Shopify, Google, you name it, they're probably in the foundation. And as soon as the slide comes up, I'll show you. [8:04] So I want to show you how the X402 protocol works. [8:11] This is a buyer, and the buyer is coming to a site. Let's say we'll go back to my rohan.dev site. The monetization gateway sits in front of my site. Again, it's a paywall for agents. [8:23] On your behalf, on... the website's behalf we return a 402 payment required we say hey do you want access you got to pay and the buyer now has the option is this service valuable enough for them if it is they can sign a payment payload they can say yes i'm good for the money please i want to i want to re-access your site so they try again to give this proof of payments um in the payment signature header and then cloudflare does all the heavy lifting for you we do we do the verification we ensure that the response is generated neatly on your side and then finally before returning the response we ensure that the payment actually settles now cloudflare does not sit in the flow of funds here the money moves directly from the buyer to the seller and it moves at internet speed you're not going to wait for three days for it to settle it happens immediately and what's amazing is that you can make this work for any scale of payment proprietary data set that $3,000, charge it. [9:24] Like, my silly contact me form, a thousandth of a dollar, charge it, right? Like, your imagination is your opportunity. Once this transaction finalizes, we return the response, the money's in your wallet, everyone's happy. And really, as Matthew Prince said this morning, this is a way for us to make the internet more equitable, for more... services to find new buyers and for us to find new ways to make the internet sustainable in this what I would call a moment of crisis and so now Will's going to show you the stock joke generator which is a wonderful demo so we've talked about the seller side Rohan showed what it's like to become a seller of goods via x402 but you might be wondering what is it like to be a buyer of goods via export two and if you have never made an agentic commerce transaction before if you try this out you will have tried you'll done so for the first time so by the end of this session every single person in the room will have tried out agentic commerce using stable coins using export two right now um what i built was this little stock joke generator um some of the jokes are funny some of the jokes are not very funny um AI humor sometimes needs to be worked on. [10:49] But the thing that it will do under the hood is it will call a bunch of other services for us. So let's generate a joke. Let's try NVIDIA. So everyone here, if you'd like, you can try this out yourself too. It's just jokes.papper.me. Feel free to try this out. Follow along. I'm subsidizing it for you. So yeah, feel free. All you have to do. is by default it'll tell you how to pay it'll tell you this joke cost 10 cents and you can copy the instructions for agent we also have this like agent .md file that is very easy for agents to read that tells you how to do the payment flow but not all of us have a stablecoin wallet set up right at this moment that's something that cloud player is working on to make this flow much much easier but right now to make easy for everyone to get started trying out x402 we have this little coupon code so if you type in connect x402 it will run anyway cool if you type in connect x402 it will generate all of these jokes with just 10 cents paid by me instead of 10 cents paid by you and under the hood what we're doing is we're actually accessing all of the apis the service depends on via x402 as well So just now, we've paid 10 cents, sorry, a tenth of a penny to StockTwits. [12:18] And this is already transferred to them, and it's so that we can get the stock price. We can see that people are very bullish on NVIDIA based on the StockTwits data. We also then ran a new search via Ceramic. This is also an X402 -enabled site, also running like StockTwits via Cloudflare's monetization gate. gateway and this ceramic service you can see um uh you can check out basically how um it's pulling all of the news for us under the hood um and then it runs through cloudflare's ai gateway also paid for via x402 and in this whole process the end state is that you don't need an api key to try out any of these services literally you tell your agent go find news for me it will find news for you. There's no sign -up flow that you have to bother with. [13:06] I literally did not need to even go to the stock twits or ceramic websites necessarily to get this working. I just told my agent to figure it out. I gave it the Cloudflare monetization gateway documentation and it figured it out. So you can see that all of this becomes the end state is a very easy buyer experience. The hard part about this, there's a couple things that are hard. One, is the fact that you need to get stable coins um some people have stable coins some people don't under the hood the way i solved this was just by giving stable coins to people so i loaded this wallet up with ten dollars my agent cannot spend more than ten dollars it's currently spent two dollars um uh and um that allows people who don't have stable coins to just operate on their behalf but The thing that's really nice about this is that as we make it easier to acquire stablecoins, more and more agents will be able to access this flow. [14:10] Our job at Cloudflare is we want to give you a massive pool of buyers and a massive pool of sellers. That is our number one priority to make this ecosystem happen using open protocols and open standards. And from there, this allows you to just essentially... very easily try out any API. Your agent can try out hundreds. Now, the second thing that's hard is that if your agent is trying out hundreds of APIs, it's making hundreds of transactions. And this, I think, is the future that people aren't ready for. There are people who have been thinking about this for a while, but the future that people aren't ready for is one where every single website under the hood is paying all of its service writers in real time. [14:57] You go to web page and it's making three four five payments under the hood we will see payment volumes for x402 for agentic payments multiply 100x 1000x i think because as soon as this becomes mainstream you're not just paying for these jokes some people have paid for these jokes um uh like these are paid for but then under the hood all the services are paid for as well so we should expect massive massive increases in overall transaction volume not just because more agents are buying and selling but because all these backends adopt it too and it creates this a significant significant flow under the hood so happy to chat more about anything related to this yeah okay come back to this yeah the two main open problems if you're wondering what is coming Next, one that we alluded to is discovery. [15:57] How does your agent find the stock to its API, the ceramic API, my joke API, if you're looking for jokes? An agent can try out hundreds of APIs, but it needs to know they exist. That's the problem one that we're solving. Problem two is identity for agents. So right now, these buyers, I can see that someone who paid was 0xE748. That doesn't tell me a whole lot about my customer. I don't know anything about their customer profile. We have Cloudflare pay handles that we're working on to allow agents to identify themselves. And then that way you have some better sense of who your customer is if they choose to disclose it. If they choose not to, you have a random string of letters and numbers. [16:42] But that is up to them and hopefully they can get better service and you can serve them better with an identity primitive. [16:52] so we're looking for you to tell us what you're building right we want all of you to be experimenting with the monetization gateway we want you to tell us all the new and exciting use cases if we go back to the stock twits example right stock twits has enterprise data that they sell to large financial institutions on sentiment analysis for stock trading right it helps these large institutions trade on this information. For the first time, they're actually making these sentiments available to the public on a pay -per -use basis. And they're saying, if you come and access our site without an API key, we will allow you to pay for it with a 402. That's a new business model. And that, you know, it took them some thought. They found something really exciting. And now they're starting to see real transactions flow through. [17:38] So really tell us what you're building, get in the arena, try things. And we look forward to hearing from you. ## Related sessions - [The agentic network: Secure private connectivity for agents](https://www.cloudflare.com/connect/2026/session/the-agentic-network-secure-private-connectivity-for-agents) - [Disrupting scam and fraud networks with armies of AI agents on Cloudflare](https://www.cloudflare.com/connect/2026/session/disrupting-scam-and-fraud-networks-with-armies-of-ai-agents-on-cloudflare) - [Cloudflare OS: Automating work with agents connected to your systems](https://www.cloudflare.com/connect/2026/session/cloudflare-os-automating-work-with-agents-connected-to-your-systems) ## More from Connect - [All sessions](https://www.cloudflare.com/connect/) - [Get notified for Connect 2027](https://www.cloudflare.com/connect#2027)