Quickstart
From zero to first call in 60 seconds
If you can call OpenAI, you can call Luminet.
- 1
Get your API key
Sign up for a free account — you'll get $5 in credits and access to 100+ models. Generate a key from the API Keys page.
- 2
Install the OpenAI SDK
Luminet is OpenAI-compatible, so any official or community SDK works. No proprietary client needed.
- 3
Point the SDK at our base URL
Change baseURL to https://api.luminet.ai/v1 and use any model from the catalog as the model parameter.
- 4
Make your first call
Send a chat completion request like you would to OpenAI. The response shape is identical.
install.sh
# Node / Bun bun add openai # Python pip install openai
first-call.ts
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.luminet.ai/v1",
apiKey: process.env.LUMINET_API_KEY,
});
const resp = await client.chat.completions.create({
model: "anthropic/claude-sonnet-4.6",
messages: [{ role: "user", content: "Say hi in one word." }],
});
console.log(resp.choices[0].message.content);That's it. Switch model strings to try GPT-5, Gemini 2.5, DeepSeek V4, or any of the 100+ available.