# Ollama v0.40.14 — Release & Upgrade Intelligence
- **Product:** Ollama (https://ollama.com)
- **Version:** v0.40.14
- **Released:** Nov 03, 2026
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/ollama/updates/v0.40.14/

## Executive Summary (TL;DR)
Ollama v0.40.14 aligns OpenAI-compatible endpoint sampler defaults with packaged model settings and speeds up MLX top-k sampling for large vocabularies. It also improves connection resiliency for ChatGPT routing, fixes web search response decoding on `/api/chat`, and applies appropriate output token limits for Claude Code.

## Improvements
- `ollama launch claude` applies model output token limits to prevent running into the 128k default cap
- OpenAI-compatible endpoints default to model-packaged sampler settings (`temperature`/`top_p`) when parameters are omitted by clients
- `/v1/responses` preserves readable input content, including prior assistant refusals
- Ollama desktop application retries ChatGPT disconnect failures automatically
- `ollama launch codex` verifies ChatGPT routing before configuration and reports explicit errors when routing is unavailable
- Faster top-k sampling performance on MLX when handling large vocabularies

## Bug Fixes
- Cloud web search responses on `/api/chat` (including compressed payloads) are now decoded correctly
