---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Spatial Understanding](/models?category=spatial)/depth-anything/Depth-Anything-V2-Large

HFDepth Estimationcc-by-nc-4.0

# Depth-Anything-V2-Large

by depth-anything

Foundation model for monocular depth estimation with synthetic-to-real training

75Kdl/month

164likes

335Mparams

[HuggingFace](https://huggingface.co/depth-anything/Depth-Anything-V2-Large)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`depth-anything/Depth-Anything-V2-Large`

## Deploy Depth-Anything-V2-Large

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

Depth Anything V2 Large is a 335M-parameter monocular depth estimation model that produces dense per-pixel depth maps from single images. Built on a DINOv2-Large encoder with a DPT decoder, it is trained via a teacher-student paradigm: a giant ViT-G teacher learns from 595K synthetic images, then supervises student models on 62M pseudo-labeled real images to bridge the synthetic-to-real domain gap.

On Mixpeek, Depth Anything V2 extracts depth maps from video frames and images, enabling spatial-aware retrieval such as finding scenes with specific depth compositions, foreground/background separation, or 3D layout understanding.

## Architecture

DINOv2-Large (ViT-L) encoder with 24 layers feeding into a DPT (Dense Prediction Transformer) decoder. Intermediate features from DINOv2 are fused at multiple scales for dense depth prediction. Teacher-student training with ViT-G teacher on synthetic data.

## How it runs

.dataflow-R15f6b .df-packets-static{display:none} @media (prefers-reduced-motion: reduce){ .dataflow-R15f6b .df-packets-anim{display:none} .dataflow-R15f6b .df-packets-static{display:inline} .dataflow-R15f6b .df-toggle{display:none} }

Pause

Inference INPUT MODEL OUTPUT Image object Depth-Anything-V2-Large mp.inference Depth map vector Vector store MVS Depth-Anything-V2-Large → embeddings, indexed for search

Depth-Anything-V2-Large takes image, and Mixpeek indexes what it emits.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so Depth-Anything-V2-Large runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // Boxes, masks, depth maps and anomaly scores are structured
          // results, not vectors. They go in payload and are reachable
          // through pre\_filters on a retriever, not through similarity.
          payload: {
            detections: modelOutput,
            source\_key: "archive/2026/asset-00412",
          },
        },
      \],
    }),
  },
);

// No managed alternative for an open label set. Two extractors do emit a
// bbox, for the one thing each detects: document\_graph\_extractor@v1 per
// layout block, face\_identity\_extractor@v1 per face. Nothing ships that
// returns masks, depth maps or anomaly scores.

## Capabilities

*   Dense per-pixel relative depth estimation
*   10x faster than diffusion-based depth models
*   Robust across indoor, outdoor, and synthetic scenes
*   Fine-grained boundary preservation
*   Metric depth variant available for absolute scale

## Use Cases on Mixpeek

Spatial-aware video retrieval (find scenes by depth composition or layout)

3D scene understanding for augmented reality content pipelines

Foreground/background separation in visual effects and media production

## Benchmarks

Dataset

Metric

Score

Source

NYUv2

AbsRel

0.043

Yang et al., 2024: Depth Anything V2 paper

KITTI

AbsRel

0.044

Yang et al., 2024: Depth Anything V2 paper

Sintel

AbsRel

0.280

Yang et al., 2024: Depth Anything V2 paper

## Performance

Input Size518x518 px (default)

GPU Latency~12ms / image (A100)

CPU Latency~180ms / image

GPU Throughput~83 images/sec (A100)

GPU Memory~1.4 GB

## Common Pipeline Companions

[

openai/clip-vit-large-patch14

Visual embedding for semantic search

](/model/openai/clip-vit-large-patch14)[

facebook/sam2.1-hiera-large

Segmentation combined with depth for 3D understanding

](/model/facebook/sam2.1-hiera-large)

## Explore on Mixpeek

[

More Spatial Understanding models

Compare alternatives in this category

](/models?category=spatial)[

Best Computer Vision APIs

Hand-picked tools & platforms compared

](/curated-lists/best-computer-vision-apis)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationdepth-anything

FeatureDepth Estimation

Outputdepth map

Modalitiesvideo, image

RetrieverDepth Filter

Parameters335M

Licensecc-by-nc-4.0

Downloads/mo75K

Likes164

[

### Research Paper

Depth Anything V2

arxiv.org](https://arxiv.org/abs/2406.09414)

### Build a pipeline with Depth-Anything-V2-Large

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

apple/DepthPro

Depth Estimation

](/model/apple/DepthPro)[

depth-anything/DA3-SMALL

Depth Estimation

](/model/depth-anything/DA3-SMALL)[

depth-anything/DA3-LARGE-1.1

Depth Estimation

](/model/depth-anything/DA3-LARGE-1.1)[

depth-anything/DA3NESTED-GIANT-LARGE-1.1

Depth Estimation

](/model/depth-anything/DA3NESTED-GIANT-LARGE-1.1)