Docs
Skip to content

Use with Codex CLI

Codex CLI can use the OpenAI-compatible endpoint.

Configure

Set the API key and base URL:

bash
export OPENAI_API_KEY="sk-your-token"
export OPENAI_BASE_URL="https://api.geoq.help/v1"

Start Codex from the same shell session:

bash
codex

Use a model that is available to your gateway account, such as gpt-4o-mini or another configured OpenAI-compatible model.

基于 new-api 二次开发,AGPL-3.0 协议