Skip to content
English

Switch theme

// I want to solve · Individuals / Enterprise IT / Developers

🧭 Use AI compliantly in mainland China

Compliant ways to use AI in mainland China: filed domestic platforms, self-hosted open-weight models, and grey-market practices to avoid. Access from China has not been tested in this release.

5 steps3 alternatives2 stacks · 1 problemschecked 2026-10-22

How to do it

  1. 01Individuals: prefer filed domestic platforms (Doubao, Kimi, DeepSeek, Qwen, Yuanbao…)
  2. 02Developers: use model APIs on domestic clouds (Alibaba Bailian, Volcengine Ark…)
  3. 03Sensitive data: self-host open-weight models
  4. 04Avoid unknown API relays and shared accounts
  5. 05File/register before offering generative AI services publicly and label generated content

What it costs

Free start

Major domestic assistants are basically free

Pay as you go

Domestic cloud APIs bill per token; see pricing

Team / enterprise

Private deployment cost: see the enterprise private AI scenario

Prices change; the vendor’s official page wins. Subscriptions compared · API prices

Alternatives: which to pick

OptionChoose it when
豆包Free and multimodal
DeepSeekReasoning and coding
阿里云百炼Enterprise API

✓ Good fit

  • Using or offering AI in mainland China

Ready-made stacks

All stacks

Software that helps

All software

🖥️ Local inference & serving

Ollama Local inference & servingv0.40.8 ★ 184k Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. Open source CLIAPI llama.cpp Local inference & servingb11804 ★ 132k LLM inference in C/C++ Open source vllm Local inference & servingv0.31.0 ★ 95k A high-throughput and memory-efficient inference and serving engine for LLMs Open source APICLI cherry-studio Local inference & servingv2.1.4 ★ 53k AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs Open source App LocalAI Local inference & servingv4.11.0 ★ 50k LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required. Open source API exo Local inference & servingv1.0.71 ★ 48k Run frontier AI locally. Open source CLIAPI sglang Local inference & servingv0.5.21 ★ 38k SGLang is a high-performance serving framework for large language models and multimodal models. Open source API mlx Local inference & servingv0.32.3 ★ 29k MLX: An array framework for Apple silicon Open source SDK llamafile Local inference & serving0.10.6 ★ 26k Distribute and run LLMs with a single file. Open source CLIAPI ktransformers Local inference & serving ★ 20k A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations Open source TensorRT-LLM Local inference & servingv1.4.0rc1 ★ 15k TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way. Open source SDKAPI ai-dynamo/dynamo Local inference & servingv1.5.0-kimi-k3-post.1 ★ 8.4k A Datacenter Scale Distributed Inference Serving Framework Open source API lmdeploy Local inference & servingv0.18.0 ★ 8.1k LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Open source APICLI mlx-lm Local inference & serving ★ 7.4k Run LLMs with MLX Open source llama-swap Local inference & servingv262 ★ 5.9k Reliable model swapping for any local OpenAI/Anthropic compatible server - llama.cpp, vllm, etc Open source API gpustack Local inference & servingv2.2.3 ★ 5.9k A GPU cluster manager for high-performance AI model serving (vLLM, SGLang) and on-demand SSH-accessible GPU instances. Open source API lms Local inference & serving ★ 5.4k LM Studio CLI Open source CLI llm-d Local inference & servingv0.10 ★ 4.9k Achieve state of the art inference performance with modern accelerators on Kubernetes Open source API ramalama Local inference & servingv0.25.0 ★ 3.1k RamaLama is an open-source developer tool that simplifies the local serving of AI models from any source and facilitates their use for inference in production, all through the familiar language of containers. Open source CLI LM Studio Local inference & serving0.4.26(Homebrew 当前) Desktop app to download and run local LLMs with an OpenAI-compatible server. Closed / commercial Free macOSWindowsLinux NVIDIA driver Local inference & serving615.78.08 Open source CUDA Toolkit / cuDNN Local inference & servingCUDA 13.4.2 Closed / commercial stable-diffusion-webui Local inference & servingv1.10.1 ★ 165k Stable Diffusion web UI Open source API textgen Local inference & servingv4.9 ★ 48k Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private. Open source API

58 more by category →

Problems & solutions

All problems

Needs in this scenario

  • DEV-05Vendor lock-in, account bans, blocked regions and untrustworthy relays

    Developers · People search for: openai api unsupported region; switch llm provider; claude account banned

  • IND-06Compliant paths despite regional and payment barriers

    Individual developers & researchers · People search for: use chatgpt legally in china; ai tools available in china

  • ENT-05China compliance: filing, domestic IT stacks, bundled tenders

    Enterprise IT · People search for: china generative ai filing; ai regulation china

  • DIS-05Selling abroad and bringing overseas products into China compliantly

    Software publishers · People search for: sell saas from china stripe; launch ai product in china

Official references

Compiled from official documentation on 2026-10-22; not reproduced in our own environment. Follow the official docs if they differ.

Data updated: Solutions & stack guides(UTC+8)