CHMU Hub

Integration Guide

Connect CHMU Hub with your favorite tools and platforms.

Common Settings

Prerequisites

SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

ChatBox

A cross-platform desktop AI client supporting Windows, macOS, and Linux.

  1. Download ChatBox from chatboxai.app or GitHub releases.
  2. Open Settings and click "Add Provider", then select "Custom".
  3. Set the API URL to https://api.chmuhub.com/v1/public.
  4. Paste your CHMU Hub API key in the API Key field.
  5. Select a model from the available model list (e.g. gpt-4o, claude-sonnet-4-20250514).
  6. Save the settings and start a new conversation.
SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

Cherry Studio

A modern AI assistant app with multi-model support and conversation management.

  1. Go to Settings and navigate to "Model Provider".
  2. Click "Add" and select "OpenAI API Compatible".
  3. Enter the CHMU Hub API URL: https://api.chmuhub.com/v1/public
  4. Paste your API key from the CHMU Hub dashboard.
  5. Click Refresh to load available models, then select the one you want.
  6. Return to the chat and pick the newly added provider.
SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

Claude Code

Anthropic's official CLI for Claude. Use CHMU Hub as the backend provider.

  1. Set the environment variable for the base URL.
  2. Set the environment variable for the API key.
  3. Launch Claude Code as usual — it will route through CHMU Hub.

Add these to your shell profile (~/.bashrc, ~/.zshrc):

export ANTHROPIC_BASE_URL="https://api.chmuhub.com/v1/public"
export ANTHROPIC_API_KEY="sk-chmuhub-your-key-here"

Supports claude-sonnet-4-20250514, claude-opus-4-20250514, and other Anthropic models.


Cursor

AI-powered code editor. Route model requests through CHMU Hub for lower cost.

  1. Open Cursor Settings (Cmd/Ctrl + ,) and go to "Models".
  2. Select "OpenAI API" as the provider.
  3. Set the Base URL to https://api.chmuhub.com/v1/public.
  4. Enter your CHMU Hub API key.
  5. Select a model (e.g. gpt-4o, claude-sonnet-4-20250514).
  6. Enable the custom endpoint and start coding.
SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

Cline

VS Code extension for AI-powered coding with autonomous capabilities.

  1. Install the Cline extension from the VS Code marketplace.
  2. Open Cline settings (click the gear icon in the Cline sidebar).
  3. Select "OpenAI Compatible" as the API provider.
  4. Enter the Base URL: https://api.chmuhub.com/v1/public
  5. Paste your CHMU Hub API key.
  6. Choose a model from the model dropdown.
  7. Start a new task and Cline will use CHMU Hub.
SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

Dify

Open-source platform for building AI applications with visual workflows.

  1. Go to System Settings and click "Model Provider".
  2. Click "Add Model Provider" and select "OpenAI-API-compatible".
  3. Set the API endpoint to https://api.chmuhub.com/v1/public
  4. Enter your CHMU Hub API key as the credential.
  5. Add the model names you want to use (e.g. gpt-4o).
  6. Save and select the model in your Dify application workflow.
SettingValue
Base URLhttps://api.chmuhub.com/v1/public
API Keysk-chmuhub-...
ModelChoose from available models

OpenAI SDK

Use the official OpenAI Python or Node.js SDK with CHMU Hub as the backend.

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.chmuhub.com/v1/public",
    api_key="sk-chmuhub-your-key-here",
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.chmuhub.com/v1/public",
  apiKey: "sk-chmuhub-your-key-here",
});

const response = await client.chat.completions.create({
  model: "gpt-4o",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Any library or tool that supports the OpenAI API format will work with CHMU Hub. Just change the base URL and API key.

Integration Guide - CHMU Hub Docs | CHMU Hub