Docs / Codex CLI (OpenAI)

Codex CLI (OpenAI)

OpenAI-compatible (with /v1)

OpenAI's command-line coding tool.

Base URL
https://llmapi.pro/v1
API Key
sk-... (create in Console → API Keys)
Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5

Setup steps

  1. Configure a custom provider in ~/.codex/config.toml:
model_provider = "llmapi"
model = "claude-opus-4-8"

[model_providers.llmapi]
name = "llmapi"
base_url = "https://llmapi.pro/v1"
env_key = "LLMAPI_API_KEY"
  1. Set the key env var: export LLMAPI_API_KEY=sk-YOUR_KEY

Notes

Client not listed? Any "OpenAI-compatible" app works: Base URL = https://llmapi.pro/v1, key = your sk-..., type the model name. Or email [email protected].
Need help? Email [email protected] · Home