anthropic/claude-3-7-sonnet
Model Card
Claude 3.7 Sonnet is Anthropic's first hybrid reasoning model, released February 2025. It combines instant responses with an extended thinking mode where users can control the "thinking budget" to balance speed vs. depth.
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 Oct 31, 2024
Release Date Feb 19, 2025
API Usage Example
Add Claude 3.7 Sonnet to your app with just a few lines of code.
No API keys, no backend, no configuration required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "anthropic/claude-3-7-sonnet"
}).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-3-7-sonnet"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More Models from Anthropic
Claude Sonnet 4.6
Claude Sonnet 4.6 is Anthropic's latest mid-tier model released February 2026, delivering near-flags...
ChatClaude Opus 4.6
Claude Opus 4.6 is Anthropic's latest model, released February 2026. It is a powerful model for codi...
ChatClaude Opus 4.5
Claude Opus 4.5 was released in November 2025. It sets the standard for production code, sophisticat...
Frequently Asked Questions
The Claude 3.7 Sonnet API gives you access to Anthropic's chat model through Puter.js. With just a few lines of JavaScript, you can integrate Claude 3.7 Sonnet into any web app or Node.js project — no API keys, no backend, and no configuration required.
Claude 3.7 Sonnet was created by Anthropic and released on Feb 19, 2025.
Claude 3.7 Sonnet supports a context window of 200K tokens. For reference, that is roughly equivalent to 400 pages of text.
Claude 3.7 Sonnet can generate up to 8K tokens in a single response.
Claude 3.7 Sonnet has a knowledge cutoff date of Oct 31, 2024. This means the model was trained on data available up to that date.
Claude 3.7 Sonnet accepts the following input types: text, image, pdf. It produces: text.
Yes, Claude 3.7 Sonnet supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.
| Price per 1M tokens | |
|---|---|
| Input | $3 |
| Output | $15 |
You can access the Claude 3.7 Sonnet API with just a few lines of JavaScript — no API keys, no backend, and no configuration required. Include the Puter.js library in your project and start making calls right away. For more details, check out our documentation.
Yes — the Claude 3.7 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 Claude 3.7 Sonnet to your app without worrying about API keys or setup.
Read the Docs View Tutorials