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="magi-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: "magi-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":"magi-2","messages":[{"role":"user","content":"Hello!"}]}'Works with any OpenAI-compatible SDK or tool. Setup guides for Claude Code, Codex and Cursor
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
gemini-omni-1.1-flashGoogle · Video
gemini-omni-1.2-flashGoogle · Video
Price$0.1014 / second
New
Input / 1M$1.50Output / 1M$12
New grok-imagine-video-1.5xAI · Video
Price$0.08 / second
New kling-v3-motion-controlKuaishou · Video
Price$0.1286 / second
New kling-v3-omniKuaishou · Video
Price$0.084 / second
New kling-v4Kuaishou · Video
Price$0.157 / second