Models / Anthropic

Claude Haiku 4.5 API pricing

$0.60 in, $3.00 out per million tokens, 40% under Anthropic's list price.

claude-haiku-4-5-20251001managed routeAnthropic SDKOpenAI SDK

Price · per million tokens, USD

TokensAnthropic list priceUplinkSwitchSaving
Input$1.00$0.60-40%
Cached input$0.10$0.06-40%
Output$5.00$3.00-40%
List price: Anthropic's published rate, read October 2026. Same price on every host.

Claude Haiku 4.5 specs

Context window
200,000 tokens
Max output
64,000 tokens
Input
text and image
Released
October 15, 2025

Claude Haiku 4.5 API · base URL and key

Python · Anthropic SDK
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

message = client.messages.create(
    model="claude-haiku-4-5-20251001",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(message.content[0].text)
TypeScript · Anthropic SDK
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const message = await client.messages.create({
  model: 'claude-haiku-4-5-20251001',
  max_tokens: 1024,
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(message.content[0]);
Claude Code
export ANTHROPIC_BASE_URL="https://api.uplinkswitch.com/v1"
export ANTHROPIC_AUTH_TOKEN="sk-uplink-live-..."
export ANTHROPIC_MODEL="claude-haiku-4-5-20251001"
claude
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="claude-haiku-4-5-20251001",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'claude-haiku-4-5-20251001',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/messages \
  -H "x-api-key: sk-uplink-live-..." \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-haiku-4-5-20251001","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.

Claude Haiku 4.5 questions

What is Claude Haiku 4.5?
Claude Haiku 4.5 is a model from Anthropic, released October 15, 2025, with a 200,000-token context window, taking text and image input. Through UplinkSwitch it answers the Anthropic SDK or OpenAI SDK on one key as claude-haiku-4-5-20251001.
How much does the Claude Haiku 4.5 API cost?
$0.60 per million input tokens and $3.00 per million output tokens, with cached input at $0.06. Anthropic's list price is $1.00 and $5.00, so this is 40% under Anthropic's list price.
Is Claude Haiku 4.5 free?
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0021.
What is the Claude Haiku 4.5 context window?
Claude Haiku 4.5 has a 200,000-token context window, with up to 64,000 output tokens per request. It takes text and image input.
What is the Claude Haiku 4.5 model id?
claude-haiku-4-5-20251001. Send it as the model through the Anthropic SDK or OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
How do I get a Claude Haiku 4.5 API key?
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Claude Haiku 4.5 and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.
Does Claude Haiku 4.5 work with Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.uplinkswitch.com/v1, ANTHROPIC_AUTH_TOKEN to your key and ANTHROPIC_MODEL to claude-haiku-4-5-20251001.
Is it the real Claude Haiku 4.5?
Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. Claude Haiku 4.5's latest result: Same fingerprint since Oct 17.