Claude Opus 5.5 API
claude-opus-5-5Start hereCache writes 1.25× input
- Input
- $4.40/M
- Cached
- $0.22/M
- Output
- $22.00/M
- Context
- 1M
Price Anthropic’s official price plus 10%, per call. No fee when you buy credit.
Know first Prompt caching is on: a cache write costs more than input, a cache read far less. It always thinks.
API
curl
curl https://api.tokens.pay/v1/chat/completions \
-H "Authorization: Bearer $TOKENS_PAY_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5-5",
"messages": [{"role": "user", "content": "Say hello in five words."}]
}'
Python
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.tokens.pay/v1", api_key=os.environ["TOKENS_PAY_KEY"])
reply = client.chat.completions.create(
model="claude-opus-5-5",
messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(reply.choices[0].message.content)
Node
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.tokens.pay/v1", apiKey: process.env.TOKENS_PAY_KEY });
const reply = await client.chat.completions.create({
model: "claude-opus-5-5",
messages: [{ role: "user", content: "Say hello in five words." }],
});
console.log(reply.choices[0].message.content);
Where it runs
| Step | Where | Stores the prompt |
|---|---|---|
| Tokens.Pay | United States | No |
| Anthropic | Not stated | Its own terms |