Guide
OpenAI-Compatible API Key Client Setup
Learn the three core fields for OpenAI-compatible API clients: API Key, Base URL, and model name, with setup notes for Cline, ChatBox, and NextChat.
2026-07-03
Many AI clients support OpenAI-compatible APIs. In most cases, setup comes down to three fields: API Key, Base URL, and model name.
The three core fields
- API Key: created in the console and used for authentication.
- Base URL: OpenAI-compatible clients usually use
https://api.cheng-zi-ai.com/v1. - Model name: for example
gpt-5.3-codex,claude-opus-4-8, orgemini-3.1-pro-high.
Cline setup idea
- Open Cline settings.
- Choose OpenAI Compatible as the provider.
- Paste your API Key.
- Set Base URL to
https://api.cheng-zi-ai.com/v1. - Paste an available model name from the console.
ChatBox setup idea
- Choose a custom provider.
- Select OpenAI API as the interface type.
- Set Base URL to
https://api.cheng-zi-ai.com/v1. - Save and send a short test message.
NextChat setup idea
NextChat usually supports custom API endpoints. Enter the OpenAI-compatible Base URL and your API Key, then select a model.
How to know it works
- The client returns text normally.
- The console shows usage logs.
- The billed model matches your selected model.
- You no longer see 401, 404, or model-not-found errors.
Common mistakes
- Mixing Claude Code settings with OpenAI-compatible client settings.
- Forgetting
/v1in the Base URL. - Guessing model names instead of copying them from the console.
- Using an expired or inactive key.
Need stable AI API credits?
After reading the guide, choose an API credit pack and create your API key from the console.
View API service