Skip to main content
Choose the page by client protocol. Do not mix protocol-specific base URLs: OpenAI-compatible apps usually use /v1, Claude Code and Gemini CLI use the gateway root, and Codex CLI uses /v1 with Responses.

Protocol quick reference

Client or use caseProtocolBase URLCommon group
Claude CodeClaude Messageshttps://api.aiohub.organthropic, claude-bedrock, claude-kiro
Codex CLIOpenAI Responseshttps://api.aiohub.org/v1codex, codex-passthrough
OpenCodeOpenAI Chat Completions or OpenAI Responseshttps://api.aiohub.org/v1openai, codex, opensource
Gemini CLIGemini APIhttps://api.aiohub.orggemini
VS Code (Claude Code)Claude Messageshttps://api.aiohub.organthropic, claude-bedrock, claude-kiro
VS Code (Codex)OpenAI Responseshttps://api.aiohub.org/v1codex, codex-passthrough
OpenAI SDK / general appsOpenAI Chat Completionshttps://api.aiohub.org/v1openai
Embedded GIPOpenAI Imageshttps://api.aiohub.orgopenai, codex*
Self-hosted GIPOpenAI Imageshttps://api.aiohub.orgopenai, codex*
Claude Cowork 3PClaude Messageshttps://api.aiohub.organthropic, claude-bedrock, claude-kiro
ChatboxOpenAI Chat Completionshttps://api.aiohub.org/v1openai, auto
Open-source model clientsOpenAI Chat Completions or Claude MessagesDepends on the client protocolopensource, opensource-discount, opensource-economy
All API keys use the sk- format, but assigned groups control visible models, endpoints, and pricing. auto is a routing control value, not a fixed group; verify the client, model, and endpoint you plan to use.
https://mintcdn.com/qyhfrankgmailcom/--B4GB7WTjd2TEz0/images/common/clients/logos/claude.svg?fit=max&auto=format&n=--B4GB7WTjd2TEz0&q=85&s=479726235c925d415c203874a908ea34

Claude Code

Uses Claude Messages. Set ANTHROPIC_BASE_URL to https://api.aiohub.org.
https://mintcdn.com/qyhfrankgmailcom/--B4GB7WTjd2TEz0/images/common/clients/logos/openai.svg?fit=max&auto=format&n=--B4GB7WTjd2TEz0&q=85&s=19f4b841fced4e7e03466456edf9bea6

Codex CLI

Uses OpenAI Responses. Configure a separate aiohub provider.
https://mintcdn.com/qyhfrankgmailcom/--B4GB7WTjd2TEz0/images/common/clients/logos/opencode-logo.svg?fit=max&auto=format&n=--B4GB7WTjd2TEz0&q=85&s=e9644f7bb1c2d12342347a19656f82b1

OpenCode

Configure an OpenCode provider and choose Chat Completions or Responses by model.
https://mintcdn.com/qyhfrankgmailcom/--B4GB7WTjd2TEz0/images/common/clients/logos/gemini.svg?fit=max&auto=format&n=--B4GB7WTjd2TEz0&q=85&s=74855df7a8ecbc7faffc7175094fe3d2

Gemini CLI

Uses the Gemini API. Set GOOGLE_GEMINI_BASE_URL to the gateway root.
https://mintcdn.com/qyhfrankgmailcom/--B4GB7WTjd2TEz0/images/common/clients/logos/vscode.svg?fit=max&auto=format&n=--B4GB7WTjd2TEz0&q=85&s=f6255f57854fbbc576f36e32bdc609cf

VS Code

Use AIOHub in VS Code through the Claude Code and Codex extensions.

OpenAI-compatible apps

Use this for Cline, Cursor, Continue, Aider, Open WebUI, LibreChat, and similar apps.

Embedded GIP

Use AIOHub’s embedded page for image generation and editing.

Self-host GIP

Deploy your own GPT Image Playground and connect it to AIOHub.

Cherry Studio

Desktop chat client. Fill the provider fields in the app.

LobeHub

Use https://chat.aiohub.org and configure AIOHub in language model settings.

Claude Cowork 3P

Connect the Cowork and Code tabs in Claude Desktop to the AIOHub gateway.

Chatbox

Use an OpenAI-compatible custom provider on mobile, desktop, or web.

Writing SDK code or direct API calls

If you are writing code instead of configuring an existing app, start with API overview and Authentication. Client pages cover app fields and tool-specific setup.

Common setup symptoms

SymptomCheck first
Error path includes /v1/v1Base URL has an extra /v1
Error path repeats /chat/completionsBase URL was set to a full endpoint
Model not foundThe group assigned to the API key may not include that model
Client cannot connectCheck local environment variables, proxy settings, and client configuration
Service returns normally but the client shows failureCheck client response parsing and retry settings