APIrove

Home / Models / Claude / Claude Haiku 5.5

MODEL · CLAUDE · TEXT

Claude Haiku 5.5 API

Use the code below to send your own prompt to the Claude Messages API.

Sign in to get a trial allowance

Send your first request

Replace YOUR_API_KEY with your API key.

curl https://apirove.com/v1/messages \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'anthropic-version: 2023-06-01' \
  -H 'Content-Type: application/json' \
  -d '{"model": "claude-haiku-5-5", "messages": [{"role": "user", "content": "Describe a paper boat on a lake."}], "max_tokens": 128}'
python -m pip install anthropic
from anthropic import Anthropic

client = Anthropic(base_url="https://apirove.com", api_key="YOUR_API_KEY")
print(client.messages.create(
    model="claude-haiku-5-5",
    messages=[{"role": "user", "content": "Describe a paper boat on a lake."}],
    max_tokens=128,
))
Node.js · .mjs
const response = await fetch("https://apirove.com/v1/messages", {
  method: "POST",
  headers: {
    "x-api-key": "YOUR_API_KEY",
    "anthropic-version": "2023-06-01",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({"model": "claude-haiku-5-5", "messages": [{"role": "user", "content": "Describe a paper boat on a lake."}], "max_tokens": 128})
});
console.log(response.status, await response.json());

On sale

Form field extraction

Extract a small set of fields from signup notes. Define how to represent missing information so an absent quantity stays distinct from zero.

Model IDclaude-haiku-5-5

Verified in production on 2026-11-12 (Beijing time)

Endpoints

  • Base URL: https://apirove.com/v1
  • POST /v1/messages
  • Auth: Authorization: Bearer YOUR_API_KEY

Public price

Billing itemUSD rateOfficial priceSavingsUnit
Input · ≤ 100,000 tokens$0.05$0.10Save 50%1M tokens
Output · ≤ 100,000 tokens$0.25$0.50Save 50%1M tokens
Cache read · ≤ 100,000 tokens$0.005$0.01Save 50%1M tokens
Cache write · ≤ 100,000 tokens$0.0625$0.125Save 50%1M tokens
1h cache write · ≤ 100,000 tokens$0.10$0.20Save 50%1M tokens
Input · > 100,000 tokens$0.25$0.50Save 50%1M tokens
Output · > 100,000 tokens$1.25$2.50Save 50%1M tokens
Cache read · > 100,000 tokens$0.025$0.05Save 50%1M tokens
Cache write · > 100,000 tokens$0.3125$0.625Save 50%1M tokens
1h cache write · > 100,000 tokens$0.50$1Save 50%1M tokens

Public USD retail rates. The server renders the public price list of 2026-11-24; the page refreshes them on load. Actual charges are on the Usage page.

Official prices: Anthropic pricing page (checked 2026-11-24). Savings = 1 − our rate ÷ official price, rounded down to a whole percent.

Highlights

  • Provide a field list with a sample value for each field.
  • Use a missing marker for absent quantities and preserve explicit zeroes.
  • Keep a source snippet alongside extracted values for later review.
Six pale strips of different lengths on a terracotta gradient, with a disc at upper right

Use cases

  • Parse event signup notes
  • Extract reservation slots
  • Check loan quantities

How to call it

Replace YOUR_API_KEY and send this request.

bash
APIROVE_API_KEY='YOUR_API_KEY'

curl -X POST https://apirove.com/v1/messages \
  -H 'Content-Type: application/json' \
  -H "x-api-key: $APIROVE_API_KEY" \
  -H 'anthropic-version: 2023-06-01' \
  -d '{
  "model": "claude-haiku-5-5",
  "messages": [
    {
      "role": "user",
      "content": "Note: Afternoon session selected, companion count left blank. Extract session and companion count. Mark missing values as unspecified."
    }
  ],
  "max_tokens": 256
}'

FAQ

Can I put the output straight into a form?

Validate field names, types and allowed values in your application. Ask the submitter to confirm ambiguous entries before saving.

How can I compare this with the earlier Haiku entry?

Include explicit zero, blank and unit-bearing quantities. Compare both outputs to fields filled out by a reader.

What does max_tokens do in the Messages example?

It caps the output for this request. The example allows room for a short answer. Adjust it for your task and inspect the stop reason.

What should I check if the example fails?

Check the /v1/messages URL and the x-api-key and anthropic-version headers. Then verify the exact model ID, messages and max_tokens in the body.

Where can I check current rates for this model?

Find the exact model ID in the public pricing table. Read the input, output and any listed cache rates with the unit shown for each.

Try the same sample with claude-haiku-4-5-20251001. The related entries show the request format for each model.

Get an API key See pricing