Anthropic: Claude 3.5 Sonnet
This model is no longer available.Add AI to your application with Puter.js.
Explore Other ModelsModel Card
Claude 3.5 Sonnet balances intelligence and speed, and was the first Claude model to introduce computer use capabilities (screen navigation, clicking, typing) in public beta. It offered performance close to Claude 3 Opus at one-fifth the cost.
Context Window 200K
tokens
Max Output 8K
tokens
Input Cost $3
per million tokens
Output Cost $15
per million tokens
Input text, image, pdf
modalities
Tool Use Yes
Knowledge Cutoff Apr 30, 2024
Release Date Oct 22, 2024
Code Example
Add AI to your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms").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").then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More AI Models From Anthropic
Claude Haiku 5.5
Claude Haiku 5.5 is the small, low-cost model in Anthropic's 5.5 family, released on October 7, 2026 and available through the API as anthropic/claude-haiku-5-5. It has a 1M token context window and up to 128k output tokens. Pricing is $0.10 per million input tokens and $0.50 per million output tokens for requests under 100,000 tokens, down from $1 and $5 for Haiku 4.5, and $0.50 and $2.50 above that. Effort levels range from low to max, with medium as the default. Anthropic reports 72.4% on OSWorld 2.1 (offline subset, Haiku 4.5: 15.7%) and 39.2% on Terminal-Bench 4.0 at maximum effort (Haiku 4.5: 0.0%). On the same tests GPT-6 Luna scores 48.9% and 16.4%. It is aimed at summarizing documents, classifying information, querying databases, and handling subtasks for larger agents. Anthropic recommends Opus and Sonnet for demanding coding work.
ChatClaude 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.
ChatClaude 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.
Frequently Asked Questions
Claude 3.5 Sonnet is no longer available through Puter.js. Explore other AI models for alternatives.
| Price per 1M tokens | |
|---|---|
| Input | $3 |
| Output | $15 |
Claude 3.5 Sonnet was created by Anthropic and released on Oct 22, 2024.
Claude 3.5 Sonnet supports a context window of 200K tokens. For reference, that is roughly equivalent to 400 pages of text.
Claude 3.5 Sonnet can generate up to 8K tokens in a single response.
Claude 3.5 Sonnet has a knowledge cutoff date of Apr 30, 2024. This means the model was trained on data available up to that date.
Claude 3.5 Sonnet accepts the following input types: text, image, pdf. It produces: text.
Yes, Claude 3.5 Sonnet supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.
Claude 3.5 Sonnet scores 7.9 on the Artificial Analysis Intelligence Index, outperforming 30% of tracked models. On coding, it scores 30.2 (outperforms 36% of models).
Yes — the Claude 3.5 Sonnet 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.
Get started with Puter.js
Add AI to your application without worrying about API keys or setup.
Explore Models View Tutorials