Skip to main content

GPTBot Crawled My Free Side Project 40,000 Times in 12 Hours

How I found out where my free-plan bandwidth was going, the $200 button I almost clicked, and the free fix.

A side project, suddenly busy

Communalists is a free side project of mine. It’s a Next.js site in four languages, running on Vercel’s free Hobby plan. Its sitemap lists about 4,060 URLs: 650 organization pages and 282 dictionary words, each in four languages.

It doesn’t get much traffic. So when I opened the Vercel Usage page and saw 11.67 GB of Fast Origin Transfer in 30 days, something was off.

The daily bars told the story. Close to zero until around November 26, then climbing, up to about 4.4 GB on December 4 alone.

Vercel Usage page, Fast Origin Transfer for the last 30 days (Nov 4 to Dec 4). The daily bars sit near zero until about Nov 26, then grow: about 2.6 GB on Nov 29, and about 4.4 GB on Dec 4, the tallest bar. Totals: 11.67 GB outgoing, 693.29 MB incoming.
Screenshot: close to zero, then 4.4 GB in a day.Full size: Fast Origin Transfer, last 30 days (opens in a new tab)

The catch: the free plan’s Usage page doesn’t break usage down by page. It shows the total, not the culprit.

Tracking it down at 2 am

It was about 2 am, and I was going back and forth on Discord with my AI assistant. I clicked around the Vercel dashboard and sent screenshots. It read them and told me where to look next.

First stop: Observability, last 12 hours. CDN requests sat near zero, then jumped around 8:15 pm on December 3 to a steady 400 to 600 per interval. Compute rose right alongside. About 45,000 requests total.

Vercel Observability, CDN Requests over the last 12 hours. The line sits near zero for the first half, then jumps to a steady band between about 400 and 700 requests per interval until now.Vercel Observability, Compute over the last 12 hours: 2.09 GB-hours consumed. The line is near zero, then rises at the same moment as the requests and stays up.
Screenshot: flat, then a wall, starting at 8:15 pm.Full size: CDN Requests (opens in a new tab)Full size: Compute (opens in a new tab)

A steady, flat line like that doesn’t look like people. People come in waves. This looked like something working through a list.

Next: CDN Requests, grouped by bot name.

CDN requests by bot, last 12 hoursFrom Vercel’s Observability, grouped by bot name. Vercel rounds the top two to the nearest thousand. Bars are to scale.

89%of all requests came from GPTBot

CDN requests by bot, last 12 hours
BotRequests
GPTBotOpenAI40,000
Amazonbot2,000
AhrefsBot561
PetalBot117
GooglebotGoogle Search107
DuckAssistBot45
Bingbot10
Baiduspider6
Applebot6
PerplexityBot4

There it was. GPTBot, about 40,000 requests, roughly 89% of everything. With about 4,060 URLs, that’s around 10 visits per page in 12 hours.

GPTBot is OpenAI’s crawler. Vercel describes it as one that “crawls web content to improve OpenAI’s generative AI models and ChatGPT; respects robots.txt directives.”

Vercel Bot Management page for gptbot, marked Verified. Description: Crawls web content to improve OpenAI’s generative AI models and ChatGPT; respects robots.txt directives to exclude sites from training data. Below it, one user agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.4; +https://openai.com/gptbot), with 39.9k requests in the past day.
Screenshot: GPTBot’s page in Vercel, with its description and user agent.Full size: GPTBot details (opens in a new tab)

Why it cost so much

The crawler is only half of it. My pages were heavy: about 280 KB each.

What was inside one pageApproximate sizes. Each row is part of the row above it.
  • The whole pageabout 280 KB
  • Data Next.js sends to make it interactiveabout 237 KB
  • Translation text for the whole siteabout 108 KB

About 237 KB of each page is the data Next.js sends along to make the page interactive, and about 108 KB of that was translation text for the whole site, shipped with every single page.

Heavy pages times 4,060 URLs times 10 visits adds up fast. That one’s on me, not the bot.

Don’t click the $200 button

On GPTBot’s detail page, Vercel offers Log or Deny. I opened the Deny dropdown and got an upsell for “Priority projects” at $200 a month, charged immediately.

Heads up

You don’t need to pay to block a bot. The free plan already has the tools.

