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="gpt-6.2-astra",
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: "gpt-6.2-astra",
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":"gpt-6.2-astra","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.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 OpenAI
All OpenAI models →
New
codex-auto-reviewOpenAI · Chat & text
gpt-5.6-lunaOpenAI · Chat & text
gpt-5.6-solOpenAI · Chat & text
gpt-5.6-terraOpenAI · Chat & text
gpt-6-astraOpenAI · Chat & text
gpt-6-lunaOpenAI · Chat & text
Input / 1M$5Output / 1M$30
New
Input / 1M$0.20Output / 1M$1.20
New
Input / 1M$5Output / 1M$30
New
Input / 1M$2Output / 1M$12
New
Input / 1M$10Output / 1M$50
New
Input / 1M$0.10Output / 1M$0.50
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