{"question":"Our site runs on CloudFront and we'd like AI crawlers and agents to pay per request instead of blocking them. How does AWS WAF's AI traffic monetization work, what does the bot see, when does money actually move, and how do we avoid sending the payment demand to human visitors?","slug":"how-does-aws-waf-ai-traffic-monetization-charge-ai-bots-with-http-402-and-when-is-the-bot-charged","url":"https://www.rightshold.com/answers/how-does-aws-waf-ai-traffic-monetization-charge-ai-bots-with-http-402-and-when-is-the-bot-charged","short_answer":"AWS WAF launched AI traffic monetization, with a new Monetize rule action, on June 15, 2026. When a Monetize rule matches a request on a CloudFront distribution and the request carries no valid payment, AWS WAF answers with an HTTP 402 Payment Required in the x402 format: a per-request price in USDC, accepted networks (Base, Solana), your payTo address, a timeout and the payment scheme. An x402-capable agent signs a payment authorization and resends the request with a payment-signature header. AWS WAF verifies it, fetches your content, and only if your origin returns a 2xx settles the payment through Coinbase Developer Platform's x402 facilitator before serving the response; a 4xx or 5xx from your origin means no charge. Since November 5, 2026 you can also be paid out through a connected Stripe account instead of a crypto wallet. Browsers can't complete the 402, so AWS says to apply Monetize only to traffic Bot Control labels as a bot.","checklist":["Confirm the site is served through a CloudFront distribution with an AWS WAF web ACL; the Monetize action is only available there.","Choose how you're paid: a USDC wallet on Base or Solana (prices from 0.001 USDC per request) or a connected Stripe account (0.01 to 999,999.99 USDC, production only).","Add a MonetizationConfig to the web ACL with CurrencyMode TEST and test networks (Base Sepolia, Solana Devnet) first, using only non-production traffic.","Turn on Bot Control and scope every Monetize rule to bot labels, so human visitors never get a 402 they can't complete.","Price by tier with PriceMultiplier (1 to 100 times the base price): for example Allow verified AI search crawlers, Monetize known agents, Monetize unverified agents at a higher multiplier, or Block training crawlers.","Publish your usage terms separately, for example an RSL license referenced in robots.txt or a Link header, because the 402 tells agents the price, not what they may do with the content.","Switch CurrencyMode to REAL, then watch the revenue dashboard, settlement records and the MonetizeRequests metrics."],"sections":[{"heading":"What the AI bot sees and when it pays","points":["AWS's 'How AI traffic monetization works' page describes the lifecycle. AWS WAF evaluates rules in priority order; if a Monetize rule matches and the request has no valid payment authorization, it returns an HTTP 402 'Payment Required Challenge' with the per-request price in USDC, the accepted networks (Base, Solana), your wallet address (payTo), a maximum timeout and the payment scheme. The client signs a payment authorization with its wallet key or a server wallet API and resends the original request with a payment-signature header.","AWS WAF then verifies the payment credentials in the request path. If verification doesn't succeed, the client gets a 402 and no content. If it does, AWS WAF fetches the content; when the origin returns a 2xx, it settles the payment on-chain through Coinbase Developer Platform's x402 facilitator and only then serves the content, with a payment-response header carrying the settlement confirmation. If the origin returns a 4xx or 5xx, settlement is skipped and the client isn't charged; if settlement doesn't go through, the client gets a 402 and no content.","Payment authorizations are single-use. AWS says the x402 payment-identifier extension lets a client retry for up to 15 minutes without paying twice, if the client uses it; reusing a payment header without one just produces a new 402. AWS also warns that paid requests take several seconds longer because of verification and on-chain settlement, and that high payment volumes can be throttled."]},{"heading":"How pricing and payouts work","points":["You set a MonetizationConfig on the web ACL. With self-managed wallets (CryptoConfig) you give a wallet address and a base price per network, as a decimal string with up to 3 decimal places and a minimum of 0.001 USDC. Each Monetize rule can multiply the base price with PriceMultiplier, an integer from 1 to 100. Test mode (CurrencyMode TEST) runs the full flow on Base Sepolia and Solana Devnet with test funds.","AWS's announcement of November 5, 2026 added payouts through Stripe, connected through Stripe Connect, so revenue settles in local currency to your Stripe balance. The developer guide says you create the connected account in the AWS Billing and Cost Management console and reference it by ARN in ConnectedAccountConfigs, and that connected-account prices run from 0.01 to 999,999.99 USDC with up to 2 decimal places (no sub-cent prices), test mode isn't supported, you can configure one connected account, and a chain can be used by either your own wallet or the connected account, not both.","AWS says it is not a party to or in the flow of funds for these payments, that settlement is provided by Coinbase's x402 facilitator under Coinbase's terms, and that AI traffic monetization costs nothing beyond standard AWS WAF pricing (plus Stripe fees for Stripe payouts). Revenue analytics show totals, verified versus unverified revenue, top bots and paths, and individual settlement records with payer address and blockchain transaction ID."]},{"heading":"Keeping humans and search crawlers out of the paywall","points":["AWS's pricing page says a browser can't read or complete the x402 flow, so a Monetize rule effectively blocks any human it matches. Its example scopes Monetize to requests with the Bot Control label awswaf:managed:aws:bot-control:bot, so people pass through to your other rules.","Each verification tier can get its own action: Monetize, Allow (for example verified search crawlers under a referral agreement), Block, Count, CAPTCHA or Challenge. AWS's June 15, 2026 blog post defines verified as identity confirmed by a Web Bot Auth Ed25519 signature or by a documented IP range with known user-agents and domains, and unverified as recognised by user-agent, fingerprinting and IP reputation without cryptographic confirmation.","AWS cautions that its bot classification is probabilistic and might not correctly identify or categorize all bot traffic, and recommends test mode before live monetization. It also says the 402 conveys the price, not license terms, and suggests RSL in robots.txt, an HTTP Link header via a CloudFront response header policy, or a link element; the 402 challenge itself won't carry that Link header."]}],"checks":[],"ask_rightshold":{"start":"https://www.rightshold.com/start?ref=seo","mcp_endpoint":"https://www.rightshold.com/mcp","ask":"We put an AWS WAF Monetize rule on /archive/ today: bot traffic only (Bot Control label), base price 0.002 USDC on Base, verified AI search crawlers allowed free, unverified agents at PriceMultiplier 3, tested end to end in TEST mode first. Record what we changed and when.","mcp_call":{"tool":"record_action","arguments":{"action_type":"security.config_change","outcome":"success","occurred_at":"2026-11-25T14:00:00Z","client_event_id":"waf-monetize:archive-2026-11-25","summary":"AWS WAF Monetize rule on /archive/ (CloudFront web ACL): scoped to awswaf:managed:aws:bot-control:bot, base price 0.002 USDC on BASE, verified AI search crawlers Allow, unverified agents PriceMultiplier 3; validated in CurrencyMode TEST before switching to REAL","action_sha256":"<sha256 of the exported web ACL JSON and MonetizationConfig>"}},"also":["Needs your API key (or accept_terms:true once to open a free account; the key comes back once). It returns a ledger-committed receipt of what you submitted and when, kept outside your AWS account.","It proves the entry was recorded, not that any bot paid or that AWS WAF applied the rule. It doesn't read your web ACL or settlement records; the hash ties the receipt to the exact configuration you exported."],"scope":"Rightshold isn't affiliated with Amazon Web Services, Coinbase or Stripe and can't see your web ACL, payments or logs. Details are from AWS's What's New posts of June 15, 2026 and November 5, 2026, the AWS News Blog launch post of June 15, 2026 and the AWS WAF Developer Guide pages on AI traffic monetization, all read November 25, 2026. Prices, networks and limits can change; check AWS's current documentation before relying on them. Not legal or tax advice."},"sources":[{"title":"AWS What's New: AWS WAF announces AI traffic monetization (June 15, 2026)","url":"https://aws.amazon.com/about-aws/whats-new/2026/06/aws-waf-ai-traffic-monetization/"},{"title":"AWS What's New: AWS WAF AI traffic monetization now supports fiat payouts through Stripe (November 5, 2026)","url":"https://aws.amazon.com/about-aws/whats-new/2026/11/aws-waf-stripe-fiat-payouts/"},{"title":"AWS News Blog: AWS WAF adds AI traffic monetization capability (June 15, 2026)","url":"https://aws.amazon.com/blogs/aws/aws-waf-adds-ai-traffic-monetization-capability-to-help-content-owners-charge-ai-bots-for-content-access/"},{"title":"AWS WAF Developer Guide: How AI traffic monetization works","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-how-it-works.html"},{"title":"AWS WAF Developer Guide: Getting started with AI traffic monetization","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-getting-started.html"},{"title":"AWS WAF Developer Guide: Pricing configuration","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-pricing.html"},{"title":"AWS WAF Developer Guide: Payment networks and settlement","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-payment.html"},{"title":"AWS WAF Developer Guide: Communicating license terms to AI agents","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-license-terms.html"},{"title":"AWS WAF Developer Guide: Revenue analytics","url":"https://docs.aws.amazon.com/waf/latest/developerguide/waf-ai-traffic-monetization-analytics.html"}],"related":[{"title":"Charge AI crawlers per request with HTTP 402","url":"https://www.rightshold.com/answers/how-to-charge-ai-crawlers-per-request-with-http-402-without-blocking-search-crawlers"},{"title":"Read an x402 Payment Required response as a price","url":"https://www.rightshold.com/answers/how-to-read-an-x402-payment-required-response-as-a-price"},{"title":"Can you get a refund on an x402 payment?","url":"https://www.rightshold.com/answers/can-you-get-a-refund-on-an-x402-payment-and-which-x402-schemes-allow-one"},{"title":"What is RSL (Really Simple Licensing)?","url":"https://www.rightshold.com/answers/what-is-rsl-really-simple-licensing-and-how-do-you-add-a-license-line-to-robots-txt"}],"computed_from":"Curated guidance; license verdicts computed from Rightshold's license profiles at render time. Not legal advice.","updated":"2026-11-25"}