Third-Party Service Library

Explore the availability of popular developer tools and online services in mainland China.

Availability of OpenAI API in China

Suggest a Correction

OpenAI API

Artificial Intelligence (AI)

The Service

The OpenAI API provides powerful AI capabilities via endpoints for text generation (GPT‑3.5, GPT‑4), embeddings, code generation, and image generation (DALL·E). It's widely used in chatbots, content creation, summarization, analysis, search, and more. The API supports REST and streaming responses and integrates easily with web, mobile, and backend frameworks. Developers benefit from continuous model updates, fine-tuning, and a scalable pay-as-you-go pricing model.

Availability in China

This service is not accessible in mainland China due to regional network restrictions.

As of July 9, 2024, OpenAI officially blocked API access from mainland China, Hong Kong, and Macau—all non-supported regions - not including Taiwan. Despite intermittent workarounds, API calls are frequently rejected or result in account suspension. Chinese developers previously reliant on OpenAI are now transitioning to domestic models - Baidu ERNIE, Alibaba’s Tongyi Qianfan, iFlytek - often incentivized to migrate. While Microsoft’s Azure OpenAI remains accessible via China-compliant Azure China, it requires enterprise-level enrollmen. For apps targeting China, region-based abstraction layers are strongly advised, or switching entirely to local AI model APIs.

Disclaimer

The information regarding service availability in China is provided for general reference purposes only. Due to the dynamic nature of network conditions and regulatory environments, the actual accessibility of these services may vary over time and by location. Users are advised to verify the current status independently.

Excited to grow in China?

Reach out today to start your China app journey!