Anthropic / Claude for Kuma on self-hosted

Hi team. As per Baserow AI-Assistant: Quick DevOps Setup - it would be great to have Anthropic’s Claude as an option. I use Claude Code with the MCP and the API and it has a pretty good knowledge of BaseRow and is excellent (better than GPT in my experience) at writing formulas. It would be great to have Claude as an option in the Docker config for Kuma!

Thanks as always for an amazing product.

Hey @spook, thank you for your kind words! I’ll discuss your request with the team. :slightly_smiling_face:

Hey @spook, I checked this request with the team, and we think it should already be possible to use Anthropic’s Claude, since Baserow supports any OpenAI-compatible model. We also checked the Anthropic docs, and with this starter example you should be able to set it up:


BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL=claude-opus-4-6
OPENAI_API_KEY=ANTHROPIC_API_KEY
UDSPY_LM_OPENAI_COMPATIBLE_BASE_URL=https://api.anthropic.com/v1

Let us know if it works for you. :slightly_smiling_face:

That’s awesome! I’ll give it a go. I might use sonnet so I don’t burn through my tokens!

1 Like

Let us know if it works for you. :raised_hands:

No luck unfortunately. this is what AI assistant says:

The specified language model is not supported or the provided API key is missing/invalid. Ensure you have set the correct provider API key and selected a compatible model in BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL. See https://baserow.io/docs/installation/ai-assistant for supported models, required environment variables, and example configuration.

I tried both Opus and Sonnet. Reverting back to: BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL=openai/gpt-4o got it working again, but it would be nice to have a newer (and cheaper) model or be able to use Claude. Also upgraded to 2.1.4, but that didn’t help.

Hey @spook, I checked with the dev team. openai/ is already the fallback provider, but it doesn’t work with Anthropic because their compatible API responds differently. We’re working on adding support. :raising_hands: