Bun-based open-source coding agent (sst.dev/opencode). Uses the AI SDK with first-class OpenAI Responses support.
Paste one command, paste your API key, pick opencode — the script installs it if it's missing and writes the config for you. No files to edit; your old config is backed up.
Open a terminal and paste:
curl -fsSL https://g0i.ai/install.sh.txt | bash
Re-run it any time to switch key or model. Prefer doing it by hand? The manual steps are below.
opencode picks up OPENAI_BASE_URL and OPENAI_API_KEY automatically. No config file edit needed for the basics.
export OPENAI_BASE_URL=https://api.g0i.ai/v1 export OPENAI_API_KEY=sk-...your-key... # Run opencode in any project: opencode # Or use a different model: opencode --model gpt-6.1-sol
Any of these can be used in opencode. Pick by task — see the full catalog at Models & Pricing.
gpt-5.6-solgpt-6.1-solgpt-6-lunaChoose a subscription, add pay-as-you-go credits, or redeem a community voucher.