Depth Anything V2 is a monocular depth estimation model released in June 2024 by researchers at the University of Hong Kong and TikTok. It predicts a dense depth map from a single RGB image, enabling 3D-aware applications without the need for stereo cameras, LiDAR, or multi-view inputs. The model improves on the original Depth Anything through three modifications: replacing real labeled images with 595K high-quality synthetic images during teacher training, scaling up teacher model capacity, and using the stronger teacher to generate pseudo-labels on 62 million unlabeled real images used to train the student models. This pipeline reduces the depth prediction artifacts that can occur in reflective, transparent, and texture-poor regions. Compared to diffusion-based depth models such as Marigold, Depth Anything V2 runs more than 10× faster while producing more accurate predictions.
Depth Anything V2 is released in four sizes: Small (25M), Base (97M), Large (335M), and Giant (1.3B), and in two output modes: relative depth (normalized scene-level estimates) and metric depth (absolute distance in meters, produced by fine-tuning the relative-depth backbone on depth-annotated datasets). The Small, Base, and Large model weights are released under Apache 2.0, and the Giant variant under CC-BY-NC-4.0 for non-commercial use. A successor model, Depth Anything 3, was released in November 2025 by the ByteDance Seed team, extending the framework to multi-view depth estimation and camera pose recovery.
Other models worth comparing for similar use cases.
Depth Anything V2 is released under Apache-2.0, a permissive license. The Depth Anything V2 license lets you run, fine-tune, and redistribute the model in commercial products with no obligation to open-source related code changes, so no separate commercial license is required.
Apache-2.0 grants an express patent license that terminates if you bring a patent claim over the work, and it disclaims warranties. Validate Depth Anything V2 on your own data before you depend on it in production.
Read the full Apache 2.0 license ↗This is the straightforward case: a permissive license is the best technical solution and you are free to deploy Depth Anything V2 commercially without open-sourcing your own code.
Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.
Talk to salesThis model is released under the Apache License 2.0, a permissive open-source license that allows commercial use, modification, distribution, and patent use.
Yes. Under the terms of the Apache 2.0 license, you can freely use this model for commercial purposes, including in proprietary products. You must retain the copyright notice and disclaimers when redistributing.
License information is provided as a guide and is not legal advice.