MODEL REFERENCE / ANTHROPIC

Claude Haiku 4.5
API pricing, 200K context & Python.

Claude Haiku 4.5: exact Anthropic model ID, $1/$5 token pricing, 200K context, caching, extended thinking, API examples and Haiku 5.5 migration.

200Kcontext tokens
$1 / $5input / output per MTok
2026-09-27last verified

SOURCE-VERIFIED EDITORIAL UPDATE · 2026-11-24

Text watermark and current API lifecycle

Anthropic announced on November 16, 2026 that Haiku 4.5 generated text carries its text watermark on supported platforms. Non-default temperature, top_p or top_k settings may result in text without the watermark. The watermark announcement does not change the API's token price or context specification. Anthropic's lifecycle table still lists claude-haiku-4-5-20251001 as active; October 15, 2026 was the earliest possible retirement date, not an actual retirement.

Primary sources: Anthropic release notes — November 16, 2026 · Anthropic model lifecycle table

PRIMARY-SOURCE VERIFIED

Claude Haiku 4.5 at a glance.

Anthropic documents a 200,000-token context window. Input modalities: text + image. Output: text. Pricing status: Official paid API.

MODEL IDclaude-haiku-4-5-20251001
CONTEXT WINDOW200,000tokens
MAX OUTPUT64,000
KNOWLEDGE CUTOFF2025-02
STANDARD INPUT$1.00per 1 million tokens
STANDARD OUTPUT$5.00per 1 million tokens

CAPABILITY CONTRACT

Published model behavior.

EXTENDED THINKING

Manual budget

Use thinking.type=enabled with budget_tokens and reserve output space for the final answer.

INPUT

text + image

Input modalities come from the cited official model documentation.

OUTPUT

text

Output modality and output-limit claims remain separate so an undocumented token cap is not guessed.

PRICING STATUS

Official paid API.

$1.00 input · $0.10 cached · $5.00 output per 1 million tokens.

Standard input, output, cached read and cache-write tokens have different prices. SXF's original calculator below models them separately and distinguishes asynchronous Batch costs.

CLAUDE HAIKU 4.5 / DEVELOPER ANSWER

What is Claude Haiku 4.5?

Claude Haiku 4.5 is Anthropic's October 15, 2025 small, fast Claude model for high-volume text, document extraction, support automation, tool use and focused code tasks. Its exact, pinned Claude API model ID is claude-haiku-4-5-20251001; claude-haiku-4-5 is Anthropic's convenience alias for the same snapshot. It accepts text and images as input and produces text, with a 200,000-token context window, up to 64,000 output tokens and manually configured extended thinking.

Anthropic's published base API prices are $1 per million input tokens and $5 per million output tokens; cached reads can cost $0.10 per million tokens under qualifying prompt-caching requests. These prices refer to the direct Claude API, not necessarily Bedrock, Vertex AI or other cloud providers. Haiku 4.5 is an earlier-generation model that remains active; Anthropic's current small-model successor is Claude Haiku 5.5. A legacy label is not evidence that requests to 4.5 already fail.

Version clarity (checked November 7, 2026)

Haiku 4.5 still uses thinking: {"type":"enabled","budget_tokens":N} for deliberate reasoning. Haiku 5.5 uses thinking: {"type":"adaptive"} instead, a different tokenizer and prompt-length-based pricing. See the migration checklist; do not move an API integration by changing only the model string.

ANTHROPIC MODEL CARD

Claude Haiku 4.5 specs: context, output, thinking and availability.

PINNED MODEL ID

claude-haiku-4-5-20251001

The pinned Claude API snapshot; alias claude-haiku-4-5 resolves to this model.

CONTEXT AND OUTPUT

200K / 64K

200,000 context tokens and 64,000 maximum output tokens. A 200K context is not a promise that every document fits without image/token overhead.

REASONING

Manual extended thinking

Use thinking.type="enabled" and set a budget_tokens target. This is not the adaptive-thinking interface of Haiku 5.5.

INPUT / OUTPUT

Text + image → text

Vision is input-only. Audio and video are not listed as native input modalities on this model card.

KNOWLEDGE CUTOFF

