API Keys

Build with Solus™

Use any HTTP client or SDK. The Solunce API is compatible with the OpenAI request format — drop it in as a replacement.

Manage your keys in the dashboard

API keys are created and managed through your Solunce account. Sign up or log in to create your first key. Free tier includes 10K tokens/day — see plans for more.

Quick start
cURL
Python
Node.js
# Set your key export SOLUNCE_API_KEY="sk-..." curl https://api.7n7.dev/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $SOLUNCE_API_KEY" \ -d '{ "model": "solus-2.1", "messages": [{"role": "user", "content": "Hello"}] }'
from openai import OpenAI client = OpenAI( api_key="sk-...", base_url="https://api.7n7.dev/v1" ) response = client.chat.completions.create( model="solus-2.1", messages=[{"role": "user", "content": "Hello"}] ) print(response.choices[0].message.content)
import OpenAI from "openai"; const client = new OpenAI({ apiKey: "sk-...", baseURL: "https://api.7n7.dev/v1", }); const res = await client.chat.completions.create({ model: "solus-2.1", messages: [{ role: "user", content: "Hello" }], }); console.log(res.choices[0].message.content);

Ready to build?

Free tier gives you 10K tokens/day. Solunce Pro™ unlocks 5M/month and all models for $9.99/mo.