90 days of the enterprise, pro and team plans free, no card needed. See the plans
Codex CLI through the router
OpenSmartRoute serves the Responses API Codex CLI speaks, so one environment variable puts it behind your policy: the model it asks for can be auto, a budget caps what a developer spends, and every call lands in the trace with its cost and the alternatives.
pip install opensmartroute
osr login # once: a browser sign-in, or --token osr_live_...
osr run codex # Codex CLI starts with the router as its endpointexport OPENAI_BASE_URL=https://api.opensmartroute.ai/v1
export OPENAI_API_KEY=$OSR_API_KEY
codex --model autoCodex CLI speaks the OpenAI API; the router serves chat completions and the Responses API at /v1 with streaming, tools and structured output passed through.