Ensemble of Models Architecture
Using custom specialized models for specific tasks (speed, cost) while leveraging foundation models for high-level reasoning, with models handling inputs, outputs, and specialized functions.
When to use it
When building AI products that need to balance quality, speed, and cost across different use cases
How to apply it
- Use fast, cheap custom models for high-frequency tasks (autocomplete)
- Use foundation models for complex reasoning
- Build custom models for input processing (code search)
- Create specialty models for output refinement
"So we definitely use the biggest foundation models a bunch of different ways, they're really important components of bringing the Cursor experience to people. The places where we use our own models, so sometimes it's to survey a use case that a foundation model wouldn't be able…"