The Session You Cannot Take With You Inference APIs are increasingly returning provider-bound state that makes AI sessions non-portable, according to a critical analysis by Earendil. Features like encrypted content and server-side storage prevent users from fully owning their session transcripts, as the operational state belongs to the inference provider rather than the user. The analysis argues that a truly portable session should allow exporting a transcript that another model can continue from, without requiring the old provider to dereference IDs or decrypt blobs. The original promise of an inference API was wonderfully simple: send some input, receive some output. If you kept both, you had the conversation. You could inspect it, archive it, replay it, or give it to a different model. That abstraction was never completely true. Prompt caches live https://earendil.com/posts/prompt-caching/ on somebody else's GPUs, tokenization differs between models, and sampling is not reproducible and quite intentionally so . But the semantic record of a session in the form of a transcript could still belong to the user. A transcript should contain the instructions, messages, tool calls and tool results. Another sufficiently capable model might not continue identically, but it could understand what happened and take over. Inference APIs are frustratingly moving away from that property, at least somewhat. They increasingly return a mixture of text and provider-bound state that is very intentionally non-portable. Each feature comes with a basic justification that's trivial for a provider to come up with, along with good arguments for why this is good for the user. Together all of these things change the ownership reality of an AI session: the transcript on your machine is no longer your session but a partial view of a session whose operational state belongs to an inference provider and not you. We are not fans of this direction, and we want to talk a bit about what it means to you, as a user, and what it means to us, as people developing tools in this space. By a portable session we do not mean that switching from one model to another must produce the same next token. That's a given because models have different capabilities, trained personalities, context windows, and ways of working with tools. And well, it's all quite nondeterministic anyway. Portability means something more modest: js const transcript = session.export ; revokeCredentials oldProvider ; session = newProvider.continueFrom transcript ; The archive should contain enough intelligible information for another model to continue the work. It should not require the old provider to dereference an ID, decrypt a blob, remember a search result, or reconstruct a summary. This gives us five useful tests: A response ID is not a transcript, a ciphertext the user cannot decrypt is not user-controlled state, a list of citations is not the evidence that was placed in the model's context by a search result. The naming and marketing around these features can be misleading. encrypted content sounds like a privacy feature under the user's control. Usually it is a capsule that the client cannot read and only the provider can open. The provider chooses the keys, decrypts the content for its own models, and defines where the data can be replayed. A better term is provider-sealed state . Provider sealing can have a real privacy benefit. OpenAI, for example, can return encrypted reasoning to a client using store: false , then decrypt it in memory on the next request without persisting the intermediate state. That is better than requiring server-side conversation storage, particularly for Zero Data Retention customers. But, remember, there is not really anything that needs encryption to begin with Most importantly, this encryption does not hide the data from the inference provider; it hides it from you. OpenAI's Responses API stores responses by default. Its documentation says response objects are retained for at least 30 days by default; items attached to a Conversation are not subject to that 30-day TTL. store: false is available and should be used, as it makes it work more like completions: the data is not stored on OpenAI's servers. The new Gemini Interactions API has made a similar choice. It defaults to store: true ; on the paid tier interactions are retained for 55 days, and on the free tier for one day. And obviously, the idea of storing state on the server is quite attractive: js const first = responses.create { model: "frontier-model", input: "Investigate this production failure", store: true, } ; const second = responses.create { model: "frontier-model", previousResponseId: first.id, input: "Now implement the fix", store: true, } ; The application sends less data, the provider can preserve hidden reasoning and tool state, and cache routing becomes easier. But if the local application only records the user messages and final text, first.id is now a foreign key into a database it does not control. All major labs claim to have legitimate reasons not to expose raw chain of thought. As a result, on non-open-weights models we typically do not see these tokens. Raw reasoning is not visible via the API. With stored responses, prior reasoning can be recovered through previous response id . With store: false , the API returns encrypted content , which the client must preserve and replay. Persisted reasoning remains opaque even when reasoning.context: "all turns" lets a later sample use it. Anthropic returns the encrypted full thinking in a signature field. The readable thinking text, when enabled, is a summary produced by another model, not the raw chain of thought. Thinking blocks must be passed back unchanged during tool-use turns. Anthropic's documentation also says thinking blocks are tied to the model that produced them and should be stripped when switching models. So these reasoning traces do not attempt to be portable within Anthropic. The same story repeats with all closed-weights models. These encryption mechanisms permit continuity inside an ecosystem but they do not create a portable transcript that can be taken to another provider's model. A session archive can contain the blob, but another model cannot use its meaning: {"type": "reasoning", "encrypted content": "gAAAAAB..."} {"type": "thinking", "thinking": "", "signature": "EqQBCg..."} {"type": "thought", "summary": , "signature": "EpoGCp..."} Server-side web search is one of the clearest examples of a transcript having holes in it hidden from the user. A client-side search tool behaves like any other tool: js const result = search query ; record { query, retrievedAt: now , results: result.map item = { url: item.url, title: item.title, passages: item.passages, } , } ; model.send { toolResult: result } ; The user can inspect the ranking and passages, refetch the pages, cache a copy, or provide the same evidence to another model. With hosted search, the provider performs a private tool loop. OpenAI, Google and Anthropic expose search actions, citations, and optionally a list of source URLs, but not the complete text context used to produce an answer. A URL is not a stable replay: its contents can change, disappear, become personalized, or have been reduced to a provider-specific snippet before the model saw it. The final answer may be perfectly good. The problem appears on the next turn: Compare the third source with the first one, re-check the disputed number, and continue this research using another model. The new model receives an answer and a few URLs. It does not receive the result ranking, extracted passages, filtered-out material, or exact evidence the first model used. The old provider is still part of the session even if the next request goes elsewhere. Hosted search should have a full-fidelity export mode containing queries, result metadata, retrieved passages, timestamps, content hashes, and filtering steps. Concise citations can remain the user interface; they should not be the only record. Long agent sessions eventually need compaction. A visible, client-controlled summary is lossy, but it is at least inspectable and transferable. The user can review it, edit it, or ask a different model to produce another one. OpenAI's server-side compaction instead emits an encrypted compaction item. The documentation describes it as "opaque and not intended to be human-interpretable." The standalone /responses/compact endpoint returns a "canonical next context window" that clients are instructed to pass on as-is. Conceptually, the transition looks like this: js // Before: expensive but portable let history = userMessage, assistantMessage, toolCall, fullToolResult, // ... 200,000 more tokens of intelligible history ; // After: cheap to continue only with the original provider history = { type: "compaction", encryptedContent: "enc provider only state...", }, ...recentItems, ; OpenAI can continue from the compressed meaning, but a different provider sees an unreadable string plus a recent suffix well, would see it, we never pass this sort of information to another provider . This is not technically necessary. Anthropic's server-side compaction returns a compaction block with a readable content field. It lets the client provide custom summarization instructions, and the resulting summary can be inspected and passed to another model. Client-side compaction is also possible with any provider. OpenAI's sealed artifact may preserve more model-specific state than a plain summary and may perform better on the original model. That is a reasonable optional optimization. It should be accompanied by a readable handoff summary, not replace one. But again, a lot of this has the added benefit of further locking you into one ecosystem. Multi-agent systems compound the problem because there is no longer one transcript. There is a tree of sessions and a stream of messages between them. Usually they are prompts as if a human wrote them, just now authored by a machine for another machine. OpenAI's hosted Responses Multi-agent beta returns three new item types: multi agent call , multi agent call output , and agent message . The example for spawn agent contains an encrypted message argument, and inter-agent messages contain only encrypted content . Automatic server-side compaction is implicitly enabled for every agent when Multi-agent is enabled, even if the client did not request it. Reasoning summaries are not supported. The API also injects root and subagent instructions that the developer cannot edit or remove. This is a bundle of non-transferable state: sealed delegation, sealed agent messages, separate automatically compacted contexts, hidden reasoning, and provider-hosted orchestration. A related change landed in the open-source Codex client in June 2026. The commit, titled "Encrypt multi-agent v2 message payloads" https://github.com/openai/codex/commit/5f4d06ef186b896d316620556e561d59206c3ebf , explains the flow directly: // Parent model's tool call, as persisted by Codex { "name": "spawn agent", "arguments": { "task name": "worker", "message": "