OpenCode Zen (BYOK)

Create an API key for OpenCode Zen and add it to AnyRouter.

Route requests through your own OpenCode Zen account (BYOK); no platform credits are charged. You need a API key string. This provider has a free tier or free credits.

Get your API key

  1. Sign in at opencode.ai/auth.
  2. Open API Keys in your account.
  3. Create a key and copy it.

Gotchas

OpenCode Zen has a free tier.

Add it to AnyRouter

  1. Open Dashboard → BYOK, find OpenCode Zen under Available and click Add key.
  2. Paste the key.
  3. Click Save. AnyRouter validates the key against OpenCode Zen first; on failure the dialog shows the upstream error and nothing is saved.
  • Create key: OpenCode Zen console
  • Default base URL (editable on the key form): https://opencode.ai/zen/v1

AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer