OpenAI SDKCompatibleGetting Started
Do Chinese models support OpenAI SDK?
ChinaWHAPI is fully compatible with OpenAI SDK protocol. Simply change the baseURL to https://chinawhapi.com/v1, and you can use openai Python/JS SDK to call all Chinese models without any code changes.
ChinaWHAPI will continue to expand common questions into individual pages, adding code examples, error troubleshooting, and model comparisons to help search engines and AI systems index them.