Documentation

Getting started

v0.1

OpenKodo gives you one API key for a curated catalog of frontier closed and open models. Highlights:

  • Claude Haiku 5.5 — Anthropic's fast coding model

  • GPT 6.1 Sol — OpenAI's frontier coding model with a 1.05M context

  • DeepSeek V4 Pro 0813 — deep reasoning and long-horizon planning

  • DeepSeek V4.1 Flash 1017 — fast, inexpensive agent loops

  • GLM-5.3 — strong tool use and multilingual coding

  • Kimi K3.1 Pro — long-context reasoning for large repositories

  • Qwen3.8 Max — a strong alternative for demanding coding work

The API is compatible with the OpenAI Responses API, OpenAI Chat Completions, and the Anthropic Messages format. You can use it with Codex, OpenCode, Claude Code, Cline, Continue, or your own client.

The fastest path is the desktop editor. It ships with the endpoint and model aliases already configured, so there is no key to copy and no JSON to edit.

  1. Download OpenKodo Code for macOS, Windows or Linux.
  2. Open Settings → Accounts → OpenKodo and sign in with the device code the app shows.
  3. The app writes the provider config. Start a session.

Prefer your own editor? Keep reading for an API key, or jump to Claude Code and Codex.

1. Create an account

Sign up at openkodo.dev/register with GitHub or Google. OpenKodo does not use email or password signup, so there is no verification email to wait for. Go and Pro are the only paid plans. An active subscription is required before the API can be used; new accounts do not receive promotional usage.

2. Create an API key

Open Console → API keys → Create key. Copy the key immediately; it is shown only once.

Keys look like this:

ok_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Store the key in an environment variable:

export OPENKODO_KEY="ok_live_..."

3. Send your first request

curl https://api.openkodo.dev/v1/chat/completions \
  -H "Authorization: Bearer $OPENKODO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash-1017",
    "messages": [
      {"role": "user", "content": "Explain this error in one paragraph."}
    ]
  }'

The response includes standard OpenAI fields plus OpenKodo usage headers:

X-OpenKodo-Request-Id: req_...
X-OpenKodo-Credits-Used-Micros: 1840
X-OpenKodo-Credits-Remaining-Micros: 34998160

The same key works with the Responses API:

curl https://api.openkodo.dev/v1/responses \
  -H "Authorization: Bearer $OPENKODO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-pro-0813",
    "input": "Summarize this repository in three bullets."
  }'

4. Use an OpenAI SDK

from openai import OpenAI

client = OpenAI(
    api_key="ok_live_...",
    base_url="https://api.openkodo.dev/v1",
)

response = client.chat.completions.create(
    model="deepseek-v4-pro-0813",
    messages=[{"role": "user", "content": "Review this diff."}],
)
print(response.choices[0].message.content)

5. Use Claude Code

Point Anthropic clients at OpenKodo:

export ANTHROPIC_BASE_URL="https://api.openkodo.dev"
export ANTHROPIC_API_KEY="ok_live_..."

Then run Claude Code as usual. OpenKodo translates Anthropic Messages requests to the upstream model and meters the same way.

6. Choose a model

Start with deepseek-v4.1-flash-1017 for high-volume loops. Move to deepseek-v4-pro-0813 for planning, architecture, and difficult reviews. Use glm-5.3 when tool calling or multilingual output matters. Use kimi-k3.1-pro or qwen3.8-max when you want a different reasoning style.

See Models for rates and context windows.

7. Watch your usage

The console shows:

  • credit balance and remaining plan credits
  • requests, input tokens, output tokens, and cost per request
  • latency and status
  • model mix and daily spend

Export a CSV from Console → Usage for your own accounting.

8. Use the Magpie plugin

The OpenKodo plugin adds OpenKodo to OpenCode and magpie. It shows your plan, credit balance, both 5-hour windows, and the live model catalog, and it configures OpenKodo as an OpenAI-compatible provider.

Install the published tarball:

pnpm add https://openkodo.dev/openkodo-magpie-plugin-0.1.1.tgz

Then sign in with an OpenKodo API key from Console → API keys. The plugin is read-only: it never creates keys, changes plans, or spends credits.

Need help?

Email [email protected]. For billing issues, include your order reference from Console → Billing.