Docs

Connect Claude Code, Cursor, and Cline to Euclid's EU API. Anthropic and OpenAI-compatible base URLs, authentication, and model ids.

Base URLs

Anthropic
https://euclid.se
OpenAI-compatible
https://euclid.se/v1

POST /v1/messages · POST /v1/chat/completions

Developer tools

Anthropic format for Claude Code / Cline Anthropic provider. OpenAI-compatible format for Cursor, Cline OpenAI Compatible, Continue, and similar tools.

  1. 1

    Open model settings

    Cursor → Settings → Models (or Cursor Settings → Models).

    Cursor Settings · Models
    OpenAI API Key
    API Key
    eucl_… (from dashboard)
    Override OpenAI Base URL
    Base URL
    https://euclid.se/v1
    Model
    euclid-sonnet-4-5
  2. 2

    Paste Euclid values

    Turn on OpenAI API key + Override OpenAI Base URL. Paste the base URL and your key from the Euclid dashboard.

    Euclid dashboard · API keys
    Create API key
    Shown once — paste into your tool, not into public configs.
    Key
    eucl_••••••••
  3. 3

    Pick the model

    Add a custom model with id euclid-sonnet-4-5 (not Cursor’s built-in Claude names), then select it in Chat / Agent.

    Cursor Settings · Models
    OpenAI API Key
    API Key
    eucl_… (from dashboard)
    Override OpenAI Base URL
    Base URL
    https://euclid.se/v1
    Model
    euclid-sonnet-4-5

Authentication

Pass your Euclid key as x-api-key: eucl_… or Authorization: Bearer eucl_….

Hosted models

  • claude-haiku-4-5 — Claude Haiku 4.5 (Fast)
  • deepseek-v3.2 — DeepSeek V3.2 (Value)
  • claude-sonnet-4-5 — Claude Sonnet 4.5 (Latest)
  • claude-opus-4-5 — Claude Opus 4.5 (Best)

All hosted models

  • claude-haiku-4-5 / euclid-haiku-4-5 — Claude Haiku 4.5 · latest in tier · use euclid-* id in Cursor
  • deepseek-v3.2 / euclid-deepseek-v3.2 — DeepSeek V3.2 · latest in tier · use euclid-* id in Cursor
  • claude-sonnet-4-5 / euclid-sonnet-4-5 — Claude Sonnet 4.5 · latest in tier · use euclid-* id in Cursor
  • claude-opus-4-5 / euclid-opus-4-5 — Claude Opus 4.5 · latest in tier · use euclid-* id in Cursor

Fable

Awaiting an AWS Bedrock EU geo profile. US/Global CRIS would leave the EU, so Euclid does not route Fable yet.

  • claude-fable-5-1 — Claude Fable 5.1 · not hosted
  • claude-fable-5 — Claude Fable 5 · not hosted

Create a key on API keys, then add credits on Billing.