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...
Płać za użycie
Bez kosztów początkowych, płacisz tylko za to, czego używasz
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 excanthropic claude-haiku-4.5
| Specification | Value |
|---|---|
| Provider | Anthropic |
| Model Type | Large Language Model (LLM) |
| Architecture | N/A |
| Context Window | 200000 tokens |
| Max Output | 64000 tokens |
| Input | Text |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Token Type | Cost per Million Tokens |
|---|---|
| Input | $1.1 |
| Output | $5.5 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: anthropic/claude-haiku-4.5
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 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!"}]
}'
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
Uzyskaj dostęp do Claude Haiku 4.5 przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.
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ń.
Claude Haiku 4.5 obsługuje do 200K tokenów kontekstu i do 64K tokenów wyjściowych na zapytanie.
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.
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.