Skip to main content

Create a Databricks Model Serving endpoint

Create and validate a Databricks Model Serving endpoint for AI chat inference in Databricks Apps.

Create a Databricks Model Serving endpoint preview

Build with AI

  1. Copy the prompt below
  2. Paste into Cursor, Claude Code, Codex, or any coding agent
  3. Your agent builds it — asking questions along the way so the result is exactly what you want

New to templates? Learn more here

When done, you will have:

  • A model serving endpoint running in your Databricks workspace
  • The endpoint tested and confirmed ready for inference requests
  • The endpoint name configured in your app for local development and deployment

Prerequisites

Verify these Databricks workspace features are enabled before starting. If any check fails, ask your workspace admin to enable the feature.

  • Model Serving enabled. Run databricks serving-endpoints list --profile <PROFILE> and confirm the command succeeds (an empty list is fine — you are about to create an endpoint). A permission or not enabled error means Model Serving is not available to this identity.
  • Permission to create serving endpoints. The Databricks CLI call in Step 3 requires the CAN_MANAGE serving-endpoint permission on the workspace. If databricks serving-endpoints create returns PERMISSION_DENIED, ask your admin to grant it.
  • A foundation model or registered MLflow model to serve. List foundation-model entities available to your workspace with databricks serving-endpoints get-open-api --profile <PROFILE> -o json. If you plan to serve a registered Unity Catalog model instead, confirm it exists in the Databricks UI under Models before running databricks serving-endpoints create.