
Codex
Codex is a CLI agent — a coding agent that helps you build and ship software with AI. It can understand projects, run commands and advance development tasks from the terminal, and suits software developers, engineering teams and technical staff handling code tasks. Its core capabilities center on CLI agents.
GUIDE
Agent Guide
OpenAI's command-line coding agent.
Edit the config file:
- Windows:
C:\Users\<username>\.codex\config.toml - macOS / Linux:
~/.codex/config.toml
model_provider = "silvamux"
model = "minimax-m2.5"
[model_providers.silvamux]
name = "SilvaMux"
base_url = "https://silvamux.io/api/v1"
wire_api = "responses"
experimental_bearer_token = "sk_live_xxx"
wire_api = "chat"has been removed from Codex; only"responses"works. The Responses endpoint does not support GLM — useminimax-m2.5.
⚠️ You must disable compression! Codex compresses request bodies with zstd by default, which the SilvaMux gateway cannot parse. The
[features]section inconfig.tomlonly applies to the CLI — the desktop GUI does not read it. You must edit the system-level config file:
- Windows:
C:\ProgramData\OpenAI\Codex\requirements.toml(requires administrator privileges)
[features]
enable_request_compression = false
Start with: codex exec "your question" --skip-git-repo-check
Codex usage trend
Last 30 days · daily token usage


