Seedream 5.0 Pro jest już LIVE | Wypróbuj w Generator obrazów →
anthropic
anthropic/claude-haiku-4.5

anthropic/claude-haiku-4.5

Data publikacji: 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...

Cennik

Płać za użycie

Bez kosztów początkowych, płacisz tylko za to, czego używasz

Wejście
$1.00 / M Tokens$0.95 / M Tokens
Wyjście
$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

Wypróbuj model

anthropic/claude-haiku-4.5
Online
anthropic
Cześć! Jestem pomocnym asystentem AI. W czym mogę pomóc?
Gotowe użyć tego modelu w lokalnym coding agent?Konfiguracja agenta

Użycie API

Użyj poniższych przykładów kodu, aby zintegrować się z naszym API:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["WAVESPEED_API_KEY"],
    base_url="https://llm.wavespeed.ai/v1",
    timeout=120.0,
    max_retries=2,
)

try:
    response = client.chat.completions.create(
        model="anthropic/claude-haiku-4.5",
        messages=[{"role": "user", "content": "Hello!"}],
    )
    print(response.choices[0].message.content or "")
except Exception as exc:
    raise SystemExit(f"LLM request failed: {exc}") from exc

Wprowadzenie do modelu

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

Dostawcaanthropic
Typllm

Obsługiwane funkcje

Wejście
TekstObraz
Wyjście
Tekst
Kontekst200,000
Maks. wyjście64,000
Vision✓ Obsługiwane
Function Calling✓ Obsługiwane

Przewodnik dostępu do API

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

Wejście

$1$0.95 /M

Wyjście

$5$4.75 /M

Zniżka

5% zniżki

Kontekst

200K

Maks. wyjście

64K

Vision

Obsługiwane

Użycie narzędzi

Obsługiwane

Wypróbuj Claude Haiku 4.5 w WaveSpeedAI

Uzyskaj dostęp do Claude Haiku 4.5 przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.

Najczęstsze pytania o Claude Haiku 4.5

Ile kosztuje API Claude Haiku 4.5?+

Cennik na WaveSpeedAI: $0.95 za milion tokenów wejściowych i $4.75 za milion tokenów wyjściowych. Prompt caching i przetwarzanie wsadowe są rozliczane oddzielnie i obniżają efektywny koszt długich, powtarzalnych obciążeń.

Jakie jest okno kontekstu Claude Haiku 4.5?+

Claude Haiku 4.5 obsługuje do 200K tokenów kontekstu i do 64K tokenów wyjściowych na zapytanie.

Czy Claude Haiku 4.5 jest kompatybilny z OpenAI?+

WaveSpeedAI udostępnia Claude Haiku 4.5 pod adresem https://llm.wavespeed.ai/v1 przez interfejs Chat Completions zgodny z OpenAI. W większości klientów OpenAI SDK wystarczy zmienić base URL i klucz API; opcjonalne pola zależą od modelu.

Jak zacząć z Claude Haiku 4.5?+

Zaloguj się do WaveSpeedAI, utwórz klucz API w Access Keys i wyślij żądanie do https://llm.wavespeed.ai/v1/chat/completions z identyfikatorem modelu pokazanym powyżej. Bieżącą dostępność, możliwości i ceny sprawdź w katalogu modeli.

Powiązane API LLM

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