Claude Code and Codex Alternatives in Hong Kong (November 2026): Coding Agents You Can Use
Claude Code and OpenAI Codex are not supported for people in Hong Kong. Many other coding agents are. This guide compares them, with the price to start and the page that tells you whether the provider serves Hong Kong. We checked every page on 17 November 2026.
The short answer
- -Claude Code: not supported. Anthropic's Supported Regions Policy, in effect from 12 November 2026, names Claude Code as one of the apps that it covers. It also covers Claude models through cloud platforms and authorized resellers. Use by a person who is physically in an unsupported region is unsupported. Hong Kong is not on the list.
- -Codex: not supported. With OpenAI's own service, Codex uses a ChatGPT sign-in or an OpenAI API key. (Source: OpenAI) Hong Kong is not on OpenAI's list of supported countries for ChatGPT or the API. (Source: OpenAI, API country list)
- -Many other agents work. Open-source agents such as OpenCode, Qwen Code, Kimi Code CLI and Cline connect to any provider that you choose. You can run these agents from Hong Kong. Cursor and GitHub Copilot do not block Hong Kong. For the Chinese providers' coding plans, we found no rule that blocks Hong Kong, but we have not confirmed that you can sign up and pay from Hong Kong.
The Hong Kong government does not block any of these tools. The limits come from the companies. For the full background, see the Hong Kong AI Wall (November 2026).
The comparison
| Tool | Type | Models | Does the provider serve Hong Kong? | Price to start | Caveat |
|---|---|---|---|---|---|
| [OpenCode](/blog/opencode-coding-cli) | Terminal, desktop and web app. Open source (MIT) | Any provider. The OpenCode Go plan includes GLM, Kimi, Qwen, DeepSeek, MiniMax and other models | OpenCode is software that you run. The provider that you connect decides. Go has its own region settings (Go docs) | Free software. Go costs US$10 a month | Go also lists Claude and GPT models. Anthropic's policy covers resellers, so do not use Claude through Go from Hong Kong |
| OpenCode + DeepSeek API | Terminal | deepseek-flash (V4.1-Flash-1017), deepseek-v4-pro | We found no region limit in DeepSeek's API docs. DeepSeek documents the OpenCode setup (DeepSeek) | US$0.15 input (cache miss) and US$0.60 output per million tokens, off-peak (pricing) | DeepSeek is a mainland China company. Peak prices are double, 09:00–12:00 and 14:00–18:00 HKT on weekdays, except Chinese public holidays |
| Qwen Code + Qwen Cloud Token Plan | Terminal, IDE plugins, desktop. Open source (Apache-2.0) | Qwen models. Qwen Code also accepts OpenAI, Anthropic, Gemini and local APIs (GitHub) | The Token Plan page lists no buyer-region limit. You buy and use it only in the Singapore region (Alibaba Cloud) | Lite US$6 a month (US$3 for new users until 30 November 2026) | Interactive use only. Scripts and app backends are out of scope. Prompts and output can cross borders |
| Kimi Code | Terminal (Kimi Code CLI, MIT), VS Code, desktop | Kimi models | Kimi's page gives no region statement (Kimi) | Included in Kimi membership from Plus: ¥99 a month on Kimi's price page (Kimi) | The prices are from the mainland purchase page. Kimi says that the purchase page sets price and eligibility |
| GLM Coding Plan (Z.ai) | Plan for other agents: Claude Code, Codex, OpenCode, Cline, ZCode | GLM-5.3, GLM-5.3-Flash | The plan page gives no region notes (Z.ai) | From US$18 a month | Five-hour and weekly limits. Peak hours are 14:00–18:00 (UTC+8) on weekdays |
| [Cursor](/blog/cursor-hong-kong) | IDE (VS Code fork) | Cursor's own models (such as Composer) and other providers' models | Yes, but Cursor hides models whose provider does not serve your region, including Claude (Cursor) | Free. Plus US$8 a month (Cursor) | Plus does not include third-party models. Expect no Claude models in Hong Kong |
| GitHub Copilot | VS Code, JetBrains and other editors, CLI | Several providers' models | GitHub's trade controls page does not list Hong Kong as a restricted destination (GitHub) | Free. Pro US$10 a month, Business US$19 per seat (GitHub) | We found no GitHub statement about its Claude models in Hong Kong. Free has automatic model selection only |
| Cline | VS Code extension, JetBrains plugin, CLI. Open source (Apache-2.0) | Any provider that you connect, including DeepSeek, OpenAI-compatible APIs, Ollama and LM Studio | Cline is software that you run. The provider that you connect decides (GitHub, DeepSeek setup) | Free software. You pay the model provider | The JetBrains plugin is not open source. Do not choose Anthropic or OpenAI in its provider list from Hong Kong |
| Self-hosting | Ollama, LM Studio, llama.cpp or vLLM, used by OpenCode, Cline or Qwen Code | Open-weight models, such as DeepSeek, Qwen and GLM | No provider. The model runs on your own hardware | Your hardware or GPU rental | Large models need a lot of memory. Models small enough for a laptop are less capable |
Notes on each option
OpenCode
OpenCode is an open-source coding agent for the terminal, the desktop and the browser. (Source: OpenCode) You connect it to a provider with /connect. It is the most flexible choice if you work in a terminal, because you can change the model without a change of tool.
OpenCode also sells two optional services. OpenCode Go costs US$10 a month (Go Plus US$40) and gives monthly, weekly and five-hour limits for a list of open coding models. DeepSeek models in Go need the Global region turned on in your workspace. (Source: OpenCode Go) OpenCode Console is pay-as-you-go, with some models free for a limited time. OpenCode says it hosts most of these models in the US and the EU, but it lists LongCat 2.5 Free as hosted in China. Check where your chosen model is hosted. (Source: OpenCode Console, hosting) See our OpenCode guide.
DeepSeek
DeepSeek's deepseek-flash model has a low price per token, and the off-peak rate is half the peak rate. DeepSeek recommends OpenCode v1.18.30 or later. Prices, peak hours and user reports are in our DeepSeek-V4.1-Flash-1017 guide. DeepSeek is a company in mainland China, so read its terms before you send it client data or confidential code.
Qwen Code and Qwen Cloud
Qwen Code is Alibaba's open-source terminal agent. It works with the Qwen Cloud Token Plan and with other APIs. The Token Plan bills credits, not tokens. It also works with other agents: the plan page names Claude Code, Cursor, Qwen Code, Qoder and OpenClaw. The Personal plans are Lite (US$6), Essential (US$10), Standard (US$18) and Pro (US$43) a month. Each verified identity can have one subscription of each edition, and you cannot share the key. (Source: Alibaba Cloud) For one developer's week of real use and its cost, see Qwen Cloud with a coding agent. That article was written in August, and the plan prices have changed since then.
Kimi Code and the GLM Coding Plan
Moonshot AI includes Kimi Code in its Kimi membership, from the Plus plan up. The Kimi Code CLI, the VS Code extension and the desktop app share one quota. (Source: Kimi) Z.ai's GLM Coding Plan starts at US$18 a month. Z.ai documents it for ZCode, Claude Code, Codex, OpenCode, Cline and other tools. (Source: Z.ai) Neither page says anything about Hong Kong. We have not tested sign-up or payment from Hong Kong for these two plans.
Cursor
Cursor works in Hong Kong. Cursor hides the models of providers that do not serve your region, and it names Anthropic, OpenAI and Google as such providers. Other models continue to work, and Auto chooses an available model. Cursor says that your own API key can still fail if the provider blocks your region. (Source: Cursor) Plans and models are in Cursor in Hong Kong.
GitHub Copilot
GitHub's trade controls page lists the destinations where it restricts Copilot. Hong Kong is not one of them. (Source: GitHub) Copilot also offers Claude models. We found no GitHub statement about Claude in Copilot for Hong Kong users. Anthropic's policy covers Claude through cloud platforms and authorized resellers, so use the other models in Copilot, and ask GitHub before your team depends on Claude there.
Cline
Cline is an open-source coding agent for VS Code, JetBrains IDEs and the terminal. It has Plan and Act modes and asks for approval before it acts. (Source: Cline) Cline documents a DeepSeek setup: choose "DeepSeek" as the API provider and paste your key. (Source: Cline) Roo Code, a similar VS Code agent, archived its GitHub repository, so we do not include it. (Source: Roo Code)
Self-hosting
If your code must not leave your own network, run an open-weight model on your own hardware and connect OpenCode, Cline or Qwen Code to it. See self-hosting DeepSeek in Hong Kong and vLLM, LM Studio and llama.cpp compared. For the licenses of the open models, see the Chinese AI models list (November 2026).
Claude Code or Codex with another model: a grey area
DeepSeek, Qwen Cloud, Kimi and Z.ai all document how to point Claude Code at their own models. For example, DeepSeek gives an Anthropic-format URL, https://api.deepseek.com/anthropic, and a list of environment variables for Claude Code. (Source: DeepSeek)
But Anthropic's Supported Regions Policy names Claude Code as one of the Anthropic apps that it covers, and Hong Kong is not a supported region. We found no Anthropic statement about Claude Code with another company's model. So we cannot tell you that this use is supported.
Codex is similar. The Codex CLI is open source (Apache-2.0), and OpenAI's own docs show how to add other model providers, such as a local Ollama server. (Source: OpenAI) We found no OpenAI statement about Codex with another provider from Hong Kong.
OpenCode, Qwen Code, Kimi Code CLI and Cline have no such question. They are not Anthropic or OpenAI apps.
How to choose
- -You want to pay nothing. Use OpenCode or Cline with a local model through Ollama or LM Studio. Or use the free tiers of Cursor or GitHub Copilot, or the limited-time free models in OpenCode Console.
- -You want an IDE. Use Cursor, GitHub Copilot, or Cline in VS Code with a DeepSeek or Qwen API key.
- -You work in a terminal. Use OpenCode with the DeepSeek API for a low price per token. Use Qwen Code, Kimi Code CLI or a coding plan if you prefer a fixed monthly price.
- -Your company has compliance rules. Find out where each provider processes your code. DeepSeek is in mainland China. The Qwen Cloud Token Plan says that prompts and output can cross borders. OpenCode Console hosts most of its models in the US and the EU, with some exceptions. If code must stay in-house, self-host. If your company used Claude before, read the Hong Kong AI Wall first. Anthropic's policy also covers companies headquartered in Hong Kong, wherever their staff are.
For a wider list of tools that work in Hong Kong, see the HK developer's AI toolkit.
Common questions
Can I use Claude Code in Hong Kong?
Not as a supported use. Anthropic's policy names Claude Code and does not list Hong Kong. Since October 2026, Hong Kong users have reported Claude account suspensions after use through a VPN. (Source: Dimsum Daily)
Can I use Codex in Hong Kong?
Not with an OpenAI account. With OpenAI's service, Codex needs a ChatGPT sign-in or an OpenAI API key, and OpenAI does not support Hong Kong for either. Codex can also use other providers or local models. We have not found a statement on whether that use is supported in Hong Kong.
What is the best Claude Code alternative in Hong Kong?
For most developers who work in a terminal, start with OpenCode and the DeepSeek API, or OpenCode Go. Both are low-cost, and you can change the model later. If you want an IDE, start with Cursor.
Is OpenCode free?
The software is free and open source. You pay the model provider that you connect, unless you use a local model or one of the free models.
Sources
- -Supported Regions Policy — Anthropic
- -ChatGPT and API services in unsupported countries and territories — OpenAI
- -Supported countries and territories — OpenAI API
- -Codex authentication — OpenAI
- -Codex advanced configuration — OpenAI
- -OpenCode docs, OpenCode Go, OpenCode Console
- -Models and pricing — DeepSeek API docs
- -Integrate with OpenCode — DeepSeek API docs
- -Integrate with Claude Code — DeepSeek API docs
- -Qwen Code — GitHub
- -Token Plan Personal Edition — Alibaba Cloud Model Studio
- -Kimi Code membership — Kimi
- -Membership pricing — Kimi
- -GLM Coding Plan overview — Z.ai
- -Regions — Cursor
- -Models and pricing — Cursor
- -GitHub Copilot plans — GitHub Docs
- -GitHub and trade controls — GitHub Docs
- -Cline — GitHub
- -DeepSeek provider — Cline docs
Get notified when we publish new articles and episodes. No spam, just signal.