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="hy4",
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: "hy4",
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":"hy4","messages":[{"role":"user","content":"Hello!"}]}'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.0021 (1K tokens in, 500 out)
- Summarise a long document
- ≈ $0.04 (50K in, 1K out)
- A coding-agent session
- ≈ $0.38 (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 Other
All Other models →
New
dubbing_v1Other · Chat & text
Input / 1M$75Output / 1M$75
New dubbing_v2Other · Chat & text
Input / 1M$75Output / 1M$75
New eleven_alignment_v1Other · Chat & text
Input / 1M$75Output / 1M$75
New eleven_english_sts_v2Other · Chat & text
Input / 1M$75Output / 1M$75
New eleven_flash_v2Other · Chat & text
Input / 1M$75Output / 1M$75
New eleven_flash_v2_5Other · Chat & text
Input / 1M$75Output / 1M$75
Compare with other labs
Full price list →
New
claude-fable-5Anthropic · Chat & text
claude-fable-5-1Anthropic · Chat & text
claude-fable-5-2Anthropic · Chat & text
claude-haiku-4-5Anthropic · Chat & text
claude-haiku-5-5Anthropic · Chat & text
claude-opus-4-7Anthropic · Chat & text
Input / 1M$10Output / 1M$50
New
Input / 1M$10Output / 1M$50
New
Input / 1M$8Output / 1M$40
New
Input / 1M$1Output / 1M$5
New
Input / 1M$0.10Output / 1M$0.50
New
Input / 1M$5Output / 1M$25