What license does Depth Anything V2 use?
Depth Anything V2 is a monocular depth estimation model, released in June 2024 and published at NeurIPS 2024. Its license depends on the model size, as set out in the Depth Anything V2 GitHub repository (opens in a new tab):
Many model listings label Depth Anything V2 as Apache 2.0 without naming a size. That is only true of Small.
Can I use Depth Anything V2 commercially?
Only the Small model. Apache 2.0 lets you use, modify and ship Depth Anything V2 Small in commercial products. Keep the license and copyright notices, and note any files you change.
The Base, Large and Giant models are licensed under CC-BY-NC-4.0, which allows sharing and adapting them with credit, but only for non-commercial purposes. You can use them for research, evaluation and personal projects, not in a product or an internal business system.
This page is a summary, not legal advice.
Can Roboflow license the larger Depth Anything V2 models?
No. Roboflow does not offer a commercial license for the Base, Large or Giant models. If you need depth estimation in a commercial product, use Depth Anything V2 Small.
Use Depth Anything V2 on Roboflow
The Depth Estimation block in Roboflow Workflows runs Depth Anything V2 Small, the Apache 2.0 model, so you can add depth to a commercial pipeline without the non-commercial terms. Compare Depth Anything V2 with other depth models on your own images in Playground (opens in a new tab).
To learn more about model licensing with Roboflow, see Roboflow Licensing.