Open-weight AI models
for coding and agents.
Model inference behind a standard API. Works with Claude Code, Cursor, VS Code, Codex, and any OpenAI or Anthropic compatible tool.
Models
We serve open-weight models. View the live catalog at GET /models.
Gemma 4 E2B
Offline models (4)
Qwen3.8 27B
DeepSeek V4.1 Flash
GLM 5.3 Flash
MiniMax M3.1 Flash
Connect your tool
Pick your tool and paste in the config. Everything uses the same base URL, https://sevenk.ai/v1, and your API key.
Register sevenk.ai as a custom provider in ~/.config/opencode/opencode.json, then authenticate once via /connect (choose sevenk.ai → key) or by setting SEVENK_API_KEY on the OpenCode server process. Models are discovered from the endpoint automatically.
{
"$schema": "https://opencode.ai/config.json",
"model": "sevenk.ai/qwen3.8-flash-next",
"providers": {
"sevenk.ai": {
"name": "sevenk.ai",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://sevenk.ai/v1",
"apiKey": "{env:SEVENK_API_KEY}"
}
}
}
}pi does no server-side discovery, so list the models in ~/.pi/agent/models.json. contextWindow comes from GET /v1/models; maxTokens is a client-side cap you choose.
// ~/.pi/agent/models.json
{
"providers": {
"sevenk": {
"baseUrl": "https://sevenk.ai/v1",
"api": "openai-completions",
"apiKey": "sk-gw-…",
"compat": { "supportsDeveloperRole": false },
"models": [
{ "id": "qwen3.8-flash-next", "reasoning": true, "input": ["text","image"], "contextWindow": 524288, "maxTokens": 32768 },
{ "id": "gemma4-e2b", "reasoning": true, "input": ["text","image","audio"], "contextWindow": 32768, "maxTokens": 32768 }
]
}
}
}In Cline, Roo Code or Kilo Code pick the OpenAI Compatible provider (not the built-in Ollama or LM Studio ones) so inference rides /v1/chat/completions and the model list comes from /v1/models.
Provider OpenAI Compatible
Base URL https://sevenk.ai/v1
API key sk-gw-…
Model qwen3.8-flash-nextEnter the model id by hand if it does not appear in the picker.
- Settings → Models → Override OpenAI Base URL =
https://sevenk.ai/v1 - Add your API key, then Add Custom Model for each model id and press Verify
- Select the model for Cursor Agent (or chat) in the model picker
Do not prefix model ids with claude-*: Cursor rewrites those to Anthropic's wire format.
Codex CLI does no discovery, so pin the model and point the provider at the gateway in ~/.codex/config.toml, then export SEVENK_API_KEY.
# ~/.codex/config.toml
model = "qwen3.8-flash-next"
model_provider = "sevenk"
[model_providers.sevenk]
name = "sevenk.ai"
base_url = "https://sevenk.ai/v1"
wire_api = "responses"
env_key = "SEVENK_API_KEY"Claude Code speaks Anthropic's Messages API natively, and the gateway answers it at /v1/messages. Point it at the site root with two environment variables and a model, then run claude.
# your shell, or the .env your launcher reads
export ANTHROPIC_BASE_URL="https://sevenk.ai"
export ANTHROPIC_API_KEY="sk-gw-…"
export ANTHROPIC_MODEL="qwen3.8-flash-next"Claude Code calls https://sevenk.ai/v1/messages with its key in the x-api-key header, which is accepted alongside Authorization: Bearer. ANTHROPIC_MODEL must be a model id the gateway serves; the cards above or GET /v1/models list them. Streaming and tool calls work as on the OpenAI routes.
Anything that speaks OpenAI works: SDKs, Aider, LobeChat, n8n, scripts. Stream for long generations; errors keep the OpenAI shape.
curl https://sevenk.ai/v1/chat/completions \
-H "Authorization: Bearer sk-gw-…" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.8-flash-next",
"stream": true,
"messages": [{ "role": "user", "content": "hello" }]
}'import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://sevenk.ai/v1",
apiKey: process.env.SEVENK_API_KEY,
});
const stream = await client.chat.completions.create({
model: "qwen3.8-flash-next",
stream: true,
messages: [{ role: "user", content: "hello" }],
});Get started
Enter your email and we'll send your key.