Codex
Overview
Codex CLI, VS Code extension and the Codex app — one setup, all three signed in
Codex is OpenAI's AI coding tool, usable three ways:
- Codex CLI — runs in your terminal (
codex) - Codex VS Code extension — runs inside VS Code
- Codex app — desktop application
The key fact: all three read the same config directory ~/.codex/ (Windows: C:\Users\<you>\.codex\), which holds two files:
| File | Role |
|---|---|
config.toml | Model configuration and the VNAI Pro API endpoint |
auth.json | Your API key — equivalent to running codex login and pasting the key |
So you set up once and the CLI, extension and app are all signed in.
What you get
After setup, your Codex runs:
- Model
gpt-5.6-solwith xhigh reasoning effort (the highest tier) - 1,000,000-token context window
- Endpoint:
https://api.vnaipro.app/v1