February 2025

Reliable knowledge cutoff reported by Anthropic. Training data cutoff is July 2025, a different field.

MODEL LIFECYCLE

Active

Released October 15, 2025. Retirement was promised no earlier than October 15, 2026; that date is a floor, not proof of retirement.

Find the model on Anthropic's official Haiku 4.5 reference. Availability varies by platform. Anthropic lists model identifiers for the direct Claude API, Amazon Bedrock, Google Cloud and Microsoft Foundry; do not paste a Bedrock model ID into a Claude API request.

SXF ORIGINAL UNIT ECONOMICS

Claude Haiku 4.5 API pricing: $1 input, $5 output, cached tokens and Batch.

Anthropic publishes these base rates in USD per one million tokens. A cached read is not the same as an ordinary input token, and a cache write can cost more than uncached input. The 50%-discount Batch API is for asynchronous requests, not an instant-response option. Recheck Anthropic's live pricing reference before deployment.

Claude Haiku 4.5 direct API rates — official Anthropic list prices
Usage typeUSD / 1M tokensWhen it applies
Standard input$1.00Regular non-cached prompt tokens
Standard output$5.00Generated output, including billed thinking tokens when enabled
Cache read / refresh$0.10Eligible cache hit on previously stored prompt prefix
5-minute cache write$1.25Write eligible reusable prompt prefix with five-minute lifetime
1-hour cache write$2.00Write eligible reusable prefix with one-hour lifetime
Batch input$0.50Batch API, without assuming cache discounts stack identically
Batch output$2.50Batch API, asynchronous delivery

SXF cost equation: (uncached_input × $1 + cache_read × $0.10 + cache_write_5m × $1.25 + cache_write_1h × $2 + output × $5) / 1,000,000. Inputs are token counts, and cached tokens should not also be counted as ordinary input. This is a planning model for standard direct-API usage, excluding service/tool charges, taxes, cloud platform premiums and provider-specific rounding.

SXF-derived direct-API workload examples, excluding external costs
Example task volumeTokens / requestEstimated model bill
1,000 short classifications2,000 uncached input + 500 output$4.50
10,000 short classifications2,000 uncached input + 500 output$45.00
1,000 with 50% input cache hits1,000 uncached + 1,000 cached read + 500 output$3.60
1,000 requests, Batch (no caching)2,000 input + 500 output$2.25

The 50%-cache-hit scenario assumes the same workload and ignores initial cache writes for simplicity; include those writes in a real estimate. Numbers are original SXF calculations from published rates, not observed platform invoices or independently measured output volumes.

SXF interactive Claude Haiku 4.5 token and cache cost calculator

Enter average usage per request and monthly request volume. Unlike a single $/million-token multiplier, this calculator distinguishes cache writes and reads from fresh input. It does not transmit values or make API calls.

Estimated charge / request$0.0045
Estimated monthly API charge$4.50

Estimate: 2,000 input × $1/MTok + 500 output × $5/MTok.

In Batch mode the calculator intentionally ignores cache-read/write inputs and uses the listed 50%-discount base rates, because combining discounts requires separate eligibility checks. Output tokens include any billed extended thinking. For live metering, use Anthropic's response usage values, not only this forecast.

ORIGINAL SXF BREAK-EVEN ANALYSIS

When does Claude Haiku 4.5 prompt caching actually save money?

A repeated system prompt or reference document can be cached only when it meets Anthropic's request and reuse rules. The main economic nuance is the higher write cost versus the cheap read cost. The following example isolates a 1 million-token reusable prefix purely to compare unit rates; it is a rate-normalized illustration, not a feasible single Haiku 4.5 request (the model's context limit is 200K). The same relationship scales down to a valid 10K or 50K prefix.

SXF reusable-prompt economics per 1M equivalent prefix tokens (no output tokens)
Same prefix servedNo cache5m cache (write + reads)1h cache (write + reads)
First request only$1.00$1.25$2.00
2 requests total$2.00$1.35$2.10
3 requests total$3.00$1.45$2.20
10 requests total$10.00$2.15$2.90

