Ollama models known to work?

Baserow Self-hosted 2.4.1 + Baserow Embeddings container + Ollama

Have tried using the self-hosted Baserow + self-hosted Ollama to support Kuma; however I am struggling to find models that work. I also find no published guidance on which models are known to work.

Success:

granite4.1: passes all tests, & can reply; but doesn’t appear to use tools properly. Instead of implementing a simple request like “create a date column in this table” it replies w/ 3 paragraphs of how the backend code calls to create a new column (so not even useable in the UI interface)

Failures (off top of memory):

Llama3.2: failed tool use

ministral-3: times out

qwen3: times out

Has anyone found a publicly available model that can actually be used by Kuma to act (like on the hosted website), particularly any available from the Ollama models library?

Regards

Hi @AggregationDist,

Short answer: try gpt-oss models. That’s the family we built and tuned Kuma against. On Ollama that’s gpt-oss:120b, or gpt-oss:20b if you can’t run the big one.

We also have a docs page, it’s just a bit hard to find: Configure the AI assistant.

Three things explain your results.

“Passes all tests” doesn’t mean Kuma will work. The Test model button runs a small probe. The model has to call one tool once, then reply with OK. That’s all it proves. Kuma is much bigger. A model can pass the probe and still fail the real work. That’s what you saw with granite4.1.

Check your context window. We talk to Ollama over its OpenAI-compatible /v1 endpoint, and we don’t set num_ctx. So you get the Ollama default, which is 4096 tokens unless you changed it. Kuma’s prompt and tool schemas don’t fit in that. The tool definitions drop out of the window, so the model describes the backend instead of calling the tools.

You set this on the Ollama side. Baserow has no option for it, so don’t look for one in its .env. Two ways:

  • Start the Ollama server with OLLAMA_CONTEXT_LENGTH=32768 in its environment.
  • Or write a Modelfile with PARAMETER num_ctx 32768, run ollama create my-gpt-oss -f Modelfile, and register my-gpt-oss as the model in Baserow.

Run ollama ps while a chat is in flight to check it took effect.

The timeouts are tight. Kuma allows 30s per orchestrator call and 20s per sub-agent call. Those are fixed, so there’s no setting to raise them. A small model on CPU won’t finish a tool-calling turn in that time. That’s probably why ministral-3 and qwen3 timed out. The fix is a faster setup, not a config change: fit the model in VRAM, drop to a smaller one, or use a cloud tag.

Skip Llama3.2. At 3B, tool calling is unreliable anyway.

What to look for in a model

Nothing else is tested, so I can’t promise anything. But you can narrow the list yourself:

  • It must list tools as a capability. Ollama shows this on the model page. No tools, no Kuma.
  • Take 20B or larger. Small models often pass the probe, then fall apart once dozens of tools are in play.
  • Check the context length, then raise it on the Ollama server. A model that supports 128k still runs at 4096 until you set it.
  • Use the instruct or tool-tuned build, not a base model. It has to return text next to the tool call, not only the call.
  • Avoid heavy quantisation. q2 and q3 hurt tool-call accuracy. q4_K_M or better.
  • Make sure it fits in VRAM (or use a cloud version). Run ollama ps during a chat. If PROCESSOR shows a CPU share, you’ll hit those timeouts.

Then test in this order. Run Test model first. If it passes, ask Kuma something concrete, like “create a date field in this table”. Watch whether it calls a tool or just talks about one.

The model I’d try next is Qwen3.6 27B. It’s the only other open-weights model in our eval setup.

If the GPU is your problem, Ollama also has cloud tags for the big models. You sign in to Ollama once, the model runs on their hardware, and Baserow still talks to your local Ollama the same way.

One caveat. We test gpt-oss through Groq, not Ollama. Same weights, different serving stack. Local results can still differ, mostly for the two reasons above.

1 Like

Hi Davide,

Thanks very much for the extensive reply, guidelines, limits etc. on the technology.

I appreciate it