Vercel dialog titled Priority projects, Beta. Bot firewall rules are available for Priority projects. Left: Included, Free, the current plan, with Bot Protection, Automated DDoS Mitigation, Web Application Firewall (custom rules and IP blocking), Attack Challenge Mode and Rate Limiting. Right: Priority, $200 a month, with an Upgrade project to Priority button. The fine print says upgrading adds $200 a month and the card is charged $200 immediately.
Screenshot: the Priority projects upsell behind the bot’s Deny button.Full size: Priority projects upsell (opens in a new tab)

You don’t need it. The free plan already includes:

  • Bot Protection (managed rules for AI bots)
  • Custom firewall rules
  • IP blocking
  • DDoS protection
  • Attack Challenge Mode
  • Rate limiting

The free fix (five minutes)

  1. Open Firewall. In your Vercel project, open Firewall.

  2. Add a custom rule. If User Agent contains GPTBot, then Deny.

  3. Click Publish.

    You don’t need the “persistent action” option.

    Vercel firewall rule menu, Add Persistent Action, open with options 1 minute, 5 minutes, 15 minutes, 30 minutes and 1 hour.
    Screenshot: the Add Persistent Action menu. You can leave this off.Full size: Add Persistent Action menu (opens in a new tab)
  4. Update robots.txt.

    Add this to your robots.txt, so the crawler is asked politely too:

    robots.txt

    User-agent: GPTBot
    Disallow: /
  5. Check back a day later. Open Observability and make sure the line dropped.

Want to stay in ChatGPT search? OpenAI uses a separate crawler for that, called OAI-SearchBot. Blocking GPTBot doesn’t remove your site from ChatGPT search.

Did it work?

Within minutes. In GPTBot’s last 15 minutes, its requests switched from served (2XX) to denied (4XX) the moment the rule went live, and the data sent to it dropped to zero.

Illustration: what the firewall rule changed, acted out.
Vercel chart of GPTBot requests over the last 15 minutes, 1.7K total. For the first few minutes the requests are 2XX (served, blue). Then they switch to 4XX (denied, amber) at about the same rate, 15 to 20 per interval, until now.Vercel chart of Fast Data Transfer to GPTBot over the same 15 minutes: 17 MB outgoing. It runs around 0.5 to 1.3 MB per interval for the first few minutes, then drops to 0 B and stays flat.
Screenshot: GPTBot’s last 15 minutes. Blue is served, amber is denied.Full size: Requests (opens in a new tab)Full size: Fast Data Transfer (opens in a new tab)

The lasting fix: lighter pages

Blocking one bot treats the symptom. The next crawler will find the same heavy pages.

The real fix is to send each page only the translations it needs, not the whole site’s. That cuts every page’s weight, for every visitor, bot or human. That change is live now: a dictionary page went from about 253 KB of HTML to about 100 KB.

Is this even allowed?

Short version, and I’m not a lawyer, so this isn’t legal advice:

  • Crawling public pages is generally legal in the US. In hiQ Labs v. LinkedIn, a federal appeals court said scraping publicly available pages likely doesn’t break the main US anti-hacking law.
  • Training AI on what’s crawled is a separate, open question. It’s being argued in court right now, for example in The New York Times v. OpenAI.
  • robots.txt is voluntary. It’s a request, not a lock. GPTBot says it follows it.
  • No law sets a crawl rate. How hard a bot hits your site is up to the bot, and to your firewall.

So I’m not mad at anyone. It just pays to know who’s visiting, and to have the free tools turned on.

After

Before the rule

12 hours, Dec 3–4

CDN requests
~45,000
from GPTBot
~40,000
Fast Origin Transfer, peak day
~4.4 GB

After the rule

Firewall charts, plus the lighter pages

what GPTBot gets now
4XX
sent to GPTBot once the rule was on
0 B
lighter pages, for everyone
~60%

GPTBot still knocks, but it gets a 4XX and no data. And because every page is lighter now, the next crawler costs far less too.

If your free plan spikes

  • Check Observability and group CDN requests by bot name. The answer is often right there.
  • Block what you don’t want with a free custom firewall rule, plus robots.txt.
  • Skip the paid upsell unless you truly need it.
  • Then make your pages lighter, because the next bot is already on its way.