Derived threshold: at the listed prices, a five-minute cache can be cheaper once the reusable prefix is served twice (one write and one read), while a one-hour cache becomes cheaper from three services. This only applies if actual cache hits occur before expiration, without extra writes or changed prefixes. Always include the non-cached suffix, outputs and tool costs in a full workload estimate. See Anthropic's caching conditions and invalidation rules.

DEVELOPER QUICKSTART

How to use Claude Haiku 4.5 via the Anthropic API: Python and cURL.

Use the Messages API with the pinned snapshot if reproducibility matters. This example reads ANTHROPIC_API_KEY from the server environment and avoids assuming that the first returned block must be text when extended thinking is active.

Python SDK: simple inference

import os
import anthropic

client = anthropic.Anthropic(api_key=os.environ["ANTHROPIC_API_KEY"])
result = client.messages.create(
    model="claude-haiku-4-5-20251001",
    max_tokens=512,
    messages=[{
        "role": "user",
        "content": "Extract a JSON object with topic and priority from: "
                   "Our billing page is down and customers cannot pay."
    }],
)

for block in result.content:
    if block.type == "text":
        print(block.text)
print(result.usage)  # Inspect metered tokens and cache usage.

cURL: direct Messages API request

curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model":"claude-haiku-4-5-20251001",
    "max_tokens":512,
    "messages":[{"role":"user","content":"Classify this ticket: refund request"}]
  }'

Install with pip install anthropic or use the Messages HTTP endpoint. The example asks for JSON but does not guarantee schema validation; validate responses in application code and use provider-supported structured output modes where appropriate. Store API keys outside browsers and static HTML. Consult the Anthropic Messages API reference for active request fields, usage counters and SDK compatibility.

Manual extended thinking in Haiku 4.5

result = client.messages.create(
    model="claude-haiku-4-5-20251001",
    max_tokens=4096,
    thinking={"type": "enabled", "budget_tokens": 2048},
    messages=[{"role":"user","content":"Compare two solution plans and list risks."}],
)

The thinking budget must leave room for the final answer inside max_tokens, and thinking uses billable output tokens. Set max_tokens deliberately; more thinking may improve a difficult task but can increase latency and spend. Don't copy this manual budget configuration to Haiku 5.5. Read Anthropic's extended-thinking rules.

CURRENT GENERATION / 2026

Claude Haiku 4.5 vs Haiku 5.5: price, context and breaking API changes.

Claude Haiku 5.5 is Anthropic's newer Haiku generation. Its standard direct-API price depends on prompt length per request: up to 100K input prompt tokens, $0.10 input/$0.50 output per MTok; above 100K, $0.50 input/$2.50 output. This is not a flat rate across all prompt sizes, and caching and cloud routing have their own rules. The newer model also uses a tokenizer that produces approximately 30% more tokens from the same text according to Anthropic; token-rate comparisons should therefore not masquerade as measured savings on a real dataset.

Anthropic-published 4.5 vs 5.5 API characteristics (not independent quality scores)
CriterionClaude Haiku 4.5Claude Haiku 5.5
Claude API IDclaude-haiku-4-5-20251001claude-haiku-5-5
Model statusActive, earlier generationCurrent generation
Context window200K tokens1M tokens
Max output64K tokens128K tokens
Base input / output per MTok$1 / $5$0.10 / $0.50 (≤100K prompt); $0.50 / $2.50 (over 100K)
Thinking configurationenabled + budget_tokensadaptive + optional effort control
TokenizerPrevious generationAbout 30% more text tokens for equivalent content, workload-dependent

Haiku 4.5 to 5.5 migration checklist

  1. Replace the pinned Claude API model ID with claude-haiku-5-5; platform IDs vary, so verify Bedrock or Google Cloud names separately.
  2. Recount tokens and revise limits, cost alerts and image budgets; Anthropic documents a changed tokenizer and higher visual-token usage in many cases.
  3. Switch manual thinking: {"type":"enabled","budget_tokens":N} to thinking: {"type":"adaptive"}, or omit the field. Optionally configure output_config.effort.
  4. Read content blocks by type, not content[0], and account for summarized/signature-only thinking changes.
  5. Remove unsupported sampling parameters such as temperature, top_p and top_k on the new model, and avoid assistant message prefill.
  6. Run regression tests for tool calling, response schemas, refusals, prompt injection defenses, p95 latency and quality per dollar before moving production traffic.

