Skip to main content

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.
EURI exposes the same request/response shape as the OpenAI API, so Cline works with EURI without any code changes—you only set the base URL, API key, and model ID.

Prerequisites

Before configuring Cline, ensure you have:
  1. VS Code installed (code.visualstudio.com).
  2. The Cline extension installed from the VS Code Marketplace or by searching for “Cline” in the Extensions view.
  3. A valid EURI API key from euron.one/euri.
  4. The EURI base URL (OpenAI-compatible endpoint):
https://api.euron.one/api/v1/euri

Configure Cline with EURI

  1. Open the Cline panel in VS Code (sidebar or command palette: “Cline”).
  2. Click the settings (gear) icon in the Cline panel to open Cline settings.
  3. Under API Provider, select OpenAI Compatible (not “OpenAI”).
  4. Set the following:
    SettingValue
    Base URLhttps://api.euron.one/api/v1/euri
    API KeyYour EURI API key (e.g. euri-sk_...)
    Model IDA EURI model ID (see Models)
  5. 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 coding
  • gemini-2.5-flash — large context, fast
  • claude-sonnet-4-6 — strong reasoning
  • llama-4-scout-17b-16e-instruct — open-source option
See Models for the full list of supported EURI model IDs.

Verify the integration

  1. In the Cline panel, start a new chat.
  2. Ensure the OpenAI Compatible provider (with EURI base URL and key) is selected.
  3. Send a short prompt, for example:
Write a one-line summary of what an API gateway is.
If the request succeeds and you get a reply, Cline is correctly using EURI.

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-mini or gemini-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.
Use caseRecommended model
Fast everyday coding helpgpt-4o-mini
Large-context coding tasksgemini-2.5-flash
Higher-quality reasoningclaude-sonnet-4-6
Open-source optionllama-4-scout-17b-16e-instruct

Next steps