Using FishXCode with Codex
Video Tutorial
Install Codex
bash
pnpm install -g @openai/codexbash
npm install -g @openai/codexbash
yarn global add @openai/codexbash
bunx --global @openai/codexConfigure Environment Variables
Visit https://fishxcode.com/console/token to obtain your API Key
Create
~/.codex/config.tomlwith this configuration:tomlmodel_provider = "fishxcode" model = "gpt-5.4" review_model = "gpt-5.4" model_reasoning_effort = "medium" model_reasoning_summary = "detailed" disable_response_storage = true preferred_auth_method = "apikey" model_verbosity = "high" [model_providers.fishxcode] name = "OpenAI using Chat Completions" base_url = "https://api.fishxcode.com/v1" wire_api = "responses" requires_openai_auth = true [features] skills = true image_generation = falseCreate
~/.codex/auth.json, settingOPENAI_API_KEYto your FishXCode API Key:json{ "OPENAI_API_KEY": "your_api_key_here" }
Launch Directly
bash
cd my-project
codexUsing Codex in VSCode
- Install the Codex extension
- Access settings and switch to JSON configuration mode
- Add these settings:
json
{
"chatgpt.apiBase": "https://api.fishxcode.com/v1",
"chatgpt.config": {
"preferred_auth_method": "api_key",
"model_provider": "fishxcode"
}
}- Click the Codex icon to begin using it