Call it from your code
from openai import OpenAI
client = OpenAI(base_url="https://devsaio.lol/v1", api_key="dsk_...")
r = client.chat.completions.create(
model="claude-fable-5-2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://devsaio.lol/v1", apiKey: process.env.DEVSAIO_API_KEY });
const r = await client.chat.completions.create({
model: "claude-fable-5-2",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);curl https://devsaio.lol/v1/chat/completions \
-H "Authorization: Bearer $DEVSAIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-fable-5-2","messages":[{"role":"user","content":"Hello!"}]}'export ANTHROPIC_BASE_URL="https://devsaio.lol" export ANTHROPIC_AUTH_TOKEN="dsk_..." export ANTHROPIC_MODEL="claude-fable-5-2" claude
Works with any OpenAI-compatible SDK or tool. Setup guides for Claude Code, Codex and Cursor
What it costs in practice
- A short chat message
- ≈ $0.03 (1K tokens in, 500 out)
- Summarise a long document
- ≈ $0.44 (50K in, 1K out)
- A coding-agent session
- ≈ $4.00 (400K in, 20K out)
Estimates from the list price above. You are charged the exact tokens each call reports. Failed calls are free.
More from Anthropic
All Anthropic models →
New
claude-fable-5Anthropic · Chat & text
claude-fable-5-1Anthropic · Chat & text
claude-haiku-4-5Anthropic · Chat & text
claude-haiku-5-5Anthropic · Chat & text
claude-opus-4-7Anthropic · Chat & text
claude-opus-4-8Anthropic · Chat & text
Input / 1M$10Output / 1M$50
New
Input / 1M$10Output / 1M$50
New
Input / 1M$1Output / 1M$5
New
Input / 1M$0.10Output / 1M$0.50
New
Input / 1M$5Output / 1M$25
New
Input / 1M$5Output / 1M$25
Compare with other labs
Full price list →
New
codex-auto-reviewOpenAI · Chat & text
deepseek-flashDeepSeek · Chat & text
deepseek-v3.2DeepSeek · Chat & text
deepseek-v4-flashDeepSeek · Chat & text
deepseek-v4-flash-vision-expDeepSeek · Chat & text
deepseek-v4-proDeepSeek · Chat & text
Input / 1M$5Output / 1M$30
New
Input / 1M$1.20Output / 1M$0.30
New
Input / 1M$0.28Output / 1M$0.42
New
Input / 1M$0.14Output / 1M$0.28
New
Input / 1M$0.44Output / 1M$1.32
New
Input / 1M$0.435Output / 1M$0.87