Grok Build Alternatives with Custom Base URL Support (December 2026)
After Cursor became Grok Build on 30 November 2026, five active tools offer direct custom Base URL routing without a proprietary editor proxy: Cline v4.1.28, Kilo Code and Kilo CLI v7.8.40, OpenCode v2.4.4, Zed v1.31.0, and Claude Code plus Codex CLI. Grok Build excludes BYOK on Free and Plus, restricts personal keys to local Chat and Agent via Grok Build servers, and exposes no native Anthropic Base URL override. As of 2026-12-04, Roo Code is no longer active — it was sunset and archived at v3.54.0 on 15 May 2026.
QCode is an independent third-party model API service, not affiliated with or endorsed by SpaceXSI, xAI, Anthropic, OpenAI, Google, Cline, Kilo Code, OpenCode, or Zed. Facts in this guide were verified on 2026-12-04 against the official documentation linked below.
Updated 2026-12-04
Key facts
- Grok Build transition (2026-11-30): SpaceXSI renamed Cursor to Grok Build, moved sign-in to
accounts.spacexsi.com, and scheduled@Buildto replace@Cursorfrom 7 December 2026. - X Subscription tiers (2026-12-04): Free ($0/mo), Plus ($8/mo or $80/yr), Premium ($30/mo or $300/yr), Super ($100/mo or $1,000/yr), Ultra ($200/mo or $2,000/yr); Free and Plus exclude third-party models and BYOK.
- Grok Build BYOK limits: Local Chat and Agent only (no Tab, Auto, or Cloud Agents), routed through Grok Build servers, no native Anthropic Base URL field, and global OpenAI override conflicts.
- Active alternatives (2026-12-04): Cline
v4.1.28(Apache-2.0), Kilo Code & CLIv7.8.40(MIT), OpenCodev2.4.4(MIT), Zedv1.31.0(GPL-3.0+ / Apache-2.0gpui), and Claude Code + Codex CLIrust-v0.174.0. - Roo Code sunset: Officially shut down and archived read-only on 15 May 2026 at
v3.54.0. - Cline
v4.1.25+rule: OpenAI Compatible Base URLs are sent verbatim without auto-appending/v1. - QCode routing: One
cr_key serves Claude (/api), GPT (/openai/v1,/openai), andgemini-4-neon(/gemini, live 2026-12-03); Carbon, Argon, Hydrogen, and Grok are not listed on QCode.
Why developers leave Grok Build for custom Base URL tools
Developers switch away from Grok Build when they need direct gateway routing, native Anthropic endpoints, or API-only billing without a Grok-first subscription floor. On 30 November 2026, SpaceXSI unified Cursor under Grok Build, moved login to accounts.spacexsi.com (replacing authenticator.cursor.sh), and set 7 December 2026 for @Build to replace @Cursor across Slack, GitHub, Linear, and Jira (see Cursor is now Grok Build).
Per Grok Build's models and pricing docs (checked 2026-12-04), personal plans follow The X Subscription:
- Free ($0/mo) and Plus ($8/mo or $80/yr): First-party Grok and Composer models only; no third-party models or BYOK.
- Premium ($30/mo), Super ($100/mo), and Ultra ($200/mo): Unlock third-party models at API list price (prepaid credit) plus BYOK. Teams seats cost $30/$100/$200 per seat/month, where admins can disable personal keys via "Restrict Personal API Keys".
Four BYOK constraints remain even on paid tiers:
- Server-side routing: BYOK traffic still passes through Grok Build servers to build prompts, requiring a public tunnel for LAN gateways and excluding BYOK from Grok Build ZDR guarantees.
- Chat and Agent only: Tab autocomplete, Auto, Cloud Agents, Automations, and CLI/SDK stay on Grok Build infrastructure.
- No Anthropic Base URL override:
Settings -> Modelshas key slots for OpenAI, Anthropic, Google, Azure OpenAI, and AWS Bedrock, with no native Anthropic Base URL field. - Global OpenAI override conflicts: The pre-rename
Override OpenAI Base URLswitch is global and can break native Anthropic BYOK keys (see Cursor's Override OpenAI Base URL fix).
Active custom Base URL alternatives compared (as of 2026-12-04)
Five actively maintained clients connect straight from your workstation to custom Anthropic, OpenAI, and Gemini gateways with no vendor prompt relay in the middle.
| Tool | Form Factor | License | Verified Version (2026-12-04) | Custom Base URL Protocols | Direct to Gateway |
|---|---|---|---|---|---|
| Grok Build (baseline) | Desktop IDE + TUI | Proprietary | Rebranded 2026-11-30 | OpenAI global override caveat; no native Anthropic override | No (via Grok Build servers) |
| Cline | VS Code extension | Apache-2.0 | v4.1.28 (2026-11-26) |
Anthropic (Use custom base URL), OpenAI Compatible |
Yes |
| Kilo Code & Kilo CLI | VS Code ext + CLI | MIT | v7.8.40 (2026-11-27) |
Anthropic Messages, OpenAI Responses, OpenAI Compatible | Yes |
| OpenCode | Terminal TUI / CLI | MIT | v2.4.4 (2026-11-29) |
Anthropic, OpenAI Responses, OpenAI Compatible, Google (/v1beta) |
Yes |
| Zed | Native Rust editor | GPL-3.0+ / Apache-2.0 (gpui) |
v1.31.0 (2026-12-02) |
anthropic, openai, google, anthropic_compatible, openai_compatible |
Yes |
| Claude Code + Codex CLI | Terminal CLIs | Proprietary / Apache-2.0 | Codex rust-v0.174.0 |
Anthropic Messages (ANTHROPIC_BASE_URL), OpenAI Responses (wire_api) |
Yes |
Key changes across the five tools and Roo Code
- Cline
v4.1.28: Sincev4.1.25(16 Oct 2026), Cline's OpenAI Compatible provider sends Base URLs verbatim without auto-appending/v1(pre-4.1.25 host-only entries migrated once; new configs must include/v1). Native Claude usesAnthropic->Use custom base URL. - Kilo Code & CLI
v7.8.40: Install in VS Code or vianpm install -g @kilocode/cli. Kilo's provider docs useSettings -> Providers -> Custom provider(OpenAI Compatible,OpenAI Responses, orAnthropic Messages), saved to~/.config/kilo/kilo.jsonc. - OpenCode
v2.4.4: Maintained at the OpenCode GitHub repo (formerlysst/opencode). Uses~/.config/opencode/opencode.jsonwith@ai-sdk/anthropic,@ai-sdk/openai,@ai-sdk/openai-compatible, and@ai-sdk/google. - Zed
v1.31.0: Native GPU-accelerated editor configured vialanguage_modelsinsettings.json. Per Zed's API access docs, keep keys out ofsettings.json— use the OS keychain or<PROVIDER_ID>_API_KEYenv vars. - Roo Code (
v3.54.0— Archived): Roo Code, Inc. shut down the extension, Cloud, and Router and archivedRooCodeInc/Roo-Coderead-only on 15 May 2026 to pivot to Roomote. Migrate to Clinev4.1.28, Kilo Codev7.8.40, or OpenCodev2.4.4.
Copy-paste QCode setup for Cline, Kilo Code, OpenCode, Zed, and CLIs
All five tools accept the same QCode cr_your_key when each family hits its native route: Claude (claude-opus-5-5, claude-sonnet-5-5, claude-fable-5-2, claude-haiku-5-5) on https://api.qcode.cc/api, GPT (gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-terra) on https://api.qcode.cc/openai/v1 or /openai, and gemini-4-neon (live 2026-12-03; Carbon, Argon, and Hydrogen are not listed yet) on https://api.qcode.cc/gemini. Listed Chinese models (qwen3.8-max, deepseek-v4.1-flash, kimi-k3.1-pro, glm-5.3) run on /api and /openai/v1 at the live /models rate; Qwen4, GLM-5.4, MiniMax, and Grok are not sold on QCode. Regional endpoints https://asia.qcode.cc and https://us.qcode.cc share the same key.
1. Pre-flight check and Claude Code
Since 27 November 2026, invalid keys return HTTP 401 JSON (invalid_api_key) while valid cr_ keys return HTTP 200. Verify connectivity and launch Claude Code:
# Verify Anthropic and OpenAI endpoints (expect HTTP 200 JSON)
curl -i https://api.qcode.cc/api/v1/models -H "x-api-key: cr_your_key"
curl -i https://api.qcode.cc/openai/v1/models -H "Authorization: Bearer cr_your_key"
# Launch Claude Code directly against QCode
export ANTHROPIC_BASE_URL="https://api.qcode.cc/api"
export ANTHROPIC_AUTH_TOKEN="cr_your_key"
claude --model claude-opus-5-5
2. Cline (v4.1.28) in VS Code
Open Cline Settings (gear icon -> API Provider):
- Claude (
claude-opus-5-5): PickAnthropic, pastecr_your_key, tick Use custom base URL, enterhttps://api.qcode.cc/api(no/v1, no trailing/), and selectclaude-opus-5-5. - GPT (
gpt-6.2-sol): PickOpenAI Compatible, set Base URL tohttps://api.qcode.cc/openai/v1(keep/v1forv4.1.25+), pastecr_your_key, and set Model ID togpt-6.2-sol. See our Cline OpenAI Compatible guide for troubleshooting.
3. Kilo Code & Kilo CLI (v7.8.40) via kilo.jsonc
In VS Code, add Anthropic Messages (https://api.qcode.cc/api/v1, because @ai-sdk/anthropic appends /messages directly) and OpenAI Compatible (https://api.qcode.cc/openai/v1) under Settings -> Providers -> Custom provider. For Kilo CLI, export QCODE_API_KEY="cr_your_key" and write ~/.config/kilo/kilo.jsonc (VCS project configs ignore {env:...}):
// ~/.config/kilo/kilo.jsonc (export QCODE_API_KEY="cr_your_key" for CLI)
{
"$schema": "https://app.kilo.ai/config.json",
"model": "qcode-claude/claude-opus-5-5",
"provider": {
"qcode-claude": {
"name": "QCode Claude",
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://api.qcode.cc/api/v1",
"apiKey": "env:QCODE_API_KEY"
},
"models": {
"claude-opus-5-5": {
"name": "Claude Opus 5.5",
"limit": { "context": 1000000, "output": 128000 }
}
}
},
"qcode-openai": {
"name": "QCode OpenAI",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://api.qcode.cc/openai/v1",
"apiKey": "env:QCODE_API_KEY"
},
"models": {
"gpt-6.2-sol": {
"name": "GPT-6.2 Sol"
}
}
}
}
}
4. OpenCode (v2.4.4) via opencode.json
Wire Claude, GPT, and gemini-4-neon in ~/.config/opencode/opencode.json. Keep exact suffixes: @ai-sdk/anthropic needs /v1 (https://api.qcode.cc/api/v1), @ai-sdk/openai uses https://api.qcode.cc/openai/v1, and @ai-sdk/google requires /v1beta (https://api.qcode.cc/gemini/v1beta) to avoid 404/405:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"anthropic": {
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://api.qcode.cc/api/v1",
"apiKey": "{env:QCODE_API_KEY}"
}
},
"openai": {
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "https://api.qcode.cc/openai/v1",
"apiKey": "{env:QCODE_API_KEY}"
}
},
"google": {
"npm": "@ai-sdk/google",
"options": {
"baseURL": "https://api.qcode.cc/gemini/v1beta",
"apiKey": "{env:QCODE_API_KEY}"
}
}
},
"model": "anthropic/claude-opus-5-5"
}
Export QCODE_API_KEY="cr_your_key" (or run /connect), restart OpenCode, and switch models via /model (details in our OpenCode AI coding guide).
5. Zed (v1.31.0) and Codex CLI (rust-v0.174.0)
Add QCode to Zed's settings.json (stop at /api and /openai/v1), then store cr_your_key in the OS keychain or export QCODE_CLAUDE_API_KEY / QCODE_OPENAI_API_KEY (see Zed AI guide):
{
"language_models": {
"anthropic_compatible": {
"QCode Claude": {
"api_url": "https://api.qcode.cc/api",
"available_models": [
{
"name": "claude-opus-5-5",
"display_name": "Claude Opus 5.5",
"max_tokens": 1000000,
"max_output_tokens": 128000,
"capabilities": { "tools": true, "images": true, "prompt_caching": true }
}
]
}
},
"openai_compatible": {
"QCode OpenAI": {
"api_url": "https://api.qcode.cc/openai/v1",
"available_models": [
{
"name": "gpt-6.2-sol",
"display_name": "GPT-6.2 Sol",
"max_tokens": 272000,
"capabilities": { "tools": true, "images": false, "parallel_tool_calls": true }
}
]
}
}
}
}
For Codex CLI alongside Claude Code, point ~/.codex/config.toml at https://api.qcode.cc/openai with wire_api = "responses" and export QCODE_API_KEY="cr_your_key":
model_provider = "qcode"
model = "gpt-6.2-sol"
[model_providers.qcode]
name = "QCode"
base_url = "https://api.qcode.cc/openai"
wire_api = "responses"
env_key = "QCODE_API_KEY"
requires_openai_auth = false
Which alternative fits your workflow
Pick the client that matches where you edit code. Every option below drops Grok Build's server-side BYOK relay and bills upstream token rates: claude-opus-5-5 at $4/$20 per 1M tokens (flat 1M context, $0.20 cache read), claude-sonnet-5-5 at $2/$10 ($0.10 cache read), gpt-6.2-sol at $2/$10 ($0.10 cache read; >272K total input triggers 2x input / 1.5x output), and gemini-4-neon at $3/$15 ($0.15 implicit cache read, 1M unified context).
- VS Code extension: Pick Cline
v4.1.28for low-friction migration with Remote-SSH and Dev Containers, or Kilo Codev7.8.40if you also want@kilocode/cliandOpenAI Responses. - Standalone native editor: Pick Zed
v1.31.0for Rust speed, OS keychain secrets, and zero mandatory cloud sign-in. - Terminal-first multi-model agent: Pick OpenCode
v2.4.4for Claude, GPT, and Gemini 4 Neon in one TUI, or Claude Code + Codex CLI for each vendor's official harness beside any editor.
For a broader IDE comparison, see Cursor alternatives in 2026.
FAQ
Does Grok Build support a custom Anthropic Base URL?
No. As of 2026-12-04, Grok Build accepts an Anthropic key in Settings -> Models, but offers no dedicated Anthropic Base URL override. Workarounds through the global Override OpenAI Base URL switch can conflict with other BYOK keys.
Why was Roo Code archived, and what should Roo Code users switch to?
Roo Code, Inc. shut down the extension, Cloud, and Router and archived RooCodeInc/Roo-Code as read-only at v3.54.0 on 15 May 2026 to pivot to Roomote. Migrate to Cline v4.1.28 or Kilo Code v7.8.40 in VS Code, or OpenCode v2.4.4 in the terminal.
Why did Cline v4.1.25+ return 404 on my old OpenAI Compatible Base URL?
Starting in v4.1.25 (16 October 2026), Cline stopped auto-appending /v1 to OpenAI Compatible URLs and sends the exact string you enter. Update https://api.qcode.cc/openai to https://api.qcode.cc/openai/v1.
Can one API key run Claude, GPT, and Gemini 4 Neon across these tools?
Yes. One QCode cr_ key authenticates Anthropic (/api), OpenAI (/openai/v1 and /openai), and native Google Gemini (/gemini, live since 2026-12-03). Each model family must be sent to its own protocol path.
Do Cline, Kilo Code, OpenCode, and Zed route prompts through vendor proxy servers?
No. With a custom Base URL configured, all four clients plus Claude Code and Codex CLI send requests directly from your machine to your gateway, unlike Grok Build's server-side BYOK routing.
Can I use OpenCode or Kilo Code with Gemini 4 Carbon, Argon, or Hydrogen on QCode?
No. As of 2026-12-04, only gemini-4-neon ($3/$15 per 1M tokens, $0.15 implicit cache read) is publicly listed on QCode /models. gemini-4-carbon, gemini-4-argon, and gemini-4-hydrogen are not listed on QCode yet.
One key for Claude, GPT, and Gemini 4 Neon across every custom-endpoint tool
Moving off Grok Build does not require three separate vendor accounts. One QCode cr_ key connects Cline, Kilo Code, OpenCode, Zed, Claude Code, and Codex CLI to Claude (claude-opus-5-5, claude-sonnet-5-5, claude-fable-5-2), GPT (gpt-6.2-sol, gpt-6.2-astra), and gemini-4-neon at official API price ×1.0. Listed Chinese models (qwen3.8-max, deepseek-v4.1-flash, kimi-k3.1-pro, glm-5.3) bill at the live /models rate. Try a pay-as-you-go pack from $4 ($30 quota, 7 days valid, stackable) on /pay-as-you-go, or a daily-reset monthly plan from $9 (resets 00:00 UTC+8) on /pricing.