Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Claude Haiku 4.5

RABAT 15%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 across reasoning, coding, and computer-use tasks, Haiku 4.5 brings frontier-level capability to real-time and high-volume applications.

Cena wejścia
$0.85$1.00USD / 1M tokenów
Cena wyjścia
$4.25$5.00USD / 1M tokenów
Odczyt z pamięci podręcznej
$0.09$0.10USD / 1M tokenów
Zapis do pamięci podręcznej
$1.06$1.25USD / 1M tokenów
Okno kontekstu
200K
Maks. wynik
64K

Specyfikacja

MożliwościCzatWizjaRozumowanieUstrukturyzowany wynikWywoływanie funkcji
Wejście
Tekst, obraz
Wyjście
Tekst
Dostępne

Informacje o tym modelu

Claude Haiku 4.5 is the fast, low-cost tier of Anthropic's Claude 4.5 family. It reads text and images, writes text, and has a 200K-token context window. Anthropic added extended thinking to Haiku with this release; you turn it on per request through the Messages API.

When to use it

  • Real-time chat and support assistants where latency matters.
  • Sub-agents that handle many small steps for a larger model.
  • Coding help and code review at high volume.

Call it

The model works on Chat Completions (/v1/chat/completions) and on Anthropic's Messages API (/v1/messages). Use Messages when you want extended thinking.

from openai import OpenAI

client = OpenAI(base_url="https://api.sandbase.ai/v1", api_key="$SANDBASE_API_KEY")

resp = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[{"role": "user", "content": "Explain what an API gateway does."}],
    max_tokens=512,
)
print(resp.choices[0].message.content)

What works on SandBase

Checked with real calls through SandBase on October 28, 2026.

FeatureWorksNotes
StreamingYesstream: true, with usage in the last chunk when stream_options.include_usage is set.
Tool callingYestools and tool_choice; returns tool_calls.
Image inputYesimage_url parts with an https URL or a data: URI.
Extended thinkingMessages APISend thinking: {"type": "enabled", "budget_tokens": 2000} to /v1/messages; the reply starts with a thinking block. reasoning_effort on Chat Completions has no effect.
Structured outputNoresponse_format on Chat Completions and output_format on Messages are both ignored; the model answers in prose. Describe the JSON you want in the prompt, or define a tool whose input schema is the shape you need.

Limits and parameters

  • Context window: 200,000 tokens.
  • Maximum output: 64,000 tokens per request (max_tokens).
  • Accepts temperature, top_p and stop on Chat Completions, and stop_sequences on Messages.

Example response

Real response to "In two sentences, explain what an API gateway does." through Chat Completions, trimmed.

{
  "id": "431cc58b-9b0…",
  "object": "chat.completion",
  "model": "anthropic/claude-haiku-4.5",
  "choices": [
    {
      "index": 0,
      "finish_reason": "stop",
      "message": {
        "role": "assistant",
        "content": "An API gateway is the single entry point that sits in front of a set of backend services and routes each incoming client request to the service that handles…"
      }
    }
  ],
  "usage": {
    "completion_tokens": 98,
    "completion_tokens_details": {
      "reasoning_tokens": 0
    },
    "prompt_tokens": 18,
    "prompt_tokens_details": {
      "cache_write_tokens": 0,
      "cached_tokens": 0
    },
    "total_tokens": 116
  }
}

Pricing

TokensPrice per 1M
Input$1.00
Output$5.00
Cached input (read)$0.10
Cache write, 5-minute$1.25
Cache write, 1-hour$2.00

Prompt caching works through cache_control blocks on /v1/messages; a repeat call reports the cached prefix as cache_read_input_tokens. Reads cost 10% of the input price.

Related models

Niezależne oceny

Benchmarki

Wyniki na standardowych ocenach, porównane z innymi modelami na SandBase.

Metryki pochodzą z Artificial Analysis · Intelligence Index v5 · Zaktualizowano 2026-11-16

Artificial Analysis Intelligence Index: zestawienie dziesięciu ocen obejmujących rozumowanie, wiedzę, matematykę i kodowanie. Wyższa wartość oznacza lepszy wynik. Claude Haiku 4.5 zajmuje 31. miejsce z 33 modeli na SandBase.

Pytania

FAQ

Jak wywołać Anthropic Claude Haiku 4.5 przez SandBase?

Utwórz klucz API SandBase, a następnie wysyłaj żądania z identyfikatorem modelu "anthropic/claude-haiku-4.5" do Chat Completions API (/v1/chat/completions) lub Messages API (/v1/messages) na https://api.sandbase.ai. Przykłady żądań na tej stronie pokazują dokładny payload.

Ile kosztuje Anthropic Claude Haiku 4.5?

$0.85 za 1M tokenów wejściowych i $4.25 za 1M tokenów wyjściowych z obecnym rabatem 15% (cena katalogowa $1 / $5), rozliczane per request z salda SandBase.

Jaki jest kontekstowy window Anthropic Claude Haiku 4.5?

200K tokenów kontekstu, do 64K tokenów wyjściowych na odpowiedź.

Jakie wyniki Anthropic Claude Haiku 4.5 osiąga w benchmarkach?

Anthropic Claude Haiku 4.5 osiąga wynik 7.4 w Artificial Analysis Intelligence Index (v5), zajmując miejsce #31 spośród 33 modeli w SandBase. Źródło: Artificial Analysis, mierzony jako Claude 4.5 Haiku (Reasoning).

Jakie funkcje obsługuje Anthropic Claude Haiku 4.5?

Anthropic Claude Haiku 4.5 obsługuje widzenie maszynowe (obraz jako wejście), rozumowanie, wywoływanie funkcji, ustrukturyzowane wyjście. Pełna lista znajduje się powyżej w sekcji Specifications.

Czy potrzebuję osobnego konta Anthropic?

Nie. Jeden klucz API SandBase i saldo daje Ci dostęp do Anthropic Claude Haiku 4.5 oraz innych modeli w katalogu; nie musisz osobno zakładać konta u Anthropic.