Moneycontrol PRO
HomeTechnologyAnthropic boosts Claude Sonnet 4 AI memory to handle bigger coding projects with new update

Anthropic boosts Claude Sonnet 4 AI memory to handle bigger coding projects with new update

Anthropic has expanded Claude Sonnet 4’s context window to 1 million tokens, matching OpenAI’s GPT-4.1 and enhancing its ability to process large code bases and document sets in one request. 

August 13, 2025 / 20:27 IST
Claude AI

Anthropic has increased the context window for its Claude Sonnet 4 model to 1 million tokens, a fivefold expansion from its previous 200,000-token limit. The move is aimed at strengthening its position in the competitive AI coding market, where it faces rivals such as OpenAI and Google.

Context windows define the amount of information an AI model can process at once. According to Anthropic, the new limit enables Claude Sonnet 4 to handle the equivalent of 2,500 pages of text or an entire copy of War and Peace in a single request. In coding tasks, the capacity has increased from around 20,000 lines of code to between 75,000 and 110,000 lines, allowing for complete code base analysis without splitting projects into smaller segments.

Brad Abrams, product lead for Claude, told The Verge that the larger context window addresses one of the most frequent challenges for enterprise customers, the need to break problems into smaller parts. Anthropic said the change will benefit clients across sectors including software development, pharmaceuticals, retail, professional services, and legal services.

While significant, the expansion matches a capability OpenAI introduced in April with its GPT-4.1 model. The announcement follows OpenAI’s recent launch of GPT-5, which highlighted improved coding benchmarks. Anthropic has historically been recognised for strong coding performance and appears to be positioning this update as a step to maintain competitiveness.

The update comes as Anthropic is reportedly in talks to raise funding at a valuation of up to $170 billion. Enterprise customers, who are willing to pay premium rates for advanced coding and document analysis capabilities, represent a key revenue stream for both Anthropic and OpenAI.

The 1 million-token context window is initially available through Anthropic’s API to Tier 4 and custom-rate-limit customers, with broader access planned in the coming weeks, according to the company’s blog post.

Invite your friends and family to sign up for MC Tech 3, our daily newsletter that breaks down the biggest tech and startup stories of the day

Ayush Mukherjee
first published: Aug 13, 2025 08:26 pm

Discover the latest Business News, Sensex, and Nifty updates. Obtain Personal Finance insights, tax queries, and expert opinions on Moneycontrol or download the Moneycontrol App to stay updated!

Subscribe to Tech Newsletters

  • On Saturdays

    Find the best of Al News in one place, specially curated for you every weekend.

  • Daily-Weekdays

    Stay on top of the latest tech trends and biggest startup news.

Advisory Alert: It has come to our attention that certain individuals are representing themselves as affiliates of Moneycontrol and soliciting funds on the false promise of assured returns on their investments. We wish to reiterate that Moneycontrol does not solicit funds from investors and neither does it promise any assured returns. In case you are approached by anyone making such claims, please write to us at grievanceofficer@nw18.com or call on 02268882347