Integration docs

One endpoint.
Your existing tools.

Use ModelKlub as an OpenAI-compatible or Anthropic-compatible provider. Keep your workflow; change the key and base URL.

Connection presetsChoose the protocol your client expects
OpenAI-compatible
Base: https://api.modelklub.eu.cc/v1POST https://api.modelklub.eu.cc/v1/chat/completions

Use this for OpenAI SDKs, VS Code extensions, Kilo Code, Hermes providers, and compatible tools.

Anthropic-compatible
Base: https://api.modelklub.eu.ccPOST https://api.modelklub.eu.cc/v1/messages

Use this as the root endpoint for Anthropic SDKs and Messages API requests.

01 / Standard SDK

OpenAI SDK

Install the official OpenAI SDK. Point its base URL at ModelKlub, then select any enabled model from the live catalog.

openai.js
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'mk_your_key_here',
  baseURL: 'https://api.modelklub.eu.cc/v1'
});

const response = await client.chat.completions.create({
  model: 'claude-sonnet-5',
  messages: [{ role: 'user', content: 'Hello from ModelKlub.' }]
});

02 / Standard SDK

Anthropic SDK

Use the same ModelKlub key in the Anthropic client. The root endpoint is the only connection value that changes.

anthropic.js
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({
  apiKey: 'mk_your_key_here',
  baseURL: 'https://api.modelklub.eu.cc'
});

const message = await client.messages.create({
  model: 'claude-sonnet-5', max_tokens: 300,
  messages: [{ role: 'user', content: 'Hello from ModelKlub.' }]
});

03 / Editors and agents

Point your favorite environment here.

Each setup uses your own mk_… key. Paste the matching values into its custom provider screen and choose an enabled model.

VS CODE

Continue and compatible extensions

Add an OpenAI-compatible provider with the ModelKlub base URL and your key.

KILO CODE

OpenAI Compatible

Choose OpenAI Compatible in provider settings, then paste the ModelKlub values.

CLAUDE CODE

Compatible bridge

Export the gateway environment variables for your bridge or compatible provider.

HERMES AGENT

Custom provider

Add a custom OpenAI provider in Hermes configuration and select a ModelKlub model.

Need help connecting?

Bring the error.
We will bring context.

Use the ModelKlub Discord for setup questions, plan changes, and account support.

Open Discord