Cline + APIMaster.ai
Configure Cline in VS Code or Cursor with OpenAI Compatible provider and apimaster.ai.
Cline (saoudrizwan.claude-dev) is an autonomous coding agent for VS Code / Cursor. Use OpenAI Compatible with APIMaster’s base URL and model id.
Get API Key first. Copy model id from the marketplace.
Prerequisites
- VS Code or Cursor
- APIMaster API Key
- Target model id from the marketplace
Step 1 — Install Cline
Search Cline by saoudrizwan in Extensions and install.

code --install-extension saoudrizwan.claude-dev
Step 2 — API settings
- Open the Cline sidebar.
- Click Settings (gear icon).
- Open API Configuration.

| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://apimaster.ai/v1 |
| API Key | Your APIMaster key |
| Model ID | Marketplace id, e.g. claude-sonnet-4-6, gpt-5.5 |
Click Done.
Step 3 — Chat
Send a test message. The footer should show openai-compat:<model-id>.

Model ids (examples)
claude-haiku-4-5, claude-sonnet-4-6, claude-opus-4-8, gpt-5.4, gpt-5.5, deepseek-v4-pro, minimax-m3 — see marketplace.
Troubleshooting
| Issue | Fix |
|---|---|
| 401 | Check API Key |
| 404 | Re-copy Model ID from marketplace |
| Wrong provider | Set OpenAI Compatible, click Done |