OKDBO OKDBO

API Reference

OKDBO · API Reference

A unified AI gateway compatible with OpenAI and Anthropic protocols

Endpoints

Base URLhttps://okdbo.com/v1
Backup domainhttps://api.okdbo.com/v1
AuthenticationAuthorization: Bearer sk-your-key
Anthropic protocolhttps://okdbo.com/v1/messages (x-api-key header)

Get a key: sign in to the console → Tokens → Create token. Official QQ group: 933578870

1. Chat completions (OpenAI-compatible)

POST https://okdbo.com/v1/chat/completions
Authorization: Bearer sk-your-key
Content-Type: application/json

{
  "model": "deepseek-v4.1-flash",
  "messages": [{"role": "user", "content": "Hello"}],
  "stream": true
}
curl https://okdbo.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.2","messages":[{"role":"user","content":"hi"}]}'

2. List models

GET https://okdbo.com/v1/models
Authorization: Bearer sk-your-key

Models and live pricing are also listed under Models.

3. Anthropic protocol (Claude clients)

POST https://okdbo.com/v1/messages
x-api-key: sk-your-key
anthropic-version: 2023-06-01
Content-Type: application/json

{"model":"deepseek-v4.1-flash","max_tokens":64,"messages":[{"role":"user","content":"hi"}]}

4. Client setup

Cherry Studio Chatbox NextChat LobeChat

Claude Code environment variables:

ANTHROPIC_BASE_URL=https://okdbo.com
ANTHROPIC_AUTH_TOKEN=sk-your-key
ANTHROPIC_MODEL=deepseek-v4.1-flash

5. Billing

Official QQ group

QQ group: 933578870 (join for support)

© OKDBO · Official QQ group 933578870 #AllOK · One API. Every Model. All OK.