Monocular depth models (one image)
18 depth models. Each section says what the model is, whether it may be used commercially and how fast it is; licences and checks are under Details.
Input: one RGB image. Output: a depth or inverse-depth map. kind (a card field, result.kind) says what the numbers mean: metric = metres; scale_invariant, affine_invariant and affine_invariant_inverse are relative (unknown scale or shift, not metres). Metric models that use the focal length take model(image, intrinsics=K) (K [3, 3], pixels of the input): metric3d-vit-large and da3metric-large need it for correct metres (da3metric-large: metres = output x focal / 300; without intrinsics= a 300 px focal length is assumed, wrong for a real camera). unidepth-v2-vitl14, unik3d-vitl, depth-pro and MoGe estimate the camera themselves (given intrinsics= replace fx); zoedepth-nk and the relative models (da3mono-large too) take none.
Measured on RTX 5060 Ti, torch 2.14.1+cu130; fastforks bench MODEL --size HxW measures yours. The summary uses one input, 994x1482: kernels time with its speed-up over the faster original run, and kernels peak reserved memory with its ratio to the smaller original one. Where measured (one variant per family), a variant's table also lists portable under torch.compile and the fp16 TensorRT engine of portable (export; memory: the engine's device memory). – = not measured. The accuracy column is lower-is-better (NYUv2 AbsRel (scale+shift aligned)).
Other devices: Apple M1 Pro 16 GB, NVIDIA L4, NVIDIA L40S, NVIDIA A10, NVIDIA A100-SXM4-40GB, NVIDIA RTX PRO 6000; across devices.
| model | commercial | NYUv2 AbsRel (scale+shift aligned) ↓ | kernels time (ms), speed-up vs original | kernels peak memory (MiB, reserved), ratio to original |
|---|---|---|---|---|
da3-giant-1.1 | no | 0.0397 | 44.19, 5.1x | 2710, 0.42x |
da3-large-1.1 | no | 0.0468 | 17.13, 9.7x | 1090, 0.38x |
da3metric-large | yes | 0.0398 | 14.71, 5.8x | 868, 0.35x |
da3mono-large | yes | 0.0402 | 14.56, 5.8x | 868, 0.35x |
da3nested-giant-large-1.1 | no | 0.0387 | 58.23, 5.3x | 3378, 0.44x |
depth-anything-v2-b | no | 0.0462 | 10.51, 6.0x | 436, 0.46x |
depth-anything-v2-l | no | 0.0439 | 31.12, 4.5x | 1034, 0.44x |
depth-anything-v2-s | yes | 0.0509 | 4.51, 9.1x | 248, 0.59x |
depth-pro | no | 0.0425 | 270.93, 2.1x | 3778, 0.88x |
marigold-depth-v1-1 | yes | 0.0561 | 383.17, 1.1x | 3762, 1.1x |
metric3d-vit-large | yes | 0.0546 | 158.46, 2.8x | 1688, 0.54x |
midas-dpt-beit-large-512 | yes | 0.0487 | 63.89, 5.2x | 1436, 0.5x |
moge-2-vitl-normal | yes | 0.0357 | 73.43, 2.3x | 1610, 0.66x |
moge-2-vits-normal | yes | 0.0484 | 29.73, 2.8x | 1008, 0.79x |
moge-3-vitl | yes | 0.0356 | 214.71, 2.3x | 1884, 0.72x |
unidepth-v2-vitl14 | no | 0.0355 | 66.37, 2.0x | 1472, 0.42x |
unik3d-vitl | no | 0.0346 | 62.92, 2.1x | 1266, 0.35x |
zoedepth-nk | yes | 0.0532 | 88.87, 3.1x | 1960, 0.91x |
All models
Modes, licences, training data and outputs per model
Commercial status per variant: yes if the code and the weights licence both allow commercial use (the training data is listed but does not change it; weights without a licence of their own are assumed to carry the code licence); no if either forbids it; unclear for custom licence terms (treat as no).
| model | modes | code licence | weights licence | training data | commercial | outputs |
|---|---|---|---|---|---|---|
da3-giant-1.1 | portable, kernels | Apache-2.0 | CC-BY-NC-4.0 | unstated | no (weights: CC-BY-NC-4.0) | depth, confidence, intrinsics, mask, sky |
da3-large-1.1 | portable, kernels | Apache-2.0 | CC-BY-NC-4.0 | unstated | no (weights: CC-BY-NC-4.0) | depth, confidence, intrinsics, mask, sky |
da3metric-large | portable, kernels | Apache-2.0 | Apache-2.0 | unstated | yes | depth, confidence, intrinsics, mask, sky |
da3mono-large | portable, kernels | Apache-2.0 | Apache-2.0 | unstated | yes | depth, confidence, intrinsics, mask, sky |
da3nested-giant-large-1.1 | portable, kernels | Apache-2.0 | CC-BY-NC-4.0 | unstated | no (weights: CC-BY-NC-4.0) | depth, confidence, intrinsics, mask, sky |
depth-anything-v2-b | portable, kernels | Apache-2.0 | CC-BY-NC-4.0 | unstated | no (weights: CC-BY-NC-4.0) | inverse_depth |
depth-anything-v2-l | portable, kernels | Apache-2.0 | CC-BY-NC-4.0 | unstated | no (weights: CC-BY-NC-4.0) | inverse_depth |
depth-anything-v2-s | portable, kernels | Apache-2.0 | Apache-2.0 | unstated | yes | inverse_depth |
depth-pro | portable, kernels | LicenseRef-Apple-Sample-Code | LicenseRef-research-only | unstated | no (weights: LicenseRef-research-only) | depth, intrinsics |
marigold-depth-v1-1 | portable, kernels | Apache-2.0 | LicenseRef-CreativeML-OpenRAIL-PlusPlus-M | unstated | yes | depth |
metric3d-vit-large | portable, kernels | BSD-2-Clause | BSD-2-Clause (assumed from code) | unstated | yes | depth, normals, confidence |
midas-dpt-beit-large-512 | portable, kernels | MIT | MIT (assumed from code) | unstated | yes | inverse_depth |
moge-2-vitl-normal | portable, kernels | MIT | MIT | unstated | yes | depth, points, intrinsics, mask, normals |
moge-2-vits-normal | portable, kernels | MIT | MIT | unstated | yes | depth, points, intrinsics, mask, normals |
moge-3-vitl | portable, kernels | MIT | MIT | unstated | yes | depth, points, intrinsics, mask, normals |
unidepth-v2-vitl14 | portable, kernels | CC-BY-NC-4.0 | CC-BY-NC-4.0 (assumed from code) | unstated | no (code: CC-BY-NC-4.0 (noncommercial); weights: CC-BY-NC-4.0 (assumed from code)) | depth, points, intrinsics, confidence |
unik3d-vitl | portable, kernels | CC-BY-NC-SA-4.0 | CC-BY-NC-SA-4.0 (assumed from code) | unstated | no (code: CC-BY-NC-SA-4.0 (noncommercial); weights: CC-BY-NC-SA-4.0 (assumed from code)) | depth, points, confidence |
zoedepth-nk | portable, kernels | MIT | MIT (assumed from code) | unstated | yes | depth |
Training datasets
| id | dataset | licence | commercial use |
|---|