Local Ai
Can you use Ollama models with the Codex app on Windows?
Yes, Ollama models can be used with the Codex app on Windows. Ollama supports all major operating systems, including Windows , and open models can be used with OpenAI's Codex CLI through Ollama — Code
Yes, Ollama models can be used with the Codex app on Windows. Ollama supports all major operating systems, including Windows , and open models can be used with OpenAI's Codex CLI through Ollama — Codex can read, modify, and execute code in your working directory using models such as gpt-oss:20b, gpt-oss:120b, or other open-weight alternatives. Integration is achieved by pointing Codex CLI to any OpenAI-compatible API endpoint, such as Ollama's local server, allowing local models to be used for coding tasks while maintaining data privacy.
Related
- Codex CLI with ollama as provider?
- I really enjoy the codex desktop app, so i made a fully open source desktop app for open-codex
- Running local models for coding — what's your actual context strategy for large codebases?
- Looking for an AI driven autocomplete extension for VS Code
- Which cloud model do you use for coding? Which one got better reasoning?
Source: r/ollama | 2026-04-16