Seedance 2.0 | Special Offer ✦ 10% OFF NOW
anthropic
anthropic/claude-haiku-4.5

anthropic/claude-haiku-4.5

200,000 context · $1.00/M input$0.90/M input · $5.00/M output$4.50/M output10% off

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input
$1.00 / M Tokens$0.90 / M Tokens
Output
$5.00 / M Tokens$4.50 / M Tokens

API Usage

Use the following code examples to integrate with our API:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Introduction

Anthropic claude-haiku-4.5

anthropic claude-haiku-4.5


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 200000 context window for long document handling
  • Competitive pricing at $1.1/$5.5 per million tokens

Key Features

  • Context Window: 200000 tokens
  • Max Output: 64000 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderAnthropic
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window200000 tokens
Max Output64000 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$1.1
Output$5.5

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: anthropic/claude-haiku-4.5


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "anthropic/claude-haiku-4.5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: anthropic/claude-haiku-4.5
  • Provider: Anthropic

Info

Provideranthropic
Typellm

Supported Functionality

Input
TextImage
Output
Text
Context200,000
Max Output64,000
Vision✓ Supported
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDanthropic/claude-haiku-4.5

Claude Haiku 4.5 API

anthropic/claude-haiku-4.5

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...

Input

$1$0.90 /M

Output

$5$4.50 /M

Discount

10% off

Context

200K

Max Output

64K

Vision

Supported

Tool Use

Supported

Try Claude Haiku 4.5 on WaveSpeedAI

Access Claude Haiku 4.5 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Open Playground

Frequently Asked Questions about Claude Haiku 4.5

How much does Claude Haiku 4.5 cost via the API?+

Pricing on WaveSpeedAI: $0.90 per million input tokens and $4.50 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.

What is the context window of Claude Haiku 4.5?+

Claude Haiku 4.5 supports up to 200K tokens of context with up to 64K tokens of output per request.

Is Claude Haiku 4.5 OpenAI-compatible?+

Yes. WaveSpeedAI exposes Claude Haiku 4.5 through an OpenAI-compatible endpoint at https://llm.wavespeed.ai/v1. Point the official OpenAI SDK at this base URL with your WaveSpeedAI API key — no other code changes required.

How do I get started with Claude Haiku 4.5?+

Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with model id set to the value shown above. New accounts receive free credits to evaluate Claude Haiku 4.5 before paying per token.

Related LLM APIs