Ollama's newest build lists your local models in Codex's picker
The v0.40.4 pre-release also bumps llama.cpp for local decision models and EmbeddingGemma 2, and reuses loaded models to cut repeat cold starts.

Copy markdown
Codex now sees your local Ollama models
v0.40.4-rc1 adds your installed models to OpenAI Codex's `/model` picker, so you can point the Codex CLI at a model on your own box instead of a paid endpoint. It's a pre-release, so pull the rc to get it.
Local decision models and EmbeddingGemma 2
The build updates llama.cpp (b11521) so the newest decision models and Google's EmbeddingGemma 2 run locally — handy for wiring fast on-device routing or multimodal embeddings into an agent with no cloud call.
Loaded models get reused, not reloaded
Inference routes now reuse verified manifests and already-loaded models to trim the cold-start tax on repeat calls, and MLX compacts recurrent state after a speculative-decoding rollback on Apple Silicon.