Learn how to configure Codex CLI and the VS Code extension to use ScitiX Model Inference through config.toml and a ScitiX API key.
Codex is OpenAI’s AI coding assistant, available as a command-line tool and as a VS Code extension. You can connect Codex to the ScitiX Model Inference API and use ScitiX models for coding tasks. Both the CLI and the extension share the same config.toml.Configuration is stored in config.toml in your Codex home directory, typically ~/.codex/config.toml. For the full list of options, see the Codex Configuration Reference.Supported models include glm-5.2 and kimi-k2.6. For model pricing, see the model catalog.
Some built-in tool types, such as web_search, may not be available on these models. You can add these capabilities through MCP (Model Context Protocol) servers.Configure a search MCP server in config.toml under [mcp_servers.<name>], and Codex will call it when web search is needed. See the Codex Configuration Reference for MCP server setup details.