Home › Model Docs › Anthropic › Claude Haiku 4.5

Claude Haiku 4.5

Anthropic · Text generation

Official input $1.00 and output $5.00 per 1M tokens; the best seller quote is 95.0% off list.

Pricing

Billing unitPer million tokens
Official input$1.00 / 1M tokens
Official output$5.00 / 1M tokens
Our input$0.049 / 1M tokens
Our output$0.247 / 1M tokens
Deepest seller discount95.0% off
Quoted tiers1 tiers across 4 listing names
Sellers in stock4

Sellers set their own ask as a discount off the official list price, capped at 50%. The figure above is the deepest ask currently in force.

All prices are shown in US dollars; billing and settlement are in CNY.

Parameters

Context window200K tokens
Max output64K tokens
Input modalitiestext, image, file
Output modalitiestext
Modality signaturetext+image+file->text
Endpoints8
Best OpenRouter rank#10

Capabilities

Tool callingVision inputReasoningPrompt cachingStructured output

Measured latency and reliability

Probe median latency (7 days)1.18 s · 1 probes
Probe success rate (7 days)100%

Measured on real traffic through this platform, not vendor benchmarks. Last probe: 2026-11-24.

Monthly cost

Usage levelMonthly volume (example)At list priceAt our priceYou save
Prototyping2M in + 0M out tokens$2.00$0.10$1.90
Small product20M in + 5M out tokens$45.00$2.23$42.77
Mid-size service200M in + 50M out tokens$450.00$22.27$427.73

Example volumes are for scale reference only — billing is per call, pay for what you use. Unit: USD per 1M tokens.

Closest alternatives

ModelVendorList price ($ per 1M input tokens)Our priceDiscount
Claude Haiku 4.5Anthropic$1.00$1.000.0% off
gemini-4-argon-contributorGoogle$1.00$0.05594.5% off
ernie-5.0-thinking-previewBaidu$0.896$0.8960.0% off
ernie-5.0Baidu$0.896$0.8960.0% off
Doubao Seed 2.1 Pro (260628)ByteDance$0.896$0.8960.0% off
amazon.nova-pro-v1:0Amazon$0.800$0.8000.0% off
Gemini 3.8 FlashGoogle$0.750$0.08289.0% off
Gemini 3.8 FlashGoogle$0.750$0.24767.0% off

The eight models nearest in list price on the same billing unit — the quickest way to judge whether this one is expensive at its tier. See live pricing for the full list.

How to call it

curl

curl https://ai.dijinlong.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-haiku-4-5","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI

client = OpenAI(base_url="https://ai.dijinlong.com/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="claude-haiku-4-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Claude Haiku 4.5 is a text model endpoint; point base_url at the address above and use an API key from your dashboard. Any OpenAI-compatible client works unchanged.

Request parameters

Supported request parameters

include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p

Other Anthropic models

Explore

FAQ

How much does Claude Haiku 4.5 cost per million tokens?

The official price is $1.00 for input and $5.00 for output per 1M tokens. The current best seller quote is 95.0% off that. Prices are billed in CNY.

What is the context window of Claude Haiku 4.5?

Claude Haiku 4.5 supports a context window of 200K tokens.

What is the maximum output length of Claude Haiku 4.5?

Claude Haiku 4.5 can return up to 64K tokens in a single response, against a 200K-token context window.

How many supply endpoints serve Claude Haiku 4.5?

8 endpoints currently serve this model on LONG AI, so a single seller outage does not take it offline.

Is Claude Haiku 4.5 cheaper on LONG AI than at list price?

Yes. Sellers list capacity at a discount off the official price, and the deepest quote in force is 95.0% off. You pay the quote you are matched with, per call, with no minimum spend.