Slow Vale's 800-agent town is really a lesson in prompt caching
Slow Vale's 800-agent town is less a story about artificial societies than about prefix caching. Here is the design discipline it forces on agent builders.
Do the arithmetic on Slow Vale before you read the word "society" into it. Eight hundred characters, each making roughly 300–400 model calls a day at about 30,000 tokens of context per call, works out to around 280,000 calls and about 8.4 billion input tokens every day. That comes to over 10 million tokens per resident per day, and a decision every four minutes or so, around the clock. Projects like this get filed under emergent behaviour, but the engineering really runs on token economics. The town is a large, continuously running experiment in how much repeated context you can get a provider to bill you for once.
The prefix is the product
Thirty thousand tokens is a lot to send just to choose between sleeping and saying a sentence. Most of that context, though, is close to identical from one call to the next. A character's state, its stored experiences and its local environment change slowly compared with how often it is asked to act. A call made at 14:02 and one made at 14:06 share nearly all their bytes. If those shared bytes sit at the front of the prompt, a provider with prefix caching charges the discounted cached rate for them. If they don't, you pay full price for the whole prompt every time.
That is why the developer lists context caching next to concurrency as a headline engineering problem rather than a footnote. At this scale, cache hit rate decides whether the project is a hobby or a bill. I won't quote DeepSeek's current rate card from memory, but here is an illustration: at a hypothetical $0.10 per million input tokens, 8.4 billion tokens a day is $840 a day before output. Multiply by a 30-day month and change the per-token price, and it becomes clear that the gap between cached and uncached input is the whole business model. A single developer can only run this because hosted providers now discount repeated prefixes heavily.
At this scale you are not paying for intelligence; you are paying for how badly your prompts repeat themselves in the wrong order.
There is a small irony in where this was posted. It went up on r/LocalLLaMA, and the developer says plainly that the runtime uses hosted DeepSeek Flash rather than local inference. That is the honest choice. To serve 280,000 long-context calls a day on your own hardware, you would need to rebuild the cache management that hosted providers already sell you at a discount. Local inference wins on privacy and control. For this workload, it loses on throughput per pound spent.
The menu matters more than the mind
The most underrated detail in the write-up is easy to skim past. The model receives a set of available actions, selects one, and fills in its parameters. The backend then turns that choice into an activity that takes up time and resources. Put simply, the LLM is not running the world. It picks items from a menu, and deterministic code handles the consequences.
This is the right design, and it has a history. Stanford's 2023 "Generative Agents" paper ran 25 characters in a sandbox town, and it got a lot of attention for social behaviour that seemed to emerge on its own. Long before that, MUDs, The Sims and Dwarf Fortress showed that believable simulated life comes mostly from a well-designed action space and a world that enforces its own rules. Slow Vale scales that lineage up about thirtyfold in population while keeping the model's role narrow. Because the action space is dynamic and generated from current state, the model never has to invent what is possible. It only has to choose well among real options. That is what makes 800 agents manageable instead of 800 unreliable narrators.
It also explains why I'm sceptical of the "AI residents" framing. Residents with persistent memory, picking from validated menus, in a world advanced by a backend scheduler, are closer to very expensive utility functions than to minds. That isn't an insult. A believable crowd built this way is a real achievement, but it comes from systems design, and calling it artificial society gives the model credit for work the scaffolding is doing.
The counter-argument: prices fall, so who cares
The strongest objection is that this is all temporary. Inference prices have fallen steeply for several years, and a careful cost analysis written in 2026 may look quaint once the next price cut lands. On this view, optimising cache layout now is premature, and the interesting question is what agents do, not what they cost.
I don't buy it, for two reasons. First, cheaper tokens don't shrink the bill. They raise ambition. When a call gets cheaper, the developer adds more residents, more calls per day or more context per call, which is Jevons' paradox applied to inference. Second, caching isn't only a pricing trick. It shapes the architecture. Whether a character's memories are appended to the end of the prompt or rewritten in the middle determines whether the cache survives, and that choice spreads into how memory, retrieval and world state are designed. Those decisions don't go away when prices drop. They become the defaults everyone builds on.
What this means if you run agent loops at work
In practice: most corporate agent pipelines, such as support triage, code-review bots and document workflows, are small Slow Vales. They poll on a schedule, carry a large mostly static context and choose from a limited set of actions. The lessons carry over directly. Order prompts from most stable to least stable: system instructions, then long-lived state, then recent events, then the immediate request. Treat cache hit rate as a metric on the dashboard next to latency and error rate. Give the model a constrained menu of validated actions rather than letting it describe free-form what should happen, and keep side effects in code you can test. And before you scale an agent from one instance to a hundred, multiply calls per day by context length the way I did above. The number is usually bigger than people expect, and the time to find that out is before the invoice arrives.
Slow Vale is worth studying because it is unglamorous in the right places. The developer documents concurrency, action spaces and operating costs instead of selling a digital civilisation. The ones who get persistent agents working at scale won't be those with the cleverest prompts. They'll be the ones who treat each call as a cost with a cacheable prefix and design their system around keeping that prefix stable.
Sources & further reading
The analysis above is our own. The underlying reporting and primary documents are credited here.