Ollama Context Length Guide: How to Set num_ctx and Which Models Support Long Context

One of the most common surprises when using Ollama is discovering that your model has a context length of 2048 tokens by default — even if the model itself supports 128K. Ollama’s default is conservative to protect users on limited hardware, but for most people the right context length is much higher. This guide explains … Read more

How to Run Mixtral 8x7B Locally with Ollama

Mixtral 8x7B was a landmark release when it came out — a Mixture of Experts model that delivers performance competitive with much larger models by selectively routing each token through just two of its eight expert networks at inference time. This means you get the quality of a large model at the computational cost of … Read more

How to Configure Ollama Environment Variables (Complete Guide)

Ollama’s behaviour is almost entirely configurable through environment variables — where it stores models, what address and port it listens on, how long it keeps models in memory, how many parallel requests it handles. The defaults are sensible for a single-user local setup, but as soon as you want to customise anything — move models … Read more

How to Run Gemma 3 Locally with Ollama

Gemma 3 is Google’s best open-weight model family to date, and it’s a significant step up from Gemma 2. The standout version is the 27B model, which competes with much larger open-source models on reasoning and instruction following. But the whole family is worth knowing — from the 1B model that runs on almost anything … Read more