Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Anthropic

Anthropic: Claude Sonnet 4.6

anthropic/claude-sonnet-4-6

Try Claude Sonnet 4.6 for free in your browser, and add it to your app for free with Puter.js AI API.

Try it free Add to your app
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "anthropic/claude-sonnet-4-6"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<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>

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

Input text, image, pdf

modalities

Tool Use Yes

 

Knowledge Cutoff Aug 2025

 

Release Date Feb 17, 2026

 

Try Claude Sonnet 4.6 for free

Try Claude Sonnet 4.6 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat anthropic/claude-sonnet-4-6
Anthropic
Chat with Claude Sonnet 4.6
Powered by Puter.js

Benchmarks

How Claude Sonnet 4.6 performs on standard evaluations.

Artificial Analysis
Intelligence Index
24.7
Better than 76% of tracked models
BenchmarkScore
GPQA Diamond Graduate-level science Q&A
79.9%
Humanity's Last Exam Cross-domain reasoning
13.3%
IFBench Instruction following
41.2%
LCR Long-context reasoning
68.3%
Terminal-Bench Hard Agentic terminal tasks
46.2%
τ²-Bench Tool use / agents
79.5%

Scores sourced from Artificial Analysis.

Find other Anthropic models →

Chat

Claude Sonnet 5.5

Claude Sonnet 5.5 is a mid-tier model from Anthropic, released on September 28, 2026 and available through the API as anthropic/claude-sonnet-5-5. It accepts text, image, and PDF input, with a 1M token context window and up to 128k output tokens. Pricing is $2 per million input tokens and $10 per million output tokens, the same as Claude Sonnet 5. Anthropic says it generates output more than 30% faster than Sonnet 5 and can cut the cost of a task by up to 30%, because it uses fewer tokens and fewer tool calls. Anthropic reports 70.6% on Terminal-Bench 4.0 (Sonnet 5: 10.3%) and 80.1% on OSWorld 2.1 (Sonnet 5: 57.0%). It is aimed at well-scoped everyday tasks, bug fixing, agentic coding, and producing documents, slides, and spreadsheets.

Chat

Claude Opus 5.5

Claude Opus 5.5 is Anthropic's newest flagship model, released September 22, 2026 as the successor to Claude Opus 5. Anthropic positions it for agentic coding and long-running autonomous work. Reported benchmark scores include 66.4% on Terminal-Bench 4.0 (up from 52.3% for Opus 5), 54.4% on FrontierCode, 40% on AutomationBench (up from 26.9%), 81.8% on the OSWorld 2.0 computer-use benchmark, and 67.7% on Humanity's Last Exam with tools. It runs about 30% faster than Opus 5 and costs roughly 40% less on typical workloads, at $4 per million input tokens and $20 per million output tokens, a 1M-token context window, and 128K max output tokens. That combination of long-horizon coding performance, multimodal input (text, image, PDF), tool calling, and lower cost makes it a fit for developers building coding agents, codebase-wide migrations, and research or analysis pipelines through the API.

Chat

Claude Fable 5.1

Claude Fable 5.1 is Anthropic's successor to Claude Fable 5, released September 1, 2026, about three months after Fable 5. Anthropic also released a companion model, Claude Mythos 5.1, available only through trusted access programs; both share the same underlying model with different safety safeguards. On SWE-bench Pro it scores 81.2%, ahead of Fable 5's 80% and Mythos 5's 80.3%. On Terminal-Bench-Science, a scientific-research agentic benchmark, it reaches 52.6%, more than double Fable 5's 24.7% and ahead of GPT-5.6 Sol's 22.4%. On Terminal-Bench 4.0 for agentic coding it scores 55.8%, versus 42.0% for Fable 5 and 37.3% for GPT-5.6 Sol. Priced at $10/$50 per million input/output tokens, unchanged from Fable 5, with cache reads cut 75% to $0.25 per million tokens. It offers a 1,000,000-token context window, 128,000-token max output, and tool calling. It fits developers running long-horizon agentic coding and research pipelines who want Fable-tier reasoning at lower cost.

Frequently Asked Questions

How do I use Claude Sonnet 4.6?

You can access Claude Sonnet 4.6 by Anthropic through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Can I try Claude Sonnet 4.6 for free?

Claude Sonnet 4.6 is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.

Is the Claude Sonnet 4.6 API free for developers?

Claude Sonnet 4.6 is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for Claude Sonnet 4.6?
Claude Sonnet 4.6 costs $3 per 1M input tokens and $15 per 1M output tokens.
Price per 1M tokens
Input$3
Output$15
Who created Claude Sonnet 4.6?

Claude Sonnet 4.6 was created by Anthropic and released on Feb 17, 2026.

What is the context window of Claude Sonnet 4.6?

Claude Sonnet 4.6 supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,000 pages of text.

What is the max output length of Claude Sonnet 4.6?

Claude Sonnet 4.6 can generate up to 64K tokens in a single response.

What is the knowledge cutoff of Claude Sonnet 4.6?

Claude Sonnet 4.6 has a knowledge cutoff date of Aug 2025. This means the model was trained on data available up to that date.

What types of input can Claude Sonnet 4.6 process?

Claude Sonnet 4.6 accepts the following input types: text, image, pdf. It produces: text.

Does Claude Sonnet 4.6 support tool use (function calling)?

Yes, Claude Sonnet 4.6 supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

How does Claude Sonnet 4.6 perform on benchmarks?

Claude Sonnet 4.6 scores 24.7 on the Artificial Analysis Intelligence Index, outperforming 76% of tracked models.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Claude Sonnet 4.6 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add Claude Sonnet 4.6 to your app for free

Developers can integrate Claude Sonnet 4.6 for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works