OpenCode: Redefining AI Programming
Open-source AI coding assistant with 120K+ GitHub Stars, 75+ model providers, and multi-agent architecture to supercharge your development
What is OpenCode?
OpenCode is an open-source terminal AI coding assistant driven by the community, featuring a beautiful TUI interface, multi-agent architecture, and 75+ model provider support. Its core philosophy is BYOK (Bring Your Own Key) — developers only pay API costs with no extra subscription.
Core Features
Multi-Agent Architecture
Built-in Coder, Architect, and Ask agents, each optimized for different tasks. Custom agent creation is also supported for a fully personalized workflow.
75+ Model Providers
Natively supports OpenAI, Anthropic, Google, AWS Bedrock, Azure, and more. Switch models freely — no vendor lock-in.
Native LSP Integration
Deep integration with Language Server Protocol for real-time diagnostics, code navigation, and context-aware completions directly in the terminal.
Parallel Sessions
Run multiple coding sessions simultaneously. Handle different tasks in parallel for maximum development throughput.
oh-my-opencode
Community-driven extension system inspired by oh-my-zsh, offering themes, plugins, and shortcuts that supercharge your terminal experience.
Desktop App
Cross-platform desktop application with a modern interface. All the power of the terminal version, wrapped in a polished GUI.
OpenCode vs Claude Code vs Codex
| 对比项 | OpenCode | Claude Code | Codex |
|---|---|---|---|
| 定价 | 免费(BYOK) | $20/月起 | 订阅制 |
| Model Support | 75+ providers (BYOK) | Claude models only | OpenAI models only |
| 运行方式 | TUI + 桌面 + IDE | CLI + IDE | 桌面 + CLI + Web |
| 开源 | MIT 开源 | 闭源 | 部分开源 |
| LSP Integration | Native | None | None |
| 多代理 | 内置 + oh-my-opencode | Agent Teams | Agents SDK |
| 最佳场景 | 模型灵活性、本地模型 | 复杂推理、长链编程 | 自主长时间任务 |
Use with QCode.cc
OpenCode supports any OpenAI-compatible API endpoint. Connect it to QCode.cc's Claude API proxy for the best of both worlds — OpenCode's powerful interface with Claude's top-tier intelligence.
{
"provider": {
"name": "qcode",
"type": "anthropic",
"apiKey": "your-qcode-api-key",
"baseURL": "https://api.qcode.cc"
},
"model": {
"big": "claude-sonnet-4-20250514",
"small": "claude-haiku-4-20250414"
}
}
Low-latency Claude API access optimized for users in China
One API key for the full Claude model family (Opus 4.6 + Sonnet 4.6)
Pay-as-you-go pricing, no subscription required
Start AI Coding Today
Sign up for QCode.cc, get your API key, and pair it with OpenCode or Claude Code to unlock the full potential of AI programming.