Quickstart

Get started in 30 seconds

from openai import OpenAI

client = OpenAI(
    api_key="lk_your_api_key_here",
    base_url="https://lowkeyai.top/api/v1",
)

response = client.chat.completions.create(
    model="gpt-6-luna",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

Base URL & Endpoints

https://lowkeyai.top/api/v1

Chat Completions

POST /chat/completions

List Models (public)

GET /models

Create Deposit (dashboard session)

POST /billing/deposit

User Balance (dashboard session)

GET /user/balance

Deposit & balance endpoints are dashboard features — they use your logged-in browser session, not the public Bearer lk_ key.

Authentication

All API requests require an API key in the Authorization header:

Authorization: Bearer lk_your_api_key_here
  • Keys are prefixed with lk_
  • Create and manage keys in your dashboard
  • Set custom rate limits per key (RPM/TPM)
  • Keys are hashed - we cannot recover lost keys
  • Rotate keys regularly for security

OpenCode Integration

OpenCode supports LowKeyAI as a custom OpenAI-compatible provider. Add the config and start coding.

{ "$schema": "https://opencode.ai/config.json", "provider": { "lowkeyai": { "npm": "@ai-sdk/openai-compatible", "name": "LowKeyAI", "options": { "baseURL": "https://lowkeyai.top/api/v1", "apiKey": "{env:LOWKEYAI_API_KEY}" }, "models": { "gpt-6-luna": {}, "claude-opus-5-5": {}, "gemini-3.1-flash": {}, "deepseek-v4.1-pro": {} } } }, "model": "lowkeyai/gpt-6-luna" }

1. Install OpenCode: curl -fsSL https://opencode.ai/install | sh

2. Create the config at ~/.config/opencode/opencode.json

3. Put your API key in the environment: export LOWKEYAI_API_KEY="lk_..."

4. Run opencode and pick a LowKeyAI model with /models

Supported Model Families

🤖OpenAI

GPT-6 Luna, GPT-6 Sol, GPT-5.6, GPT-5.5

🧠Anthropic

Claude Opus/Sonnet/Haiku 5.5

✨Google

Gemini 3.1 Flash/Lite, 3 Pro Image

🔍DeepSeek

V4.1 Pro/Flash

🚀xAI

Grok 4.5-4.7

🌙Moonshot

Kimi K3

📊Zhipu

GLM 5.3, 5.3 Flash

📝Alibaba

Qwen 3.8, Wan 2.7

🎬ByteDance

Seedance 2.0/2.5

🎥Kuaishou

Kling 2.6/3.0

🎞️MiniMax

H3 Video

🐎HappyHorse

1.1 Video