Use Anthropic's official Haiku 5.5 migration guide for the full list of restrictions. For side-by-side model selection, see the SXF Haiku 5.5 model reference, Haiku 5.5 vs Sonnet 5.5 and Sonnet 5.5.

REAL WORKLOAD CHOICE

When should you use Claude Haiku 4.5 for coding, classification and agents?

CLASSIFICATION

High-volume routing

Short, bounded labels and spam detection can be cheap to process if you include malformed outputs and retries in the total cost.

EXTRACTION

Document and support triage

Extract fields from text or images, but measure missing-value honesty and exact string/number preservation on your real forms.

FOCUSED CODING

Well-scoped edits

Use for small patches and repetitive code changes. Measure test-pass rate and human corrections before assuming parity with larger Claude models.

SUBAGENTS

Constrained delegated work

Good candidate for narrowly defined subprocesses with tool permissions, cost caps and auditable outputs rather than unrestricted autonomous actions.

NOT RECOMMENDED

Unreviewed high-stakes work

Medical, legal, safety and financial decisions require domain validation and human oversight; a low per-token price is not an assurance of correctness.

NOT RECOMMENDED

Unbounded 2026 agents

Evaluate Haiku 5.5 or Sonnet 5.5 for new deployments, especially when 1M context, adaptive thinking or more advanced tool behavior matter.

Anthropic's 2025 launch reported strong coding and agent benchmarks for Haiku 4.5, but those are provider-reported evaluations under specific datasets and settings; they do not establish a current independent win over Haiku 5.5. SXF's existing evaluation cards below retain their benchmark names, revisions and external provenance. See the SXF AI agent cost guide and agent security controls for system-level decisions.

SXF ORIGINAL EVALUATION DESIGN

SXF research method: 24-task Haiku 4.5 quality-per-dollar evaluation.

This is an original, reproducible experiment specification—not a claim that SXF has executed API calls or measured model accuracy. To compare legacy Haiku 4.5 against Haiku 5.5 or Sonnet 5.5 fairly, preregister 24 consented or synthetic tasks across four work categories, six cases each: structured extraction, support routing, focused coding, and tool-assisted workflow decisions.

Original SXF evaluation plan; metrics defined before testing
Task groupSix-case test designPrimary metric
Data extractionMixed dates, missing fields, conflicting invoices and image/text evidenceField-level precision, recall and hallucinated fields
Support triageUrgent, ambiguous, multilingual and negative-control ticketsMacro F1 and costly false negatives
Focused codingSix isolated patches with hidden regression testsTest-pass rate, review edits and wall-clock time
Tool choicesApproved vs unauthorized tool calls, malformed inputs and cancellationsCorrect routing, authorization violations and task completion

For each task, fix the evidence and rubrics, run three trials per model and capture actual token use, cache hits/writes, batch eligibility, tool fees, retries and measured latency. Anthropic's newer tokenizer requires model-specific usage accounting: count each model's tokens separately rather than copying Haiku 4.5 counts into the 5.5 pricing formula. Report total bill / successful accepted tasks and cost per 100% correct case, with confidence and failure examples. Include failure clusters in the results; a single average can hide security- or accuracy-critical problems.

Start with the original SXF evaluation scorer (Python) and 12 synthetic classification fixtures (JSONL). The fixtures are invented validation strings, not results returned by Anthropic or executed paid tasks; the scorer can be reused for your own labeled outcomes. For broader methodology, see the AI agent evaluation checklist, agent monitoring guide and SXF evaluation registry.

COMMON SEARCH QUESTIONS

Claude Haiku 4.5 FAQ: model ID, price, context, thinking and availability.

What is the Claude Haiku 4.5 model ID?

Use claude-haiku-4-5-20251001 for a pinned Claude API snapshot. The alias claude-haiku-4-5 points to that same model. Bedrock and Google Cloud use platform-specific IDs.

How much does Claude Haiku 4.5 cost per million tokens?

