claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Lack of Databricks Support

Open JayDoubleu opened this issue 7 months ago • 5 comments

Bug Description

It appears that there is no documentation nor environment variables (CLAUDE_CODE_USE_DATABRICKS) within Claude Code that would indicate support for consuming Anthropic's API via Databricks workspaces. This might be a significant blocker for Azure environments and organisations that don't want to create AWS or GCP accounts to use Claude within a corporate setting.

JayDoubleu avatar May 09 '25 11:05 JayDoubleu

I believe the main question is if Antropic plans to actually support Claude via DataBricks

It's not really a bug report, it should be a feature request

linegel avatar May 18 '25 22:05 linegel

Perhaps.

if Antropic plans to actually support Claude via DataBricks

Why should Bedrock be supported and not Databricks? Databricks is natively supported by Anthropic

JayDoubleu avatar May 18 '25 23:05 JayDoubleu

technically you can, claude code support LiteLLM as proxy and you can expose databricks LLMs via LiteLLM.

see technical blog here - https://community.databricks.com/t5/technical-blog/simplifying-multi-model-llm-development-a-developer-s-guide-to/ba-p/80623

so claude code -> LiteLLM -> databricks claude model

but yeah would be great if claude cod eenterprise support expands to more providers.

severity1 avatar May 28 '25 08:05 severity1

I'm happy to be corrected on this but "LiteLLM" with Claude code is a "hack" and not something that is supported

JayDoubleu avatar Jun 03 '25 21:06 JayDoubleu

I'm happy to be corrected on this but "LiteLLM" with Claude code is a "hack" and not something that is supported

You are right LIteLLM is proxying to LLM providers not supported natively in Claude Code. I would think if this as a work around. We do absolutely need native support. My comment was more of "while waiting for native databricks support we can use this as a workaround."

severity1 avatar Jun 03 '25 23:06 severity1

Is there any workaround besides LiteLLM? I tried LiteLLM, however it only works when thinking mode is disabled.

blrchen avatar Sep 30 '25 06:09 blrchen

Closing as we now support Azure! https://code.claude.com/docs/en/microsoft-foundry

catherinewu avatar Nov 29 '25 21:11 catherinewu

https://github.com/vishalveerareddy123/Lynkr I have built this over past few weeks to support claude code via databricks LLM Api's. Please have a look at the project.

vishalveerareddy123 avatar Dec 03 '25 23:12 vishalveerareddy123