APIshop Documentation
Deployment Guide

Codex Deployment Guide

Integration guide for OpenAI Codex CLI, with unified model services provided through APIshop.

资源地址
Official Documentationhttps://developers.openai.com/codex/

核心能力

  • Supports using APIshop as a model provider
  • Separate Codex token groups can be used
  • Ideal for intelligent coding in the command line
步骤 1

Install Codex

  • - Run `npm install -g @openai/codex@latest`.
  • - Confirm the installation succeeded with `codex --version`.
步骤 2

Configure APIshop

  • - Set the provider in `~/.codex/config.toml`.
  • - The Base URL points to `https://apishop.ai/v1`.
  • - Put the Codex-specific Key in `auth.json`.
步骤 3

Initialize the workspace

  • - After creating the project directory, run `codex` directly.
  • - Confirm that the model, authentication, and inference configuration match your expectations.

注意事项

  • - Codex and Claude Code token bundles are not interchangeable.
  • - If you switch using CC-Switch, note that you need to restart the CLI for the change to take effect.