Claude Haiku 4.5 API Anthropic

Claude Haiku 4.5 is a text generation model from Anthropic. Call it through TokenMaster with the model ID anthropic/claude-haiku-4.5 from any OpenAI SDK or tool — one API key, one balance, and you pay only for the tokens you use.

Pricing USD per 1M tokens

Input$1.20
Cached input$0.12
Cache write$1.50
Output$6.00

Billed per token from a prepaid balance. Top up from $10 with USDT; no subscription, no minimum monthly spend.

What it costs

One chat turn (1,000 input + 500 output tokens)$0.0042
Summarise a long document (50,000 input + 2,000 output tokens)$0.072
1,000 chat turns a day for 30 days$126.00

Estimates at standard prices, before any cache discount.

Quickstart

Create an API key in the console, then send a standard Chat Completions request with model set to anthropic/claude-haiku-4.5.

curl https://tokenmaster.store/v1/chat/completions \
  -H "Authorization: Bearer $TOKENMASTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "anthropic/claude-haiku-4.5", "messages": [{"role": "user", "content": "Hello!"}]}'
from openai import OpenAI

client = OpenAI(base_url="https://tokenmaster.store/v1", api_key="tm-...")
resp = client.chat.completions.create(
    model="anthropic/claude-haiku-4.5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Details

Model ID
anthropic/claude-haiku-4.5
Developer
Anthropic
Type
text generation
Context window
200K tokens
Origin
Global
Smart routing
Call it directly by ID, or use tokenmaster/auto to let the platform choose a model.
Web search
Add "web_search": true or use anthropic/claude-haiku-4.5:online to let the model search the web and cite sources.
Availability
Following Anthropic's usage policy, it is not available to accounts registered in: China, Hong Kong SAR China, Macao SAR China, Russia, Belarus, North Korea, Iran, Cuba, Syria.

More from Anthropic

Similar price

All model prices → · All integration guides →