Using OpenAI Codex IDE with Local Ollama Models in VSCodium

The OpenAI Codex IDE plugin for VSCodium can be configured to work with local Ollama models, despite not officially supporting profiles or flags like the CLI. By editing the config.toml file, developers can use this setup to avoid cloud-based AI solutions.
Key Details
To configure the OpenAI Codex IDE to work with local Ollama models, you'll need to access the plugin's settings in VSCodium:
- Go to the Codex tab and click the Settings cogwheel at the top.
- Select "Codex Settings" and then "Open config.toml".
Within the config.toml file, use the following configuration:
model = "qwen3-coder-next:Q4_K_M"
model_provider = "ollama"
model_reasoning_effort = "medium"
[model_providers.ollama]
name = "Ollama"
base_url = "http://localhost:11434/v1"
[analytics]
enabled = falseNote that there is no built-in method to switch models or reload the configuration without restarting VSCodium. Despite this minor setback in the plugin's implementation, this setup allows for fully local AI coding with reasonably good tool use. However, the performance, especially with a model around 50GB in size, is slower than paid options but remains functional and satisfactory for many developers.
The setup benefits developers who prefer working offline and have privacy concerns with cloud AI services, even though it comes with some performance trade-offs. Compared to other plugins like Kilocode and Roo, the Codex plugin showed superior performance with the same models.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Manifest Adds MiniMax Token Plans with M2.7 Model Support
Manifest, an open source routing layer for OpenClaw, now supports MiniMax token plans starting at $10/month. The new MiniMax M2.7 model is specifically built for OpenClaw workflows and achieves 62.7 on MM-ClawBench and 56.2 on SWE-Bench Pro.

Native macOS MCP Server for Full OS Control
A native macOS server provides 24 tools for pixel-accurate clicks, key combos, drag-and-drop, app management, multi-display support, and clipboard access. It's open source and works with Claude Code, Cursor, or any MCP client.

NervMap: Single Command Server Service Discovery and Diagnostics Tool
NervMap is a Linux tool that discovers Docker containers, systemd services, and bare processes in under 1 second, maps dependencies between them, and diagnoses issues with severity analysis and fix suggestions.

StartClaw: A headless browser automation tool built on ZeroClaw with Claude integration
StartClaw is a browser automation tool built on ZeroClaw's Rust base with Composio v3 for integrations, designed to run headless in the cloud without requiring local hardware. It uses Claude exclusively for reliability and includes built-in context compaction that reduces token usage by ~5x.