← Back to articles

GEO and API Latency: Why AI Ignores Your Slow Pages

Updated on · AI Visibility

API latency and GEO (Generative Engine Optimization) refer to the effect of your server and endpoint response times on the likelihood that an AI answer engine retrieves, reads and then cites your content. A server that responds slowly, times out or returns intermittent errors is more often skipped during crawling or real-time retrieval. This factor is distinct from Core Web Vitals, which measure a human visitor's experience in their browser.

What is server-side latency, and how does it differ from Core Web Vitals?

Server-side latency is the delay between receiving an HTTP request and the first byte of the response (TTFB, Time To First Byte), plus the time to generate the page or JSON response, and any calls to a database or third-party service. Core Web Vitals, by contrast, measure what a user perceives on their screen: loading of the main content (LCP), responsiveness (INP) and visual stability (CLS). A page can score well on these metrics thanks to a browser cache or a CDN, while still being slow for a bot that has no such cache and sends a fresh request.

The distinction matters because AI indexing and retrieval bots do not always execute JavaScript, do not keep a session and do not necessarily reuse your CDN caches. They therefore see your server as it is in the worst-case generation scenario, not as it appears to a returning visitor.

How do timeouts and errors affect inclusion in AI answers?

Answer engines operate in two modes that must be distinguished. The first is training and prior indexing, where crawlers traverse the web at scale and store copies of pages. The second is real-time retrieval, where, to answer a specific question, the system launches a search, opens a few pages and extracts passages before generating its answer. In this second mode, time is constrained: if the page does not respond within the time window set by the pipeline, it is abandoned in favor of another source that did respond.

The concrete effects are as follows:

  • Timeout: the request is cut off before the content arrives. The page is not used for that answer.
  • 5xx or 429 errors: an overloaded server or one that rate-limits returns an error. A crawler may retry later, but the retrieval window for a user query is often too short to wait.
  • Partial responses: truncated HTML, or a page whose main content only appears after several API calls, gives the model poor or incoherent text.
  • Instability: a site that responds in 300 ms half the time and in 6 s the rest is often treated as unreliable, because the system cannot predict its behavior.

We should be honest on this point: no AI engine operator publishes an official acceptable latency threshold, nor an exact weighting of latency in its ranking. The values encountered in practice come from internal tests and observations, and they vary by engine and over time. The right approach is therefore to aim for a short and stable server response time, without chasing a magic number.

Which scraping and API availability delays should you monitor?

Scraping, that is, the automated extraction of content, is subject to several bottlenecks: your origin's response speed, your firewall and CDN rules, and the rate limits you impose on bots. A firewall that detects an unknown User-Agent and returns a JavaScript challenge or a 403 code makes the page invisible to the bot, even if it is perfectly fast for a browser.

Take the hypothetical case of a fictional consulting firm that publishes expert guides on its site. Its articles display in 1.2 seconds in a browser, thanks to a page cache. But the CDN configuration only caches requests with no session cookies, and each article page is generated on every visit by a call to an overloaded database, which takes several seconds on average when traffic increases. A manual test from a browser reveals nothing; a test with an HTTP client without cache, from a datacenter IP address, shows a highly variable TTFB. This is exactly the type of problem that GEO measurements must detect.

How do you optimize for AI bots without penalizing browsers?

The guiding principle: serve all clients an identical, fast and complete version of the content, rather than creating a special version for bots. Cloaking, which consists of showing different content to robots, is a risky practice that can lead to penalties, and it is not necessary.

What we recommend, and why:

  1. Render the main content server-side (SSR) or via static generation. A bot that does not execute JavaScript must receive the text in the initial HTML. This is the most cost-effective fix for inclusion in answers.
  2. Cache public pages at the CDN level, with explicit Cache-Control headers (for example s-maxage for editorial pages). This way, a bot's fresh request does not always reach the database.
  3. Separate heavy endpoints. If a page depends on an internal API to display its data, precompute frequent responses rather than generating them on demand.
  4. Do not accidentally block legitimate crawlers. Check your robots.txt and your WAF configuration. AI bots present themselves with User-Agents documented by their publishers; allow those you want to see cite you, and limit them only if you have a contractual or technical reason.
  5. Document your crawl policy. A clear file on access rules and reasonable rate limits prevents your firewall from making decisions on your behalf.

Six-step diagnostic checklist

  1. Measure the TTFB of your 20 most important pages with an HTTP client without cache, from several regions.
  2. Record the 5xx and 429 error rate in your server logs, filtering for known bot User-Agents.
  3. Verify that the main text of each page appears in the raw HTML, without JavaScript execution (view the source code or send a curl request).
  4. Test access to your pages from a datacenter IP address to detect WAF blocking.
  5. Compare the content served to the browser and to the HTTP client: both must be identical.
  6. Re-run these measurements after every cache or deployment change, and keep a history.

Common mistakes to avoid

  • Optimizing only the Lighthouse score. A good score guarantees nothing for a bot that does not use your cache or your JavaScript.
  • Creating a stripped-down "bot" version. Besides the cloaking risk, it is a source of divergences that are hard to maintain.
  • Blocking all unknown User-Agents. This sometimes includes useful bots, and overly broad rules cause false positives.
  • Ignoring variability. An average of 800 ms can mask spikes of several seconds during peak hours. Monitor high percentiles, not just the average.
  • Moving content into asynchronous API calls. If the text only appears after a client-side call, a bot without JavaScript execution does not see it.

What to remember for your site

Server latency is not a single factor that makes or breaks your visibility in AI engines, but it determines access to your content. For an editorial or service site, the priority order we recommend is: make content accessible without JavaScript, stabilize response time through caching, then monitor errors and percentiles. This sequence costs little and fixes most cases where a page that is nonetheless relevant remains absent from generated answers.

Frequently asked questions

Does my site's latency really influence ChatGPT or Perplexity answers?

Yes, indirectly. When an engine retrieves pages in real time to answer, a page that times out or returns an error is often skipped in favor of another source. However, no engine publishes a precise threshold or an official weighting.

What is the difference between GEO and Core Web Vitals?

Core Web Vitals measure a human visitor's experience in their browser (loading, responsiveness, visual stability). GEO concerns the ability of AI answer engines to access and read your content, notably through server response time, HTTP errors and the presence of text in the raw HTML.

Should I serve a different version of my pages to AI bots?

No. Cloaking, which consists of showing different content to robots, is risky and unnecessary. The best practice is to serve the same content to everyone, quickly, by rendering the text server-side and caching public pages.

How can I tell if my site is blocking AI bots?

Check your robots.txt file, review server logs for 403 or 429 codes linked to bot User-Agents, and test access to your pages with an HTTP request without cache from a datacenter IP address. A WAF can block bots without your knowledge.

Is your brand visible?

Find out in a few minutes whether ChatGPT, Claude, Perplexity and Grok recommend your brand — or your competitors instead.

Analyze my AI positioning