sub2api-opencode
Installation
SKILL.md
Sub2API OpenCode Configuration Guide
Configure Sub2API as an AI provider in OpenCode.
Sub2API is an open-source AI API Gateway (6K+ stars) that converts Antigravity, Claude, OpenAI, and Gemini subscriptions into unified API endpoints. It supports multi-account management, smart scheduling, sticky sessions, token-level billing, and concurrency control.
Official domains: sub2api.org and pincc.ai. Other sites using the Sub2API name may be third-party deployments.
Critical Knowledge
Sub2API Endpoint Architecture
Sub2API exposes different endpoints for different model families and protocols: