Codex
Connect Codex once with every text model in its model picker.
Before you start
One deepthroat key connects Codex to the full text model catalog. Add credits or start an hourly plan on that key.
Setup
- 1Download the model catalog below and save deepthroat-models.json in your ~/.codex folder (Windows: %USERPROFILE%\.codex).
- 2Merge the short TOML configuration into ~/.codex/config.toml. Keep top-level settings above provider tables.
- 3Set your API key with the terminal commands below, launch Codex, and open /model to choose from the full catalog.
Configuration
All 36 models stay included. This only sets the initial selection.
Choose a supported level for this model. Higher effort can take longer.
model = "gpt-6.1-sol"
model_provider = "deepthroat"
web_search = "disabled"
model_catalog_json = "deepthroat-models.json"
[model_providers.deepthroat]
name = "deepthroat"
base_url = "https://api.cheapai.gay/v1"
env_key = "deepthroatkey"
wire_api = "responses"
requires_openai_auth = false
supports_websockets = falseThe catalog path in this TOML is relative to your user configuration folder. Keep both files in ~/.codex, then set your key and launch:
export deepthroatkey="YOUR_API_KEY"
codexUse a recent Codex release with model_catalog_json support. HTTP Responses streaming and client tools are supported; image input is enabled only for models marked Vision on your selected node. Web search is opt-in and disabled in this starter configuration. See the Web search guide for API controls. WebSockets remain disabled.
Included models (36)
deepseek-v4-proModel defaultdeepseek-v4.1-flashModel defaultuncensored-deepseek-v4.1-flashModel defaultgpt-oss-120bmediummuse-spark-1.3Model defaultqwen3.7-plusModel defaultqwen3.8-maxModel defaultqwen3.7-maxModel defaultqwen3.6-plusModel defaultqwen3.5-plusModel defaultqwen3.8-omni-flashModel defaultqwen3.5-omni-plusModel defaultgemini-3.8-flashlowmediumhighlongcat-2.0Model defaultlongcat-2.5-previewModel defaultgpt-6-astralowmediumhighxhighmaxultragpt-6-sollowmediumhighxhighmaxgpt-6-lunalowmediumhighxhighmaxgpt-5.6-sollowmediumhighxhighmaxgpt-5.6-terralowmediumhighxhighmaxgpt-5.6-lunalowmediumhighxhighmaxclaude-sonnet-5Model defaultclaude-sonnet-4.6lowmediumhighxhighmaxclaude-haiku-4.5Model defaultclaude-opus-4.5lowmediumhighxhighmaxclaude-opus-4.6lowmediumhighxhighmaxclaude-opus-4.7lowmediumhighxhighmaxclaude-opus-4.8lowmediumhighxhighmaxclaude-opus-5lowmediumhighxhighmaxclaude-opus-5.5lowmediumhighxhighmaxclaude-sonnet-5.5lowmediumhighgpt-6.1-sollowmediumhighxhighmaxultraswe-1.6Model defaultclaude-haiku-5.5lowmediumhighxhighmaxdeepseek-v4.1-flash-1017lowmediumhighglm-5.3-flashlowmediumhighEffort labels show levels available through this harness. These are the current published text models. Your key’s access rules and model availability still apply. Image-generation models use a separate API.
Verify & troubleshoot
Send a short prompt and check Activity. If models are missing, verify the list with the same API key:
curl "https://api.cheapai.gay/v1/models" \
-H "Authorization: Bearer YOUR_API_KEY"- 401: replace the placeholder with your actual key and check that it is enabled.
- 402: top up that key or start an hourly plan in the wallet.
- 404: refresh the model list and check the endpoint. Use https://api.cheapai.gay/v1 as the base URL.
- Tool errors: select a tool-capable text model and read the tool calling guide.