How to use OpenCode with Ezkielyna API (OpenAI-compatible provider)
OpenCode accepts custom OpenAI-compatible providers through opencode.json.
As of 2026-11-12, DeepSeek V4.1 Flash costs $0.04 per 1M input tokens and $0.16 per 1M output tokens (read live from the gateway pricing). Ezkielyna is an independent gateway, not affiliated with the model makers.
Updated from live data · Sources: model list · status page
What you need
- OpenCode installed (the opencode command)
- An Ezkielyna API key
Steps
1Top up API Credit
Open ezkielyna.store/api-credit, pick a pack and pay with QRIS, USDT (BEP-20 or Solana), Binance Pay or store balance. A redeem code appears on the order page once payment is confirmed. The balance does not expire and there is no monthly fee.
2Redeem the code and create an API key
Sign in at https://api.ezkielyna.store (if you have no account there, use the Ezkielyna Store sign-in button on that page), open Wallet and paste the redeem code. Then open API Keys and create a key. The Standard group covers DeepSeek, GLM, MiniMax, Qwen and Kimi K2.7; choose Auto if you also want Premium models such as Kimi K3, Claude or GPT with the same key.
3Keep the key in an environment variable
Store the key as an environment variable so it is not written into the config file.
~/.zshrc export EZK_API_KEY="sk-..."4Add the provider
Create or edit opencode.json (in your project folder or in ~/.config/opencode/) and add the Ezkielyna provider.
opencode.json { "$schema": "https://opencode.ai/config.json", "provider": { "ezkielyna": { "npm": "@ai-sdk/openai-compatible", "name": "Ezkielyna API", "options": { "baseURL": "https://api.ezkielyna.store/v1", "apiKey": "{env:EZK_API_KEY}" }, "models": { "deepseek-v4.1-flash": { "name": "DeepSeek V4.1 Flash" }, "glm-5.3": { "name": "GLM 5.3" } } } } }5Pick a model
Run opencode and choose an Ezkielyna model with the /models command.
terminal opencode
If something goes wrong
- Model names in opencode.json must match the model list exactly.
- Add more models with extra lines under models.
Other guides: Cline · Kilo Code · Roo Code · Claude Code · Continue · Python & JavaScript SDK
Prices: DeepSeek · GLM · Kimi · OpenRouter alternative
Try Ezkielyna API
Top up API Credit, redeem the code in the dashboard, create a key and point any OpenAI-compatible tool at https://api.ezkielyna.store/v1. Pay as you go; the balance does not expire.
Bahasa Indonesia: Panduan OpenCode dalam Bahasa Indonesia