# Cognition rebuilds Devin around Claude Sonnet 4.5 for 2x speed

> Original title: Rebuilding Devin for Claude Sonnet 4.5: Lessons and Challenges

- Source: Cognition Blog (Devin, Windsurf)
- Published: 2025-09-29T00:00:00.000Z
- Bad Influence: https://badinfluence.news/items/uov5ff9n643f9rdo3lk9zvsa2
- Original: https://cognition.com/blog/devin-sonnet-4-5-lessons-and-challenges

## Summary

Cognition rebuilt its Devin coding agent for Claude Sonnet 4.5, reporting 2x faster performance and 12% better results on its Junior Developer Evals, now available in Agent Preview. The team found the model is aware of its context window, which led to premature wrap-up behavior that they countered with repeated prompts and a 200k usage cap within a 1M token beta.

## Why it matters

The post explains which agent behaviors changed under Sonnet 4.5, such as context-window awareness and note-taking, that forced a rebuild rather than a simple model swap.
