anthropic/claude-sonnet-4-6
Model Card
Claude Sonnet 4.6 is Anthropic's latest mid-tier model released February 2026, delivering near-flagship Opus-level performance in coding, computer use, and agentic tasks at a fraction of the cost ($3/$15 per million tokens). It features a 1M token context window in beta, scores 79.6% on SWE-bench Verified and 72.5% on OSWorld. Developers preferred it over both Sonnet 4.5 (~70% of the time) and even Opus 4.5 (~59%) in real-world coding tests.
Context Window 1M
tokens
Max Output 64K
tokens
Input Cost $3
per million tokens
Output Cost $15
per million tokens
Release Date Feb 17, 2026
API Usage Example
Add Claude Sonnet 4.6 to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "anthropic/claude-sonnet-4-6"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add Claude Sonnet 4.6 to your app without worrying about API keys or setup.
Read the Docs View Tutorials