Skip to main content
Portkey provides a robust and secure gateway to integrate various Large Language Models (LLMs) into applications, including Databricks Model Serving endpoints. With Portkey, take advantage of features like fast AI gateway access, observability, prompt management, and more, while securely managing API keys through Model Catalog.
Provider Slug: databricks

Quick Start

Get Databricks working in 3 steps:
Tip: You can also set provider="@databricks" in Portkey() and use just model="databricks-meta-llama-3-1-70b-instruct" in the request.

Add Provider in Model Catalog

  1. Go to Model Catalog โ†’ Add Provider
  2. Select Databricks
  3. Choose existing credentials or create new by entering your Databricks personal access token and workspace name
  4. Name your provider (e.g., databricks-prod)

Configuration Parameters

When using headers directly, pass the workspace name via the x-portkey-databricks-workspace header.

Complete Setup Guide โ†’

See all setup options, code examples, and detailed instructions

Supported Endpoints

Supported Features


Embeddings

Generate embeddings using Databricks-hosted embedding models:

Responses API

Use the OpenAI Responses API format with Databricks models:

Messages API

Use the Anthropic Messages API format with Databricks models:

Supported Models

Databricks Model Serving supports a variety of foundation models and custom endpoints:
  • Meta Llama Models: databricks-meta-llama-3-1-70b-instruct, databricks-meta-llama-3-1-405b-instruct
  • DBRX: databricks-dbrx-instruct
  • Embedding Models: databricks-bge-large-en, databricks-gte-large-en
  • Custom Endpoints: Any model deployed as a Databricks serving endpoint
For the complete list of available models, refer to the Databricks Foundation Model APIs documentation.

Next Steps

Add Metadata

Add metadata to your Databricks requests

Gateway Configs

Add gateway configs to your Databricks requests

Tracing

Trace your Databricks requests

Fallbacks

Setup fallback strategies with Databricks
For complete SDK documentation:

SDK Reference

Complete Portkey SDK documentation
Last modified on April 8, 2026