Ollama v0.40.14 fixes Claude Code token cap and API sampler defaults
14, an update to its model runner that changes how its launch commands and API endpoints handle model settings. The `ollama launch claude` command now applies each model's output token limit for Claude Code, so cloud models no longer hit the 128k default cap. The release also fixes decoding of cloud web search responses on /api/chat, preserves readable input content in /v1/responses including prior assistant refusals, lets the Ollama app retry ChatGPT disconnect failures, has `ollama launch codex` verify ChatGPT routing before configuring, and speeds up top-k sampling on MLX for large vocabularies.
Why it matters
People running coding agents and OpenAI-compatible clients through Ollama should see fewer silent mismatches: token limits and sampling settings now come from the model itself rather than falling back to generic defaults.
Sources
Tools mentioned
- OpenAI Raises Bug Bounty Rewards and Adds Bonus Categories
- OpenAI launches Grid Protectors Program to work with utilities
- OpenAI Introduces LifeVal Benchmark for Everyday Tasks
- Hugging Face proposes Model Integration Contracts to catch model bugs earlier
- Collinear AI releases CWE-bench v2 with 100 security tasks