Migrating from OpenRouter

Move from OpenRouter to Dynoyard with one base-URL change.

Dynoyard speaks the same OpenAI-compatible API as OpenRouter and returns the same OpenRouter-shaped /v1/models and usage.cost. For the overlapping catalog, migration is a one-line change.

1. Swap the base URL + key

  client = OpenAI(
-     base_url="https://openrouter.ai/api/v1",
-     api_key=OPENROUTER_API_KEY,
+     base_url="https://<your-org>.dynoyard.app/v1",
+     api_key=DYNOYARD_API_KEY,   # sk-dyno-...
  )

Get your endpoint + key from the quickstart (sign in, top up $10, create a key).

2. Map model ids

Dynoyard uses short, stable slugs (no vendor/ prefix). Check GET /v1/models for the canonical ids enabled on your org and update your model strings:

OpenRouter-styleDynoyard slug
moonshotai/kimi-k2-thinkingkimi-k2-thinking
deepseek/deepseek-r1deepseek-r1
qwen/qwen-maxqwen-max-3-7
xiaomi/mimomimo-v2-5-pro

(Exact availability is whatever /v1/models returns for your org.)

3. Everything else stays

What you gain

Gotchas