# Passion8 API Docs: Claude Code, Codex and Multi-Model Setup

> Connect Claude Code, Codex, Gemini and Grok using your Passion8 endpoint, API key and model, through VS Code, Cline, the CLI or an API project.

URL: https://docs.passion8.cc/en/
Language: en
Publisher: Passion8
Last updated: 2026-10-11

Passion8 is an OpenAI / Anthropic-compatible API gateway for developers. Use your Passion8 endpoint, API key and model to connect Claude Code, Codex, Gemini or Grok. Start in VS Code, Cline, the CLI or your own API project, then explore commands, workflows, caching and administration.

Passion8 independently publishes these gateway tutorials; each article links to upstream references. Vendor subscriptions, hosted features and gateway API access have separate requirements.

## Claude Code

Install first, then configure. Installation covers the CLI, desktop and official IDE extension. Configuration offers manual setup and CC-Switch.



- [Installation](https://docs.passion8.cc/en/docs/claude-code/install): Install the CLI, desktop and official IDE extension on macOS or Windows.
- [Configuration](https://docs.passion8.cc/en/docs/claude-code/settings): Connect to Passion8 manually or through CC-Switch.
- [Official VS Code extension](https://docs.passion8.cc/en/docs/claude-code/vscode): Configure the official extension with your Passion8 endpoint, key and model.



## Codex

Install first, then configure. The Codex Base URL is `https://passion8.cc/v1` and must include `/v1`.



- [Installation](https://docs.passion8.cc/en/docs/codex/install): Install the CLI, desktop and official IDE extension on macOS or Windows.
- [Configuration](https://docs.passion8.cc/en/docs/codex/config): Write auth.json/config.toml manually or configure Passion8 with CC-Switch.
- [Official VS Code extension](https://docs.passion8.cc/en/docs/codex/ide): Use the same custom provider and API-key configuration in the official extension.



## Grok

For VS Code, start with Cline. You can also use the official Grok Build CLI, or connect Codex CLI / App through CC-Switch's GPT provider. The Base URL is `https://passion8.cc/v1` and must include `/v1`.



- [VS Code and Cline](https://docs.passion8.cc/en/docs/grok/vscode): Connect Grok using your Passion8 endpoint, key and model.
- [API and SDK](https://docs.passion8.cc/en/docs/grok/api): Configure OpenAI-compatible requests and diagnose connection errors.
- [Grok installation and setup](https://docs.passion8.cc/en/docs/grok): Configure official Grok Build or a minimal Codex CLI / App integration.



## Gemini

For VS Code, start with Cline and the OpenAI-compatible endpoint `https://passion8.cc/v1`. For native Gemini API-key clients, use `https://passion8.cc`, without `/v1`; the CLI guide remains available as an alternative.



- [VS Code and Cline](https://docs.passion8.cc/en/docs/gemini/vscode): Configure Gemini in Cline with your Passion8 endpoint, key and model.
- [API and SDK](https://docs.passion8.cc/en/docs/gemini/api): Choose between native Gemini and OpenAI-compatible API requests.
- [Gemini installation and setup](https://docs.passion8.cc/en/docs/gemini): macOS / Windows installation, persistent configuration, CC-Switch and first-request verification.



## Before connecting

Set up your account and balance if you do not have an API key yet.



- [Quickstart](https://docs.passion8.cc/en/docs/quickstart): Register, create a key and choose a tool.
- [Top-ups and billing](https://docs.passion8.cc/en/docs/billing): Purchase a redemption code, redeem it and confirm your balance.
- [Referral rewards](https://docs.passion8.cc/en/docs/invite): Copy your referral link and ready-to-share messages.



## Learn the tools

Once connected, explore commands, context, MCP, hooks, permissions, SDKs, caching and troubleshooting.



- [Claude Code documentation](https://docs.passion8.cc/en/docs/claude-code): Commands, interactive modes, settings, context, sessions, MCP, hooks, permissions, SDKs and caching.
- [Codex documentation](https://docs.passion8.cc/en/docs/codex): Desktop app, IDE, MCP, skills, memory, automations, Git, workflows and commands.
- [Grok documentation](https://docs.passion8.cc/en/docs/grok): Official Grok Build and Codex configuration and troubleshooting.



CLI clients support **manual configuration files** or **CC-Switch** graphical management. Cline uses its provider settings panel. Enter the Passion8 endpoint and your Passion8 API key in CC-Switch.

## General



- [Cline multi-model configuration](https://docs.passion8.cc/en/docs/cline): Configure Claude, GPT, Grok and Gemini providers, models and Plan / Act settings.
- [FAQ](https://docs.passion8.cc/en/docs/faq): Base URLs, models, billing, top-ups and authentication errors.
- [Referral rewards](https://docs.passion8.cc/en/docs/invite): Copy your invitation link and sharing text.
- [Claude prompt caching](https://docs.passion8.cc/en/docs/claude-code/prompt-caching): Five-minute and one-hour TTLs, invalidation, MCP and usage fields.
- [Security](https://docs.passion8.cc/en/docs/security): Keys, permissions, hooks, MCP, prompt injection and gateway security.




**Endpoint reference**

- **Gemini CLI / native Gemini**: `https://passion8.cc` (without `/v1`)
- **Claude Code**: `https://passion8.cc` (without `/v1`)
- **Codex / Grok / OpenAI-compatible clients**: `https://passion8.cc/v1` (with `/v1`)

Copy available model IDs from the [console model catalog](https://passion8.cc).


