This article was drafted with help from an AI assistant. We ran the checks ourselves on November 23, 2026, and every number below comes from them.
If you are building an agent that compares prices, whether that is model API costs, cloud plans or a shopping assistant, at some point it has to read a pricing page. There are a few common ways to do that: a plain HTTP request, the same request pretending to be Chrome, or a real headless browser. Most teams pick one and move on.
We wanted to know how much the choice changes what the agent actually sees. So we took 39 public pages that show prices without logging in and fetched each one all three ways.
How we checked
The list had two halves:
- 20 AI and developer pricing pages: OpenAI, Anthropic, Google Gemini, Mistral, Together AI, Groq, Perplexity, Replicate, Hugging Face, Pinecone, Vercel, Supabase, Cloudflare, Stripe, GitHub, Cursor, Neon, Fly.io, Render and Twilio SMS.
- 19 retail, travel and health deals pages: Walgreens, WebMDRx, Cigna, Teladoc, Hilton, Marriott, American Airlines, Southwest, JetBlue, Booking.com, Kayak, Agoda, Best Buy, Target, Walmart, Home Depot, eBay, Amazon and Etsy.
Each page was fetched three ways, one request at a time, from the same machine:
- Plain fetch, honest user agent. A simple HTTP request that names itself as a bot. We counted words in the HTML after removing scripts and styles.
- Plain fetch, Chrome user agent. The same request, claiming to be desktop Chrome.
- Headless Chrome. A real browser with its default headless user agent, 16 seconds to load, then the visible text of the page.
For each result we recorded the HTTP status, the word count and every dollar amount in the text.
Limits first, because they matter here. This is one run from one network, and that network is in India, so a few sites showed us a country picker or local content. A dollar amount in the text is not the same as a verified price at checkout. And bot protection often treats verified AI crawlers differently from an unknown checker like ours. This is a snapshot, not a benchmark.
1. Pretending to be Chrome never helped
The Chrome user agent changed the result on 3 of 39 pages. All three got worse:
- Walmart deals: the honest request got 1,322 words and 48 prices. The fake Chrome request and the real headless browser both got a “Robot or human?” page.
- Etsy sale: 5,406 words for the honest request, 1,786 for fake Chrome, and a 403 for headless Chrome.
- Best Buy: the honest request got a page (a country picker, since we were outside the US); the fake Chrome request failed to connect.
On the other 36 pages it made no difference to the status or the prices found. If your agent spoofs a browser user agent to get past bot walls, our small sample says it is more likely to trip them. A request that looks like Chrome but does not behave like Chrome is exactly what these systems look for.
2. A real browser fixes some pages and loses others
Headless Chrome read 35 of the 39 pages. The plain honest fetch read 33. But they were not the same 33.
Only the browser could read:
- Google’s Gemini API pricing: 11 words in the raw HTML, then 6,738 words and 84 prices once the page ran its JavaScript.
- American Airlines special offers: a 403 for both plain requests, 199 words in the browser.
- Southwest’s low fare calendar, JetBlue’s fare finder and Agoda’s deals: 1 to 10 words in the raw HTML, a real page in the browser.
Only the plain fetch could read:
- OpenAI’s API pricing: the plain request followed a redirect to OpenAI’s business pricing page and got 2,704 words. Headless Chrome got a Cloudflare “Just a moment…” page.
- Walmart and Etsy, as above.
So a browser is not a strict upgrade. An agent that only runs headless Chrome would have lost OpenAI’s pricing, which is a bad page to lose if you are comparing model costs.
3. The visible page hides most of the prices
This was the finding we did not expect. On several AI and dev pricing pages, the raw HTML contained far more dollar amounts than the browser showed:
- Anthropic: 34 distinct prices in the raw HTML, 5 in the browser’s visible text. The browser showed the Claude plans ($17, $20, $100, $200). The API token prices were only in the raw HTML, behind a tab a person has to click.
- Vercel: 40 in the raw HTML, 2 visible ($0 and $20). The usage rates sit in collapsed sections.
- Pinecone: 26 against 4.
- Fly.io: 56 against 18.
- Hugging Face: 99 against 56.
The reason is simple. A browser agent that reads the visible text, or an accessibility tree, only gets what is on screen. Content in an unopened tab or a collapsed accordion is in the page but not visible, so it is not in the text. If the agent does not click, it does not see the API prices at all.
The plain fetch has the opposite problem. It gets every price on the page, but it loses which tab each one came from. Monthly and annual prices, or prices for different regions or plans, end up in one flat list. An agent could quote the annual price as the monthly one and nothing in the text would warn it.
On 10 of the 20 AI and dev pages, all three methods found exactly the same prices: Mistral, Groq, Perplexity, Replicate, Cloudflare, Stripe, GitHub, Cursor, Neon and Twilio. Those pages put their prices in plain view.
4. Travel deals pages have no prices to find
On the travel deals pages, the method mostly did not matter, because there were no fares or room rates to read. Marriott, Booking.com, Kayak, Agoda, Southwest and JetBlue showed zero dollar amounts in every method. Hilton showed one. The real prices only appear after a search with dates and places.
One detail here: on the hotel offers pages, the plain fetch got more text than the browser showed. Marriott’s offers page had 1,323 words in the raw HTML against 635 visible, and Hilton’s had 708 against 637. American Airlines went the other way: a 403 for the plain request, 199 words in the browser.
If your agent answers travel price questions, a deals page will not give it a price. It needs to run the search, or use an API.
What we would build
If we were writing the fetch layer for a price-reading agent today:
- Start with a plain request that names your agent honestly. It was the most reliable single method in our run, and it is the cheapest.
- Fall back to a headless browser when the page is thin or blocked. Under about 50 words, or a 403 or 429, is a reasonable trigger. That catches JavaScript-only pages like Gemini’s pricing.
- Never spoof the user agent. In our sample it only ever made things worse.
- In the browser, read the DOM, not just the visible text. Pull hidden tab panels and collapsed sections too, and keep the label of the tab or section each price came from.
- Record which method produced each answer. When a number is wrong later, you will want to know whether it came from the raw HTML, the rendered page or a clicked tab.
- For travel, skip the deals pages and go straight to search results or an API.
The short version: there is no single page that “the agent” sees. There is the raw HTML, the rendered page and the visible text, and on a pricing page those can disagree by dozens of numbers.
X1Y1 checks how AI agents read websites. Run on November 23, 2026; one network, one pass per method.