Ollama can now run Medgemma 2 and Molmo 3 locally, and the Gemma 4 tool-call and OpenAI-compatible APIAn API that accepts the common OpenAI request shape so existing clients can call another provider with fewer code changes.Full definition → endpoint changes affect agents built on local models.
Key takeaways · AI-distilled
Ollama 0.40.20 adds Google's MedGemma 2, which the release calls Google's most advanced Open-weight modelA model whose trained weights can be downloaded and run outside the maker's hosted API.Full definition → for health AI, built for real-world clinical workflows and runnable with `ollama run medgemma2`.
Ai2's Molmo 3 vision-language models arrive in 4B and 8B sizes with stronger multi-image, 3D and spatial understanding plus pointing and segmentation, but in this release they are supported only on Apple silicon.
The release also speeds Inkling speculative decodingA speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.Full definition → for batched requests on Apple silicon, lets Gemma 4 respect larger image budgets, and fixes local model Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → limits when using `ollama launch claude`.
Terms in this piece · Glossary
speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
OpenAI-compatible API — An API that accepts the common OpenAI request shape so existing clients can call another provider with fewer code changes.
Open-weight model — A model whose trained weights can be downloaded and run outside the maker's hosted API.