# AI models can sustain coherence and recover context for longer

Markdown copy of https://realalpha.app/s/ai-models-can-sustain-coherence-and-recover-context-for/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Amjad Masad](https://realalpha.app/builders/amjad-masad/) · Co-founder, Replit · Co-founded and leads Replit, a browser-based coding platform letting anyone write and deploy code.
- Host: [Aditya Agarwal](https://realalpha.app/people/aditya-agarwal/) · Partner, South Park Commons · One of Facebook's first engineers, he helped build its first search engine; later CTO of Dropbox.
- Host: Ruchi Sanghvi · Partner, South Park Commons
- Show: Minus One
- Episode: [How Replit Is Enabling a New Wave of Million-Dollar Founders | Amjad Masad & Haya Odeh](https://realalpha.app/v/7Doo2X9LPeY/), Apr 23, 2026
- Moment: 24:15 to 27:49 of the episode (4 min), playing on https://realalpha.app/s/ai-models-can-sustain-coherence-and-recover-context-for/; the episode from there: https://realalpha.app/v/7Doo2X9LPeY/?t=1455

## Quote

> “I think the **coherence just became almost indefinite**.”
> — [Amjad Masad](https://realalpha.app/builders/amjad-masad/) at [26:10](https://realalpha.app/v/7Doo2X9LPeY/?t=1570) · Minus One

## Takeaways

1. Pretraining improvements eventually hit a plateau.
2. Recent models can stay coherent through longer tasks.
3. Models can compress and retrieve context across tasks.

## About this segment

Amjad Masad describes the shift from pretraining to reinforcement learning, then explains recent gains in coherence and context handling. Those changes help explain why agents can take on longer, more autonomous tasks.

From “How Replit Is Enabling a New Wave of Million-Dollar Founders | Amjad Masad & Haya Odeh”, Apr 23, 2026. [Watch the full episode](https://realalpha.app/v/7Doo2X9LPeY/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[24:22](https://realalpha.app/v/7Doo2X9LPeY/?t=1462) I want something that's a bunch more managed. I want different UI. I want more capabilities, right? I guess the first question is, what do you think changed in December? I'm curious to get your analysis of what changed the model capability. And number two, how quickly are you seeing users get, in some ways, frustrated with the minimal UI of these raw models and wanting more? I think there are different phases of model improvements.

[24:53](https://realalpha.app/v/7Doo2X9LPeY/?t=1493) You know, say 2021, or like 2020 to 2023, it was a pre-training era where you just put in a bunch of crap, really any kind of data, it didn't matter. And you just have as much parameters as possible, and you grow this model, and it just keeps getting better. We have the scaling laws, and we thought we could do that. It's a simple word, more data, more parameters, everything was better, yeah. Yeah, but then we hit a plateau and the plateau for a bunch of reasons. One is like, you know, there wasn't a lot of data left in the world. Another is like the training infrastructure got like a little too complicated for growing these models a lot more.

[25:34](https://realalpha.app/v/7Doo2X9LPeY/?t=1534) And so we entered the sort of RL and thinking era. So like, say, 20, like 2024, 25, with, you know, starting with 01 and DeepSeek and all that, you had this moment of time where the training regime changed. and we enter this moment of you're doing reinforcement learning and these models are getting more autonomous because not only the raw intelligence is improving, but they're staying coherent longer of our time.

[26:07](https://realalpha.app/v/7Doo2X9LPeY/?t=1567) I think the big unlock that happened just in December, November, December, I think the coherence just became almost indefinite. Interesting. Like, Agent 3 was kind of the most autonomous agent in September 2025, and we struggled to make it run for an hour. Right now, if you have enough evaluation in the middle, if you have computer use or unit tests or whatever, really the models can run indefinitely.

[26:41](https://realalpha.app/v/7Doo2X9LPeY/?t=1601) The other thing is, like, models also gained some self-consciousness almost. I think that's too much of a loaded word. But they started training on their own context window. So they actually also got really good at compression and really good at taking contacts and storing it into files and being able to search across these files and recollect the contacts based on the next task that you're going to do.

[27:07](https://realalpha.app/v/7Doo2X9LPeY/?t=1627) And all these things culminating together created these different models. The other big thing, at least this is the rumor, is that it looks like the big labs have figured out how to scale pre-chaining again. So I think we're going to enter another phase of scaling where we're going to see bigger and bigger models. So Opus is like a really big model, and I think they're going to get even bigger. And I think the reason token prices are not going down is because the models are getting bigger.

[27:35](https://realalpha.app/v/7Doo2X9LPeY/?t=1655) But it's sort of absent flows, and you need to understand what stage we're sort of in. So I expect the role capabilities to continue improving in the near future.