Anthropic's direct Standard API price is $1 per million input tokens and $5 per million output tokens. Cache reads are $0.10/MTok, 5-minute writes $1.25/MTok, one-hour writes $2/MTok; Batch offers a 50% base input/output discount.

What is the Haiku 4.5 context window and maximum output?

The published model card lists 200,000 context tokens and a 64,000-token maximum output. Image inputs consume tokens within the request budget.

Does Claude Haiku 4.5 support extended thinking?

Yes: manual extended thinking uses thinking.type="enabled" and a budget_tokens setting. Adaptive thinking and effort controls belong to newer Claude models such as Haiku 5.5.

Is Claude Haiku 4.5 still available in 2026?

Anthropic currently lists it as active. The statement “not sooner than October 15, 2026” is a retirement commitment, not proof that the model stopped working on that date. Verify the live deprecations list.

Is Haiku 4.5 cheaper than Haiku 5.5?

No on published short-prompt base token rates: Haiku 5.5 begins at $0.10 input/$0.50 output per million, while Haiku 4.5 is $1/$5. The 5.5 price changes above 100K prompt tokens, and its tokenizer produces more tokens for equivalent text. Compare actual model-specific usage and quality before choosing.

Does Haiku 4.5 support images or native audio?

It supports text and image input and text output. Its official model card does not list native audio or video input; use a separate speech service for transcription.

Should I use Claude Haiku 4.5 for AI agents?

It can support constrained tool-based tasks, but test task completion, unauthorized actions, timeout handling, cost and quality. For new projects, review the current Haiku 5.5 and Sonnet 5.5 options as well.

VERIFIED SOURCES AND ORIGINAL WORK

Anthropic documentation, source dates and SXF research limitations.

SXF checked Anthropic's model card, pricing, migration and lifecycle documentation on November 7, 2026. The original catalog verification dated September 27, 2026 and append-only change ledger remain untouched. The cache break-even model, workloads, client-side calculator and 24-task test specification are authored by SXF from public rate inputs. No imaginary latency or quality winner is asserted, and the included benchmark starter does not imply that SXF ran 24 paid tasks.

EXPLORE

Keep the model in context.

OFFICIAL SOURCES

Verification links.

WHAT CHANGED

Claude Haiku 4.5: what changed.

No post-baseline factual changes recorded for Claude Haiku 4.5 since 2026-09-27.

HISTORICAL BASELINE2026-09-27Original ledger snapshot, not the latest source check. See Last verified above.

VERIFIED CHANGE HISTORY

Claude Haiku 4.5 verified history.

Open ledger JSON ↗
BASELINE

Claude Haiku 4.5

Baseline verified: 200,000 context · 64,000 max output · $1.00 input / $0.10 cached / $5.00 output per 1 million tokens

Official evidence ↗

Append-only SXF ledger · 1 verified event · chain head 744b2a3d12d1…

EVALUATION EVIDENCE

Claude Haiku 4.5 benchmark observations.

Evaluation methodology ↗
independentArtificial Analysis

AA-Briefcase 1.1

614 Elo

agentic knowledge work · reasoning reasoning

Evidence ↗
independentArtificial Analysis

Artificial Analysis Intelligence Index 4.3.2

17

composite intelligence · reasoning reasoning

Evidence ↗
independentArtificial Analysis

AA-LCR 1.1

74.0%

long context reasoning · reasoning reasoning

Evidence ↗
independentArtificial Analysis

AutomationBench-AA

3.0%

business automation · reasoning reasoning

Evidence ↗
independentArtificial Analysis · under review

CritPt

0.0%

frontier science reasoning · reasoning reasoning

Evidence ↗
independentArtificial Analysis

GDPval-AA 2.1

735 Elo

professional knowledge work · reasoning reasoning

Evidence ↗
independentArtificial Analysis

Humanity's Last Exam

10.0%

multidisciplinary reasoning · reasoning reasoning

Evidence ↗
independentArtificial Analysis · under review

SciCode

42.0%

scientific coding · reasoning reasoning

Evidence ↗

Scores are shown only with their evaluator, benchmark version and model configuration. They are not merged into a universal model score.