Seedream 5.0 Pro está no ar | Experimente no Gerador de Imagens →
anthropic
anthropic/claude-haiku-4.5

anthropic/claude-haiku-4.5

Data de lançamento: 2025-10-16

200,000 context · $1.00/M input$0.95/M input · $5.00/M output$4.75/M output5% 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...

Preços

Pagamento por uso

Sem custo inicial, pague apenas pelo que usar

Entrada
$1.00 / M Tokens$0.95 / M Tokens
Saída
$5.00 / M Tokens$4.75 / M Tokens
Cache Read
$0.10 / M Tokens$0.10 / M Tokens
Cache Write
$1.25 / M Tokens$1.19 / M Tokens

Experimentar o modelo

anthropic/claude-haiku-4.5
Online
anthropic
Olá! Sou um assistente de IA útil. Em que posso ajudar?
Pronto para usar este modelo em um coding agent local?Setup do agente

Uso da API

Use os exemplos de código abaixo para integrar com nossa 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)

Introdução do modelo

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

Provedoranthropic
Tipollm

Funcionalidades suportadas

Entrada
TextoImagem
Saída
Texto
Contexto200,000
Saída máx.64,000
Vision✓ Suportado
Function Calling✓ Suportado

Guia de acesso à API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID do modeloanthropic/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...

Entrada

$1$0.95 /M

Saída

$5$4.75 /M

Desconto

5% off

Contexto

200K

Saída máx.

64K

Vision

Suportado

Uso de ferramentas

Suportado

Experimente Claude Haiku 4.5 no WaveSpeedAI

Acesse Claude Haiku 4.5 através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.

Perguntas frequentes sobre Claude Haiku 4.5

Quanto custa Claude Haiku 4.5 via API?+

Preços no WaveSpeedAI: $0.95 por milhão de tokens de entrada e $4.75 por milhão de tokens de saída. Prompt caching e batch processing são cobrados separadamente e reduzem o custo efetivo em cargas longas e repetitivas.

Qual é a janela de contexto do Claude Haiku 4.5?+

Claude Haiku 4.5 suporta até 200K tokens de contexto e até 64K tokens de saída por requisição.

Claude Haiku 4.5 é compatível com OpenAI?+

Sim. O WaveSpeedAI expõe o Claude Haiku 4.5 através de um endpoint compatível com OpenAI em https://llm.wavespeed.ai/v1. Aponte o SDK oficial da OpenAI para esta base URL com sua chave API do WaveSpeedAI — sem outras alterações no código.

Como começo a usar o Claude Haiku 4.5?+

Entre no WaveSpeedAI, crie uma chave API em Access Keys, então envie uma requisição para https://llm.wavespeed.ai/v1/chat/completions com o model id mostrado acima. Contas novas recebem créditos grátis para avaliar o Claude Haiku 4.5.

APIs LLM relacionadas

Claude Haiku 4.5 | Anthropic Fast & Efficient LLM API | WaveSpeedAI