Models › claude-haiku-5-5

claude-haiku-5-5 API

claude-haiku-5-5 is a language model from Anthropic, available on OneFast API behind the same API key as every other model in the catalog.

Pricing

UsagePrice (USD)
Input$0.08 / 1M tokens
Input — cache hit$0.008 / 1M tokens
Cache write (Claude Messages endpoint)$0.10 / 1M tokens
Output$0.40 / 1M tokens
Input (>100K)$0.40 / 1M tokens
Input — cache hit (>100K)$0.04 / 1M tokens
Cache write (>100K)$0.50 / 1M tokens
Output (>100K)$2.00 / 1M tokens

Billed per 1M tokens, pay as you go in USD. Requests exceeding the context threshold (including cache read and write tokens) are billed entirely at the higher tier. Failed requests are not billed. The price shown is the public list price; after signing in, the console shows the price for your own account.

Model details

Model IDclaude-haiku-5-5
ProviderAnthropic
TypeChat

Endpoints

  • POST /v1/messages — Claude Messages (docs)
  • POST /v1/chat/completions — OpenAI-compatible chat (docs)

Quickstart

Create an API key in the console, then call the API:

curl https://api.onefast.ai/v1/messages \
  -H "x-api-key: $API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-5-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

More examples: Claude Messages docs · Quickstart.