Codex
Codex is one of the easiest coding tools to connect to MetaioLab because the OpenAI-compatible path has already been verified live.
Recommended setup
Section titled "Recommended setup"- Base URL:
https://metaiolab.com/v1 - Verified model example:
gpt-5.4 - Verified routes:
GET /v1/modelsPOST /v1/chat/completionsPOST /v1/responses
Fastest setup
Section titled "Fastest setup"export OPENAI_BASE_URL="https://metaiolab.com/v1"export OPENAI_API_KEY="sk-your-token"Why Codex is a strong fit
Section titled "Why Codex is a strong fit"Codex maps cleanly onto the routes that were successfully validated on MetaioLab.
Recommended operator defaults
Section titled "Recommended operator defaults"- Use
gpt-5.4as the first documented example model. - Keep
/v1/responsesenabled because modern coding tools increasingly rely on it. - Tell users not to add
/v1twice.
Troubleshooting
Section titled "Troubleshooting"Codex adds another /v1
Section titled "Codex adds another /v1"Use the base URL exactly once:
https://metaiolab.com/v1
Requests succeed but model errors out
Section titled "Requests succeed but model errors out"- Verify the model name is exposed by MetaioLab.
- Verify the model supports the requested feature.
References
Section titled "References"- Codex config reference: https://developers.openai.com/codex/config-reference/