Docs / Codex CLI (OpenAI)
Codex CLI (OpenAI)
OpenAI-compatible (with /v1)
OpenAI's command-line coding tool.
Base URL
https://llmapi.pro/v1API Key
sk-... (create in Console → API Keys)Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5Setup steps
- 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"- Set the key env var:
export LLMAPI_API_KEY=sk-YOUR_KEY
Notes
- This client uses the OpenAI-compatible protocol. The three settings are always the same: Base URL =
https://llmapi.pro/v1, API Key = yoursk-...key, and type the model name manually (we recommendclaude-opus-4-8).
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