Ollama 0.40.14 Lifts the Output Cap for Claude Launches and Checks Codex Routing

Ollama v0.40.14 (November 3) makes 'ollama launch claude' respect a model's output token limit and adds a ChatGPT routing check to 'ollama launch codex'.

November 2, 2026

Ollama released v0.40.14 on November 3, 2026. A v0.40.15 release candidate with MiMo V2.6 support and in-process CUDA library loading for MLX on Linux followed.

What changed

  • Claude launches: ollama launch claude now applies the model’s own output token limit, so cloud models no longer stop at the 128k default.
  • Codex launches: ollama launch codex checks ChatGPT routing before configuring and reports clear errors.
  • Sampler defaults: OpenAI-compatible endpoints keep a model’s packaged sampler defaults instead of overriding them.
  • Speed: Top-k sampling is faster on MLX for large vocabularies.
  • Fixes: Compressed cloud web search responses on /api/chat decode correctly, and /v1/responses preserves input content.

Why it matters

  • Local and cloud models in coding agents: The launch commands are how many people point Claude Code and Codex at Ollama-served models.
  • Long outputs: Removing the 128k default cap helps long generation tasks.

Source

Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.