Run the Cline agent on OpenLux
Cline is an agentic coding assistant inside VS Code that supports custom OpenAI-compatible providers. Set the base URL to OpenLux and your agent runs on discounted per-token rates with no subscription.

Set it up in four steps
Install the Cline extension
Install Cline from the VS Code marketplace and open its settings panel from the sidebar.
Choose the OpenAI Compatible provider
In the API configuration select OpenAI Compatible, then set the base URL to https://openlux.lol/v1 and paste your OpenLux key.
Set the model ID
Enter a model exactly as the catalogue names it — gpt-6-astra for quality, deepseek-v4 for long agent loops, qwen3-max for coding-heavy work.
Code with the agent, watch the meter
Every plan step, file edit and diff is a normal API call, metered per token and visible in the OpenLux console while you work.
Configuration
Copy these blocks, replace the placeholder key and you are done.
Cline settings (VS Code)
API Provider: OpenAI Compatible
Base URL: https://openlux.lol/v1
API Key: sk-openlux-...
Model ID: gpt-6-astraModels that fit Cline
GPT-6 Astra
OpenAI · $0.3677 / 1M tokens
Claude Opus 5
Anthropic · $0.4412 / 1M tokens
DeepSeek V4
DeepSeek · $0.0613 / 1M tokens
Qwen3 Max
Qwen · $0.0784 / 1M tokens
The full list is in the model catalogue and the use-case collections.
Cline + OpenLux questions
Is Cline compatible with gateways?
Yes. The OpenAI Compatible provider exists for exactly this case: any endpoint that speaks the OpenAI chat-completions protocol, including OpenLux.
Which model should an agent use?
Agents make many calls per task, so cost per token compounds. DeepSeek V4 and GPT-5.6 Sol are efficient defaults; switch to GPT-6 Astra or Claude Opus 5 for work that needs deeper reasoning.
Can I cap spending?
Usage is metered per token on OpenLux. Top up what you intend to spend and watch the console — there is no subscription to cancel if a project ends.
Will Cline still use tools and diffs?
Yes. Tool calling and streamed responses are supported on the same endpoint, which is what Cline relies on to edit files and run steps.
Connect Cline to OpenLux today
One key covers every model in this guide and the rest of the catalogue, metered in USD with free trial credit to start.