Cline(VS Code)
Cline is an autonomous coding agent in VS Code, supporting both OpenAI-compatible and Anthropic integration methods.
Method 1: OpenAI Compatible (Recommended)
- Open Cline settings and choose OpenAI Compatible for API Provider;
- Fill in:
- Base URL:
https://api.4allapi.com/v1 - API Key:your
sk-token - Model ID:for example
fable-5orgpt-5.6
- Base URL:
- Save to start tasks.
Method 2: Anthropic protocol
Choose Anthropic for API Provider, set the Base URL to https://api.4allapi.com,
and set the API Key to your token. Select a Claude model (for example fable-5).
Recommendations
- Coding agents consume tokens quickly. Set a reasonable quota limit for your token and monitor usage in the console;
- For complex refactoring tasks, choose a model with stronger reasoning. For small changes, switch to a lower-cost model to save money.