
To get an OpenCode API key (also searched as open code api key), sign up at https://opencode.ai/zen and create an API key in your developer console. OpenCode Zen is a high-performance AI model gateway maintained by the OpenCode team. To gather real-world developer feedback for agentic coding workflows, OpenCode partners with NVIDIA, DeepSeek, Xiaomi and others to offer several Limited-Time Free models.

Step 1: Open https://opencode.ai/zen in your browser. You'll see a clean sign-in panel with two options: Continue with GitHub and Continue with Google.

Step 2: Account Activation & Key Generation. OpenCode Zen requires an initial one-time deposit to activate your account before accessing the free models. The deposited balance remains in your account for other paid models. After depositing, navigate to the API Keys section to generate and copy your key.
**How do I get an OpenCode API key?** Sign up at https://opencode.ai/zen, complete account activation, and generate a free API key in your developer dashboard. You can immediately call 7 free coding models.
**Is the OpenCode API completely free to use?** Yes. Models like Nemotron 3 Ultra Free, [Big Pickle](/models/big-pickle), and DeepSeek V4 Flash Free have zero per-token cost on OpenCode Zen.
OpenCode Zen endpoints are fully OpenAI-compatible. Just set the base URL to https://opencode.ai/zen/v1:
Community Feedback
Comments are tied to your GitHub account — sign in to join the discussion.