Claude Haiku 4.5 API

Access Claude Haiku 4.5 from Anthropic using Puter.js AI API.

Get Started

Model Card

Claude Haiku 4.5 is Anthropic's small, fast model released October 2025, optimized for low latency and cost. Despite being the cheapest option ($1/$5 per million tokens), it matches Sonnet 4 on coding benchmarks (73.3% SWE-bench).

Context Window

200K

tokens

Max Output

64,000

tokens

Input Cost

$1

per million tokens

Output Cost

$5

per million tokens

API Usage Example

Add Claude Haiku 4.5 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-haiku-4-5"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Claude Haiku 4.5 to your app without worrying about API keys or setup.

Read the Docs View Tutorials