# DataRobot User Models

> DataRobot User Models - Describes how to assemble custom models and environments.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-04-24T16:03:56.257204+00:00` (UTC).

## Primary page

- [DataRobot User Models](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/index.html): Full documentation for this topic (HTML).

## Related documentation

- [Developer documentation](https://docs.datarobot.com/en/docs/api/index.html): Linked from this page.
- [Code-first tools](https://docs.datarobot.com/en/docs/api/code-first-tools/index.html): Linked from this page.
- [Custom model components](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/custom-model-components.html): Linked from this page.
- [Assemble structured custom models](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/structured-custom-models.html): Linked from this page.
- [Assemble unstructured custom models](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/unstructured-custom-models.html): Linked from this page.
- [Define custom model metadata](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/custom-model-metadata.html): Linked from this page.
- [Define custom model runtime parameters](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/custom-model-runtime-parameters.html): Linked from this page.
- [DRUM CLI tool](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/custom-model-drum.html): Linked from this page.
- [Test a custom model locally](https://docs.datarobot.com/en/docs/api/code-first-tools/drum/custom-local-test.html): Linked from this page.

## Documentation content

# DataRobot User Models

While DataRobot provides hundreds of built-in models, there are situations where you need preprocessing or modeling methods that are not currently supported out of the box. To create a custom inference model, you must provide a model artifact—either defined in a `custom.py` file or a serialized artifact with a file extension corresponding to the chosen environment language and any additional custom code required to use the model.

Before adding custom models and environments to DataRobot, you must prepare and structure the files required to run them successfully. The tools and templates necessary to prepare custom models are hosted in the [DataRobot User Models GitHub Repository](https://github.com/datarobot/datarobot-user-models). (Log in to GitHub before clicking this link.) DataRobot recommends understanding the following requirements to prepare your custom model for upload to the Workshop.

| Topic | Describes |
| --- | --- |
| Custom model components | How to identify the components required to run custom inference models. |
| Assemble structured custom models | How to assemble and validate structured custom models compatible with DataRobot. |
| Assemble unstructured custom models | How to assemble and validate unstructured custom models compatible with DataRobot. |
| Define custom model metadata | How to use the model-metadata.yaml file to specify additional information about a custom inference model. |
| Define custom model runtime parameters | How to add runtime parameters to a custom model through the model metadata, making your custom model code easier to reuse. |
| DRUM CLI tool | How to download and install the DataRobot User Models (DRUM) CLI to work with and test custom models and custom environments locally before uploading to DataRobot. |
| Test a custom model locally | How to test custom inference models in your local environment using the DataRobot Model Runner tool. |
