
When ChatGPT feels sluggish, the AI model may not be the cause. Retrieving stored settings and state also takes time. On October 23, OpenAI described how its Habitat storage platform accelerated these reads around the world: The reported median fell from roughly 120 to 10 milliseconds. The improvement combines data placement, caching, and revised service software.
Key takeaways
- OpenAI reports a twelvefold improvement in median Habitat read latency. This measures one part of the infrastructure, rather than ChatGPT’s complete response time.
- Habitat sits between products and data stores; it is not a new language model.
- Placing data closer to where it is accessed and updating caches appropriately can shorten network trips.
- Microsoft’s database documentation explains why distributing data and requests evenly matters for these systems.
Why an AI application needs ordinary databases
In its first Habitat report in September, OpenAI described the platform as a shared access layer for its products. Among other responsibilities, it locates data and authorizes access. Product developers therefore do not need to address the underlying database themselves for every feature. This software differs from the model generating new answers: A stored setting is retrieved, rather than calculated through additional reasoning.
Consider a generic web application as an illustration. Before displaying a workspace, it might need account settings, permissions, and the last saved state. If each retrieval waits for a distant database, delays accumulate before the main work even begins. This example explains the underlying problem; it is not a sequence of individual ChatGPT calls that we have measured.
Large stores divide data into separate portions. Microsoft distinguishes logical and physical partitions in Azure Cosmos DB. A logical group is determined by a key in the data, such as a user identifier. Several such groups can reside on the same physical partition. The system therefore does not simply distribute users across mutually independent machines.
Microsoft says provisioned throughput is divided evenly among physical partitions. If many requests concentrate on a small portion of the data, that portion can become a bottleneck while capacity remains available elsewhere. Developers should therefore distinguish more stored data, more simultaneous requests, and uneven distribution. Increasing total capacity does not automatically solve the problem in the overloaded portion.
A shorter path only helps if data stays current
A cache keeps frequently needed information closer to an application. Valkey’s documentation explains the general principle using locally stored query results: When the same information is needed again, another network request can be avoided. The benefit therefore depends on whether suitable data is already present. An entry needed for the first time still has to come from the underlying store.
The tradeoff is freshness. As a hypothetical example, changing a display name should not leave an old copy visible indefinitely. An expiration time limits how long a copy may be used. Very short lifetimes, however, reduce the value of caching by requiring more frequent reads. Change notifications can invalidate copies more selectively. Valkey describes its own mechanisms for doing this; that does not establish that Habitat uses precisely its client-side mechanism.
For database updates, Cosmos DB provides a change feed, an ongoing record of changes. Microsoft says applications can process this information incrementally and asynchronously. Asynchronous processing means the subsequent work does not have to finish in the same immediate operation. Ordering is guaranteed per partition key, rather than globally across every key.
OpenAI describes distributed Valkey caches in Habitat whose entries are invalidated using changes from the Cosmos feed. Alongside more regional data replication and a rewrite of service code in Rust, the company attributes its reported performance improvement to these changes. This is a vendor report. The publication does not break the combined effect into a universally transferable performance multiplier for each individual measure.
The interaction matters more than the programming language alone. Faster processing inside a service may have limited impact if a request spends much of its time waiting for a distant region. A nearby cache may likewise help little if frequently needed data is missing or updates are unreliable. For an application of your own, the first step is to establish where time is actually being spent.
What a factor of twelve means for users
The p50 metric is the median: Roughly half the measured reads fall on either side of that value. It does not describe a maximum. An improvement in the median therefore establishes neither the duration of especially slow reads nor the total time until a complete AI answer arrives. Those questions require other measurements, including the full workflow and the slowest portions of requests.
A simple calculation illustrates the limit. If one operation accounts for only a small share of the total wait, even a major acceleration of that operation cannot eliminate the remaining steps. There is therefore no blanket promise of twelvefold faster ChatGPT answers. Better data access can still be valuable, particularly when many small reads slow down an interface. The improvement to a particular user workflow needs separate measurement.
Even the shortest data path requires physical capacity. Our report on Nvidia’s containerized data center describes another side of the same infrastructure question: Where power, cooling, and suitable sites are missing, adding computing or storage capacity is not purely a software decision. This does not establish which of those facilities OpenAI uses.
The concrete value of the Habitat report is that it makes AI products easier to understand as complete applications. Operators benefit from monitoring data access and model runtime separately, then assessing changes where the actual bottleneck lies. For users, the relevant next proof would be a measurably smoother interface in their own workflow. A new database metric explains one possible contribution; it cannot replace that evidence.
Sources
- OpenAI Engineering: Habitat und Azure Cosmos DB, Teil II, 23. Oktober 2026
- OpenAI Engineering: Aufgabe und Aufbau von Habitat, Teil I, 11. September 2026
- Microsoft Learn: Partitionierung und horizontale Skalierung in Azure Cosmos DB
- Microsoft Learn: Change Feed in Azure Cosmos DB
- Valkey: Grundprinzip, Aktualität und Invalidierung bei clientseitigem Caching

