Anthropic: Claude Haiku 4.5
LLM -64%Anthropic Claude Haiku 4.5 model (-64% off official $1/$5 list) with 200K context and 90% prompt cache read savings.
Pricing & Cost Calculator
Per-1M token pricing on OpenDesign Go (-64% off list).
| Input Length | Input | Output | Cache Read | Cache Write |
|---|---|---|---|---|
| Standard |
Specs & Parameters
| Parameter | Type | Value / Support |
|---|---|---|
| model | string | claude-haiku-4.5 |
| messages / input | array | text, image, file |
| max_tokens | integer | ≤ 64,000 |
| stream | boolean | SSE token streaming |
| reasoning_effort | string | budget_tokens (manual extended thinking) (default: extended thinking) |
| tools / response_format | object | Function calling & JSON schema |
Routing, Reliability & Privacy
Managed upstream routing with automatic failover, locked public pricing, and zero data retention.
API
Call claude-haiku-4.5 using Anthropic Messages & OpenAI Compatible.
Set your OpenDesign Go API key
export COROUTER_API_KEY="YOUR_API_KEY" # Base URL: https://amr-link.open-design.ai
Make your first request
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "claude-haiku-4.5",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "claude-haiku-4.5",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="claude-haiku-4.5",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "claude-haiku-4.5",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);Inspect response payload & HTTP errors
{
"id": "chatcmpl_od_01j9x7k2m8",
"object": "chat.completion",
"model": "claude-haiku-4.5",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Here is the streaming handler implementation..."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 50000,
"completion_tokens": 4000,
"total_tokens": 54000,
"prompt_tokens_details": {
"cached_tokens": 40000
}
}
}
HTTP 401 Unauthorized Invalid or missing Bearer COROUTER_API_KEY.
HTTP 403 Forbidden Workspace key lacks permission for this model or endpoint.
HTTP 404 Not Found Unknown model ID or unavailable endpoint path.
HTTP 429 Too Many Requests Workspace rate limit, concurrency cap, or credit limit reached.
HTTP 502 Bad Gateway Upstream provider returned an error after automatic failover.
HTTP 503 Service Unavailable Upstream provider temporarily unavailable; retry with backoff.
Coding Agents
Pre-filled configurations for Claude Haiku 4.5 across supported coding tools.
export ANTHROPIC_BASE_URL="https://amr-link.open-design.ai"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_API_KEY=""
export ANTHROPIC_MODEL="claude-haiku-4.5"
claude{
"$schema": "https://opencode.ai/config.json",
"provider": {
"corouter": {
"npm": "@ai-sdk/openai-compatible",
"name": "OpenDesign Go",
"options": {
"baseURL": "https://amr-link.open-design.ai/v1",
"apiKey": "{env:COROUTER_API_KEY}"
},
"models": {
"claude-haiku-4.5": {
"name": "Claude Haiku 4.5"
}
}
}
},
"model": "corouter/claude-haiku-4.5"
}model_provider = "corouter"
model = "claude-haiku-4.5"
[model_providers.corouter]
name = "OpenDesign Go"
base_url = "https://amr-link.open-design.ai/v1"
env_key = "COROUTER_API_KEY"
wire_api = "responses"hermes model
# Select: custom OpenAI-compatible endpoint
# Base URL: https://amr-link.open-design.ai/v1
# API key: YOUR_API_KEY
# Model: claude-haiku-4.5brew install --cask cc-switch
# Add OpenDesign Go API Key
# Base URL: https://amr-link.open-design.ai
# Model ID: claude-haiku-4.5Compare Models
Side-by-side pricing, context window, and 50K-token coding turn estimate.
| Model | Provider | Context | Input | Output | Cache Read | 50K Turn |
|---|---|---|---|---|---|---|
| Anthropic | 200K | |||||
| Anthropic | 1M | |||||
| Anthropic | 1M | |||||
| OpenAI | 1.05M | |||||
| OpenAI | 1.05M |
Frequently Asked Questions
Claude Haiku 4.5 (claude-haiku-4.5) is priced at $0.36/1M input and $1.8/1M output on OpenDesign Go (-64% off official list of $1/$5), with prompt cache reads at $0.036/1M ($0.1 list, -90%).
Claude Haiku 4.5 supports Text + Image + File → Text with a 200K context window and up to 64,000 output tokens.
Yes. Claude Haiku 4.5 supports reasoning_effort levels (budget_tokens (manual extended thinking)) with a default of extended thinking.
Cached prompt reads on Claude Haiku 4.5 are billed at $0.036/1M tokens (-90% vs standard input), with cache writes at $0.45/1M.
Yes. Copy the pre-filled configuration in the Coding Agents section above, set model to "claude-haiku-4.5", and replace YOUR_API_KEY with your OpenDesign Go key.
No. OpenDesign Go enforces Zero Data Retention and records only account, model, token counts, and usage cost — never prompt or response bodies.
More models from Anthropic
View provider pageExplore more models
Full directoryClaude Haiku 4.5 API
https://amr-link.open-design.ai
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "claude-haiku-4.5",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "claude-haiku-4.5",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="claude-haiku-4.5",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "claude-haiku-4.5",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);