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: Claude Sonnet 4.5

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

Claude Sonnet 4.5 is Anthropic's most capable model for agents and computer use, released September 2025. It can maintain focus for 30+ hours on complex tasks, supports a 1M token context window (beta), and is described as their "most aligned frontier model."

Context Window 200K

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 Jul 31, 2025

 

Release Date Sep 29, 2025

 

Output Speed 58

tokens / sec

Latency 1.13s

time to first token

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

Find other Anthropic models →

Chat

Claude Fable 5.2

Claude Fable 5.2 is Anthropic's update to Claude Fable 5.1, released on November 9, 2026. It is the publicly available model of a pair, alongside Claude Mythos 5.2, which has looser cybersecurity and biology safeguards and is limited to vetted organizations. Anthropic says it produces output up to 30% faster than the 5.1 versions. Anthropic reports 49.1% on FrontierCode 2.0 (Fable 5.1: 32.4%), 74.6% on Terminal-Bench-Science 0.1 (52.6%), and 89.3% on OSWorld 2.1 (83.5%). Pricing is $8 per million input tokens and $40 per million output tokens, down from $10 and $50 for Fable 5.1. It targets large, loosely defined coding tasks, multi-day agent work, and scientific research. Anthropic recommends Opus 5.5 for most coding and knowledge tasks.

Chat

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.

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.

Frequently Asked Questions

How do I use Claude Sonnet 4.5?

Claude Sonnet 4.5 is no longer available through Puter.js. Explore other AI models for alternatives.

What is the pricing for Claude Sonnet 4.5?
Claude Sonnet 4.5 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.5?

Claude Sonnet 4.5 was created by Anthropic and released on Sep 29, 2025.

What is the context window of Claude Sonnet 4.5?

Claude Sonnet 4.5 supports a context window of 200K tokens. For reference, that is roughly equivalent to 400 pages of text.

What is the max output length of Claude Sonnet 4.5?

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

What is the knowledge cutoff of Claude Sonnet 4.5?

Claude Sonnet 4.5 has a knowledge cutoff date of Jul 31, 2025. This means the model was trained on data available up to that date.

What types of input can Claude Sonnet 4.5 process?

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

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

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

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

Yes — the Claude Sonnet 4.5 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