Overview
Cline is an AI coding assistant extension for VS Code that can use any OpenAI-compatible API. By configuring EURI as an OpenAI Compatible provider in Cline, you can:- Use EURI models from inside VS Code with Cline’s chat and agent features.
- Route all Cline requests through EURI for a single API gateway and billing.
- Switch between EURI models (GPT, Gemini, Claude, Llama, etc.) without changing your Cline workflow.
Prerequisites
Before configuring Cline, ensure you have:- VS Code installed (code.visualstudio.com).
- The Cline extension installed from the VS Code Marketplace or by searching for “Cline” in the Extensions view.
- A valid EURI API key from euron.one/euri.
- The EURI base URL (OpenAI-compatible endpoint):
Configure Cline with EURI
- Open the Cline panel in VS Code (sidebar or command palette: “Cline”).
- Click the settings (gear) icon in the Cline panel to open Cline settings.
- Under API Provider, select OpenAI Compatible (not “OpenAI”).
-
Set the following:
Setting Value Base URL https://api.euron.one/api/v1/euriAPI Key Your EURI API key (e.g. euri-sk_...)Model ID A EURI model ID (see Models) - Save or close the settings. Cline will use EURI for all requests when this provider is selected.
Use the OpenAI Compatible provider in Cline, not the built-in OpenAI provider. The OpenAI Compatible option is what allows you to set a custom Base URL and point to EURI.
Model ID examples
Use the exact model IDs from the EURI API. Common examples:gpt-4o-mini— fast, everyday codinggemini-2.5-flash— large context, fastclaude-sonnet-4-6— strong reasoningllama-4-scout-17b-16e-instruct— open-source option
Verify the integration
- In the Cline panel, start a new chat.
- Ensure the OpenAI Compatible provider (with EURI base URL and key) is selected.
- Send a short prompt, for example:
How it works
Cline sends HTTP requests in the same format as the OpenAI API (e.g.POST /chat/completions). EURI accepts these requests at https://api.euron.one/api/v1/euri and routes them to the model you specified by Model ID. You keep the same Cline workflow while using EURI’s models and billing.
Troubleshooting
Cline can’t connect or returns errors
- Confirm Base URL is exactly
https://api.euron.one/api/v1/euri(no trailing slash, correct path). - Ensure your API Key is valid and active in euron.one/euri (Billing & API Keys).
- Check that you selected OpenAI Compatible as the API provider and that the Model ID matches a supported EURI model.
Model not found or invalid model
- Copy the model ID from the Models page; IDs are case-sensitive and must match exactly.
- If your Cline version has a separate “model” or “default model” setting, set it to the same EURI model ID.
Requests fail after setup
- Verify your EURI account has sufficient quota or wallet balance for premium models.
- Try a non-premium model first (e.g.
gpt-4o-miniorgemini-2.5-flash). - Check firewall or corporate proxy rules if the request never reaches EURI.
Base URL field not visible
- Ensure you are in OpenAI Compatible provider mode (not the default “OpenAI” provider). The Base URL field is shown for the OpenAI Compatible provider.
- Update Cline to the latest version from the VS Code marketplace in case your build is older.
Recommended models for Cline
| Use case | Recommended model |
|---|---|
| Fast everyday coding help | gpt-4o-mini |
| Large-context coding tasks | gemini-2.5-flash |
| Higher-quality reasoning | claude-sonnet-4-6 |
| Open-source option | llama-4-scout-17b-16e-instruct |
Next steps
- Authentication — How EURI API keys work.
- Models — Full list of EURI model IDs.
- Chat Completions — Underlying API format.