Tutorials
Codex ร Vivgrid
How to use Vivgrid with gpt-5.1-codex, gpt-5.1-codex-max and gpt-5.2 in Codex
Install Codex
npm i -g @openai/codexConfigure Codex to Use Vivgrid (GPT-5.1-Codex)
Copy the following configuration files to your codex config file.
model = "gpt-5.2-codex"
model_provider = "vivgrid"
model_reasoning_summary = "detailed"
model_verbosity = "medium"
model_reasoning_effort = "high"
[features]
streamable_shell = true
web_search_request = true
[model_providers.vivgrid]
name = "Vivgrid"
base_url = "https://api.vivgrid.com/v1"
env_key = "VIVGRID_KEY"
wire_api = "responses"Start Using Codex with Vivgrid
Get Vivgrid API Key from your Vivgrid Console.
export VIVGRID_KEY="your_vivgrid_api_key"
codex run "hello world"Visual Studio Code Codex Extension
This configuration also works with the Visual Studio Code Codex Extension. Just make sure to set the environment variable VIVGRID_KEY in your system or in the VS Code settings.