Serve a registered MLflow model locally as a REST API with mlflow models serve

domain: mlflow.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Reference the model with a URI such as models:/<name>/<version>, models:/<name>@<alias>, or runs:/<run_id>/model
  2. Run mlflow models serve -m <model-uri> -p <port> --env-manager local|virtualenv|conda to start a FastAPI/uvicorn server
  3. Optionally pass --enable-mlserver to serve via MLServer instead of the default server (requires the mlserver extras)
  4. POST inference requests to the /invocations endpoint with a JSON body using the dataframe_split or instances/inputs keys
  5. Check server health via /ping or /health, and confirm the served model version via /version

Known gotchas

Related routes

vLLM: serve a model behind an OpenAI-compatible HTTP API using `vllm serve`
ml-ops · 6 steps · unrated
MLflow Deployments Server (AI Gateway): stand up a gateway server to proxy a third-party LLM provider endpoint
ml-ops · 6 steps · unrated
MLflow model registry: register a model and transition stage
mlflow.org/docs · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans