QCode Documentation

Browse the full Claude Code & Codex documentation by category and find what you need fast

What are you trying to do?

4 common tasks
Start here
🚀
Get running in 5 minutes
First time? Start here
🧭
Pick the right tool & IDE
Claude Code or Codex? Which IDE fits?
💰
Spend less, run longer
Choose models, control context, watch billing
🛠️
Troubleshoot & level up
Diagnose errors, then go further

Full documentation index

56 docs
🚀

Getting Started

9 docs
💡

Core Features

15 docs
CLI Tips
34 practical Claude Code CLI tips to boost your development efficiency
Workflow Tips
Efficient Claude Code development workflows to boost team productivity
Dynamic Workflows
Use Claude Code's Dynamic Workflows to orchestrate dozens to hundreds of background sub-agents for repo-wide review, migration, and research — works through QCode
Output formats: json / text / stream-json
Use claude -p's --output-format to handle Claude Code output in scripts and CI — structured json parsing, real-time stream-json event streams, default plain text, with jq and pipe recipes
AGENTS.md Configuration Guide
AGENTS.md is Codex's project configuration file -- define your AI coding assistant's behavior rules, similar to Claude Code's CLAUDE.md
Best Practices
Best practices for efficient Claude Code usage, a comprehensive guide from project initialization to team collaboration
CLAUDE.md Configuration Guide
Using CLAUDE.md to provide Claude Code with project context and coding conventions
Context Management
Understanding and managing Claude Code's context window, and effectively using commands like /compact and /clear
Cost Optimization Guide
Master Claude Code's cost control techniques to accomplish more with fewer tokens
Model Selection Guide
Understand the characteristics and applicable scenarios of different AI models to make the best choice.
Permission Configuration
Configure Claude Code's permission modes to control which operations require human confirmation
Adaptive Thinking Configuration Guide
Adaptive thinking on Claude Opus 4.8 / Sonnet 4.6 / Haiku 4.5: thinking + effort parameters, differences from the legacy budget_tokens, and quality vs. cost trade-offs
Image Input (Vision)
Feed images to Claude Code: paste, drag-and-drop, or reference a file path so the model can read screenshots, mockups, architecture diagrams, and charts. Powered by QCode.cc vision models — one API Key works across every endpoint.
gpt-image-2 Image Generation and Editing
OpenAI-compatible gpt-image-2 text-to-image + image-edit API: drop in by switching base_url, multi-region endpoints, unified billing with your QCode key
Use QCode with 9router
Add QCode.cc as a custom provider in 9router, a local multi-provider router, for cross-provider fallback and unified management

Advanced

9 docs
💻

IDE Integration

15 docs
VS Code Integration
Use the Claude Code extension in VS Code
JetBrains IDE
Use Claude Code through QCode in IntelliJ IDEA, WebStorm, PyCharm, GoLand, and other JetBrains IDEs
Cline Integration
Use QCode.cc API with the Cline extension in VS Code
Aider Integration
Use the Aider open-source AI coding assistant with QCode.cc API
DeepSeek-TUI Integration
Connect DeepSeek-TUI to QCode.cc: run Claude models in your terminal via an OpenAI-compatible provider
OpenCode Integration
Using OpenCode open-source terminal AI coding assistant with QCode API
CC Switch Setup
Use the CC Switch desktop app to connect QCode.cc to Claude Code and Codex CLI in one click, and switch between multiple providers/accounts instantly
Codex Complete Tutorial
From Installation to Mastery — Complete Usage Guide for OpenAI Codex CLI with QCode.cc
Gemini Integration
Configure Google Gemini CLI with QCode.cc API key
Google Antigravity CLI Integration
Configure Google Antigravity CLI with your QCode.cc API key: edit ~/.config/antigravity/config.toml, set an OpenAI-compatible base_url and a model
Trae Integration
Use the Claude Code extension in ByteDance's Trae IDE (including offline install guide for Trae CN)
Claude Desktop Setup
Configure QCode.cc as a third-party inference gateway in Claude Desktop's developer mode and share a single QCode quota across all your tools
Zed Editor Setup
Connect QCode.cc to the Zed editor via the Agent Client Protocol (ACP) or settings.json, enabling the Opus 4.8 / 4.7 1M-context agent panel and OpenAI-compatible upstreams
Cursor Editor Setup
Connect QCode.cc to Cursor IDE with a custom Anthropic / OpenAI Base URL + API Key, including model config, custom-endpoint limitations, and troubleshooting
Connect SillyTavern to QCode
Chat with QCode.cc's Claude / GPT models in SillyTavern; an honest note on whether gpt-image-2 image generation can be connected, plus alternatives
📖

Reference

8 docs