# Why Cloudflare Became a Neolab

Michelle Chen, Cloudflare | AI Engineer CODE 2026 | 20:06

Source: https://www.youtube.com/watch?v=cYcYfM9Mvwo
Channel: AI Engineer (https://www.youtube.com/@aiDotEngineer). Summarised by AIE Talks.
Page: https://aietalks.com/talks/why-cloudflare-became-a-neolab
Published: 2026-11-27
Tags: agents, cost, inference, latency

## TL;DR
- Cloudflare moved from CDN infrastructure to distributed compute, storage, large-model serving, and agent infrastructure.
- When models became larger instead of smaller, Cloudflare pivoted to serving trillion-parameter models, then built small System 1 models when that approach became useful again.
- Clef and Cleric reduced an example CI-triage workflow from five LLM calls to one, with nearly twice the speed, 72% lower cost, and about 94% fewer tokens.

## Summary
Michelle Chen explains how Cloudflare became a "Neolab" by repeatedly building around changes in AI workloads. Cloudflare began as a globally distributed CDN, then added Workers, stateful compute, containers, storage, and Workers AI. Its first AI hypothesis was that models would become smaller and network latency would matter more. Instead, models grew from around 7 billion to 3 trillion parameters, so Cloudflare added serverless access to large models such as Kimi, GLM, and DeepSeek. Later, System 1 models created a new opening for fast decisions and extraction. Cloudflare trained Clef over a weekend and launched Cleric three weeks later. Chen demos both models in a CI-triage agent. Clef prunes available tools, while Cleric extracts values from unstructured input and logs. In the example, the workflow reached the same answer with fewer LLM calls, lower latency, lower cost, and far fewer tokens. The talk argues that infrastructure companies need to react quickly when their assumptions stop fitting the market.

## Key ideas
### Cloudflare's CDN required infrastructure close to users
[01:23](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=83s)
Cloudflare started as a CDN that sat between users and origin servers, caching content and providing security. Its infrastructure was distributed around the world instead of concentrated in regions such as US East 1 or US West 1. Michelle Chen says this design put computers close to users and later gave Cloudflare a base for other products. The company launched its own infrastructure in 2010 because a fast CDN had to be present in many locations. That physical distribution became important when Cloudflare began thinking about compute and model latency.

### Workers turned Cloudflare's edge computers into a developer platform
[02:27](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=147s)
Cloudflare asked what developers could build on its globally distributed computers. In 2017 it launched Workers, serverless functions that start in milliseconds and stop after the code runs. Developers did not need to rent an entire virtual machine and pay for it while it was idle. Cloudflare later added Durable Objects for stateful workloads and containers for workloads that need something closer to a VM. Storage followed with KV, R2 object storage, and the D1 database. The goal was to let developers build full-stack applications on the same platform.

### Workers AI began with the wrong model-size assumption
[03:57](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=237s)
After ChatGPT changed how the industry thought about AI in 2023, Cloudflare added GPUs to its distributed network and launched Workers AI. The initial hypothesis was that models would get smaller, fit on small hardware, and make network latency more important. The opposite happened. Models grew from roughly 7 billion parameters to models with 3 trillion parameters. Chen connects that growth to scaling laws and the push toward more general models. Cloudflare therefore had to abandon its original assumption and add serverless access to large models.

### Cloudflare added large-model serving to complete its agent platform
[06:12](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=372s)
In March 2026, Cloudflare launched Kimi and later added GLM and DeepSeek, serving large trillion-parameter models through an API. Chen says this arrived late because the model-serving pattern did not initially seem to fit Cloudflare's infrastructure story. It did fit the developer platform, which already included globally distributed infrastructure, Workers and Durable Objects for agent execution, and storage for agent data. Cloudflare began describing this combination as an agent cloud, with agents deployed, powered by models, and connected to compute and data on the same platform.

### System 1 models brought Cloudflare back to fast edge inference
[08:27](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=507s)
TypeSafe's Jev introduced Chen to System 1 models in September 2026. Unlike autoregressive LLMs that generate many tokens, a System 1 model makes one forward pass through its inputs and produces an output for a decision. Chen says these models can take smaller, cheaper tasks away from large LLMs, while the LLM handles more meaningful work. This restored the relevance of Cloudflare's original small-model and low-latency hypothesis. Because Jev was closed source, Cloudflare built its own model instead of hosting it directly.

### Cloudflare trained Clef over one weekend
[09:57](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=597s)
Cloudflare began experimenting with its own version of Jev three days after Jev launched. After a week of discussion, the team decided to enter what Chen calls Neolab territory. It trained Clef over 48 hours during a weekend and launched it the following week. Clef gives agents a fast way to make decisions without asking an LLM to reason for minutes or putting a human into the loop. Chen describes this as a way to encode decisions programmatically so agents can act continuously. Cloudflare launched four models within three weeks.

### Cleric extracts structured values from messy input
[11:27](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=687s)
Cleric is an extraction model for inputs that are not already clean JSON. It can read email, tweets, Slack messages, text, and images, then extract, compute, estimate, or forecast values and return typed JSON. That gives an agent structured data it can use for its next action. Chen positions Cleric as a fast and inexpensive alternative for extraction tasks where an autoregressive LLM may be slow, expensive, or prone to hallucinating. The model lets agents read unstructured information before Clef decides what to do with it.

### System 1 models shrink the work sent to an LLM
[13:46](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=826s)
Chen's CI-triage example starts with an agent that has 40 available tools. A conventional LLM workflow makes repeated tool calls and sends the full tool list and context back each time. Clef Flash can reduce the tool list to the tools needed for the task. Cleric can extract the pull request number and read logs to identify the exact error and affected lines instead of passing hundreds of log lines to the LLM. Code then executes the API calls, and the LLM handles the final action. In the demo, both systems reached the same answer, but the System 1 workflow took less time and used fewer LLM resources.

### The demo cut latency, cost, and token use
[16:46](https://www.youtube.com/watch?v=cYcYfM9Mvwo&t=1006s)
The comparison used six LLM calls in the larger workflow versus one in the System 1-assisted workflow, with about 40,000 LLM tokens versus 1,800. In a run outside the conference Wi-Fi, the LLM workflow took 17.2 seconds and the other took 9.2 seconds. Chen reports that the System 1 version was almost twice as fast, 72% less expensive, and used about 94% fewer tokens. She says this pattern is meant to augment LLMs rather than replace them, freeing time and compute for tasks that need the larger model.

## Notable quotes
- "Life can only be understood backwards, but it must be lived forwards." (00:44)
- "Cloudflare was not wrong here. We actually were just early." (09:21)
- "We ended up training the model over 48 hours over the weekend, and then we launched it the following week." (10:18)
- "It was almost two times faster. It was 72% less expensive. We shrunk our LLM calls from five down to one, and it was about 94% less tokens." (17:21)
- "Remember then there's only one time that is important, now. It is the most important time because it's the only time when we have any power." (19:39)

## Tools & references mentioned
- Cloudflare
- Workers AI
- AI Search
- AI Gateway
- Workers
- Durable Objects
- Kimi
- GLM
- DeepSeek
- TypeSafe
- Jev
- Clef
- Clef Flash
- Cleric
- ChatGPT
- Kierkegaard
- Tolstoy

## Who should watch
- You are building agents on top of LLMs and want to reduce repeated tool selection, extraction, and context transfer.
- Your workloads run across a distributed network and you need a practical account of when small fast models can matter more than large models.
- You want to evaluate Cloudflare's Clef and Cleric for CI triage, routing, fraud decisions, spam detection, or structured extraction from messy inputs.

## Related talks

- [Rethinking how we Scaffold AI Agents](https://aietalks.com/talks/rethinking-how-we-scaffold-ai-agents) (Rahul Sengottuvelu, Ramp, 16:32)
- [TLMs: Tiny LLMs and Agents on Edge Devices with LiteRT-LM](https://aietalks.com/talks/tlms-tiny-llms-and-agents-on-edge-devices-with-litert-lm) (Cormac Brick, Google, 1:20:58)
- [How AI Agents Let GTM Teams Scale](https://aietalks.com/talks/how-ai-agents-let-gtm-teams-scale) (Justin Joyce, Cloudflare, 19:15)
- [Why Large? Tiny LMs and Agents on Edge and Robotics](https://aietalks.com/talks/why-large-tiny-lms-and-agents-on-edge-and-robotics) (Cormac Brick, Google, 21:45)
- [Effective AI Agents Need Data Flywheels, Not The Next Biggest LLM](https://aietalks.com/talks/effective-ai-agents-need-data-flywheels-not-the-next-biggest-llm) (Sylendran Arunagiri, NVIDIA, 16:41)
