How we built ChatGPT’s novel ad stack for user trust and relevance
In an October 21, 2026 engineering post, OpenAI's Ritendra Datta and Karthik Gopalratnam explain that ChatGPT's ad system keeps a stateful session across turns, since intent takes shape gradually. A post-trained LLM orchestrator calls tools for retrieval, filtering and scoring, then hands candidates to a separate auction tool that sets price and picks the winner.
Ad selection runs in its own service, using different models and code, alongside answer generation, so a slow or failed ads system cannot delay ChatGPT, and returning no ad is a normal outcome. An ad that misses the finished response is dropped, while one that arrives in time appears below the answer, labeled sponsored, with a neutral model-written preamble; a stronger model later evaluates results and trains smaller models.
So if the ads serving system is unavailable or slow, ChatGPT’s organic response continues unaffected. This means the ads system can’t take down or delay the ChatGPT product.
Saved . A shortened excerpt from the official blog; the original publisher retains authorship.