Integrations
Connect AI Nexus to Claude Code, Codex CLI, CC Switch, Cursor, Cline, Cherry Studio, LangChain, Dify and other common tools.
Most AI apps need only three values to connect to AI Nexus:
| Setting | Value |
|---|---|
| API Key | A key (sk-...) created on the console's API Keys page; see API Keys |
| Base URL (OpenAI-compatible) | https://ai.myaiexp.com/v1 |
| Base URL (Anthropic / Claude-native) | https://ai.myaiexp.com (no /v1) |
Model names must exactly match what GET /v1/models returns. The current model list is on the model square.
Protocol per app
Each tool calls a different endpoint:
| App | Protocol / endpoint | Base URL |
|---|---|---|
| Claude Code | Claude-native Messages (/v1/messages) | https://ai.myaiexp.com |
| Codex CLI | OpenAI Responses (/v1/responses) | https://ai.myaiexp.com/v1 |
| CC Switch | Depends on the target CLI: Claude Code uses Claude-native Messages, Codex uses Responses | Same as the two rows above |
| Cursor | OpenAI-compatible (/v1/chat/completions) | https://ai.myaiexp.com/v1 |
| Cline | OpenAI-compatible (/v1/chat/completions) | https://ai.myaiexp.com/v1 |
| Cherry Studio | OpenAI-compatible (/v1/chat/completions) | https://ai.myaiexp.com (completes /v1/... automatically) |
| LangChain | OpenAI-compatible (/v1/chat/completions) | https://ai.myaiexp.com/v1 |
| Dify | OpenAI-compatible (/v1/chat/completions) | https://ai.myaiexp.com/v1 |
Pick a model that supports the endpoint
Endpoint support varies by model: /v1/chat/completions is the general OpenAI-compatible endpoint; /v1/messages works with models that support the Claude-native format; /v1/responses works with models that support the Responses API. The available models and the endpoints each one supports are listed on the model square. Choose a model that supports the endpoint your tool calls.
About verification
The tool UIs and settings on these pages are compiled from each tool's official documentation and have not all been tested hands-on against AI Nexus. Labels may change between versions; follow what you actually see. The essentials are always the same three values: Base URL, API Key and model name.
Coding agents & terminals
Claude Code
Anthropic's terminal coding assistant. Uses the Claude-native Messages endpoint (/v1/messages).
Codex CLI
OpenAI's terminal coding agent. Uses the Responses endpoint (/v1/responses).
CC Switch
A GUI provider switcher that manages Claude Code and Codex configs in one place.
Cursor
AI code editor, connected through the OpenAI-compatible API.
Cline
Autonomous coding agent in VS Code, connected via OpenAI Compatible.
Clients & frameworks
This service is provided for learning and research purposes only. Please follow each model provider's usage policies.