Depth-Anything-V2-Small-hf vs depth-anything-large-hf for Local AI in 2026

Analysis Last updated  8 min read By Q4KM

Quick Answer

Depth-Anything-V2-Small-hf from depth-anything is the top pick for local use as of November 2026 based on its smaller weight footprint: 0.1 GB in F32 versus 1.3 GB for depth-anything-large-hf from LiheYoung [1][3]. The ranking is Depth-Anything-V2-Small-hf (depth-anything), and depth-anything-large-hf (LiheYoung) [1][3].

Key Takeaways

How do Depth-Anything-V2-Small-hf and depth-anything-large-hf compare?

Model Organization Parameters VRAM at 4-bit (estimated) Context License Benchmark (date)
depth-anything/Depth-Anything-V2-Small-hf [1] depth-anything [1] 25M [1] 0.0125 GB (estimated: params × 0.5 bytes; weights only, excluding runtime overhead) [1] — Apache-2.0 [1] —
LiheYoung/depth-anything-large-hf [3] LiheYoung [3] 335M [3] 0.1675 GB (estimated: params × 0.5 bytes; weights only, excluding runtime overhead) [3] — Apache-2.0 [3] —

Which model should you run locally?

1. Depth-Anything-V2-Small-hf

Depth-Anything-V2-Small-hf from depth-anything is a depth-estimation model first published on Hugging Face on 2024-06-18 [1]. Its associated paper, “Depth Anything V2,” was published on 2024-06-13 [2]. The model is the better local pick when the deciding priority is a smaller weight footprint: its reported F32 weights occupy 0.1 GB [1], compared with 1.3 GB for LiheYoung’s depth-anything-large-hf [3].

The Hugging Face repository identifier is depth-anything/Depth-Anything-V2-Small-hf [1]. The model has 25M parameters, F32 weights of 0.1 GB and an Apache-2.0 licence [1]. No context-length figure is available for this comparison, so a context-window advantage cannot justify the recommendation. For installation planning, use the reported weight size as the weight-storage entry in your budget. A weight-file figure alone does not establish how much memory a complete deployment will require.

LiheYoung’s depth-anything-large-hf has 335M parameters and F32 weights of 1.3 GB [3]. Its first publication on Hugging Face was 2024-01-23 [3], preceding the small model’s publication on 2024-06-18 [1]. Both use Apache-2.0 [1][3], so the licence does not distinguish them here. The small model combines a later release with a lower reported weight footprint [1][3]. Release timing provides useful version context, but the later date alone does not establish better output quality.

Estimated 4-bit weight storage for the small model is 0.0125 GB, calculated as 25M parameters × 0.5 bytes per parameter [1]. The equivalent estimate for the large model is 0.1675 GB, calculated as 335M parameters × 0.5 bytes per parameter [3]. Both figures describe estimated weight storage. Neither is a measured VRAM requirement, a verified quantized download size or proof that a particular hardware configuration can run the model. Keep those estimates separate from the reported F32 file sizes when comparing installation options.

For a local trial, keep weight storage and complete deployment requirements in separate budget entries. Package sizes, supported runtime flags and successful first-run console output are unspecified here, so no installation command or expected transcript can be established. A practical gotcha is treating the quantization calculation as confirmation that a compatible quantized release exists. Another is treating the reported weight footprint as a complete installation size; the supplied figures establish neither package overhead nor total deployment storage.

Choose the small model for its documented footprint advantage: 25M parameters and 0.1 GB of F32 weights [1], against 335M parameters and 1.3 GB [3]. No benchmark score is available for the small repository in this comparison, so the recommendation establishes no accuracy or speed advantage. The larger parameter count also provides no basis for recommending the large model merely because a machine has memory available. The deciding figures support choosing the small model to reduce weight storage [1][3].

2. depth-anything-large-hf

depth-anything-large-hf from LiheYoung was first published on Hugging Face on 2024-01-23.[3] Its associated paper, “Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data,” was published on 2024-01-19.[4] The exact Hugging Face identifier is LiheYoung/depth-anything-large-hf.[3] Keep that identifier when selecting the repository; the organization is part of the model’s identity.

The model has 335M parameters, F32 weights listed at 1.3 GB, and an Apache-2.0 licence.[3] Those weight files provide a concrete storage figure, but their size should not be presented as a complete runtime-memory requirement. A context-window length is not specified in the available specifications, so context capacity supplies no basis for choosing this model.

For comparison, Depth-Anything-V2-Small-hf from depth-anything has 25M parameters, F32 weights listed at 0.1 GB, and an Apache-2.0 licence.[1] Its first Hugging Face publication was 2024-06-18.[1] The comparison therefore establishes a smaller listed weight footprint and a later publication date for the small model.[1][3] Neither fact establishes a measured difference in depth-estimation quality.

At 4-bit, the large model’s weight payload is estimated at 0.1675 GB, calculated as 335M parameters × 0.5 bytes per parameter, using decimal GB.[3] The corresponding small-model payload is estimated at 0.0125 GB, calculated as 25M parameters × 0.5 bytes per parameter.[1] Both calculations describe hypothetical packed weights; they do not establish actual runtime memory, quantized-model availability, or hardware compatibility.

The honest case for choosing the large model is therefore conditional. An engineer who specifically needs the named repository has a reason to select it. An engineer choosing between the models on footprint or licence has no demonstrated advantage to gain: the large model has a greater listed weight footprint, while the licence is the same.[1][3]

No measured task-quality advantage establishes the large model as the right pick when memory permits. For a local choice driven by the cited weight footprint, favor the small model’s 0.1 GB F32 weights over the large model’s 1.3 GB.[1][3] Choose the large repository for a specific requirement to use it, without treating its parameter count as proof of superior results.

What hardware do you need for either model?

For depth-anything’s depth-anything/Depth-Anything-V2-Small-hf, the cited 25 million parameters imply estimated 4-bit weight memory of 0.0125 GB (parameters × 0.5 bytes) [1]. For LiheYoung’s LiheYoung/depth-anything-large-hf, the cited 335 million parameters imply estimated 4-bit weight memory of 0.1675 GB (parameters × 0.5 bytes) [3]. Both calculations describe weight storage alone; neither figure establishes the total GPU memory needed to run the model.

At 8-bit precision, estimated weight memory is 0.025 GB for depth-anything/Depth-Anything-V2-Small-hf (parameters × 1 byte) [1] and 0.335 GB for LiheYoung/depth-anything-large-hf (parameters × 1 byte) [3]. For disk planning, the published F32 weights occupy 0.1 GB [1] and 1.3 GB [3], respectively. Those published file sizes describe the original weights; the quantized estimates should not be treated as measured download sizes or verified runtime allocations.

For smaller GPUs, depth-anything/Depth-Anything-V2-Small-hf is the footprint-based choice: its lower parameter count produces a smaller estimated weight allocation at either precision [1][3]. That advantage supports choosing it when GPU memory is the constraint, but does not establish compatibility with a particular GPU. The figures also provide no basis for claiming that the larger model delivers better results when additional memory is available.

Frequently Asked Questions

Which model should I choose for local use?

Choose depth-anything/Depth-Anything-V2-Small-hf when weight footprint decides the choice: its F32 weights occupy 0.1 GB [1], versus 1.3 GB for LiheYoung/depth-anything-large-hf [3]. The former was published on Hugging Face on 2024-06-18 [1]; the latter on 2024-01-23 [3]. Those figures support choosing the smaller, newer release for footprint and recency [1][3]. Neither release date nor weight size establishes superior depth quality or inference speed.

How much VRAM do I need?

The published F32 weight sizes are 0.1 GB for Depth-Anything-V2-Small-hf (depth-anything) [1] and 1.3 GB for depth-anything-large-hf (LiheYoung) [3]. Treat those as weight figures, not measured peak VRAM requirements. A GPU purchase needs a memory measurement from your intended runtime and workload. Choose the smaller model if reducing the published weight footprint is your deciding requirement [1][3], but do not use either file size alone as a guarantee that a particular GPU will work.

What are the licences, and how should I assess commercial use?

Both Depth-Anything-V2-Small-hf (depth-anything) and depth-anything-large-hf (LiheYoung) list Apache-2.0 as their licence [1][3]. The listed licence therefore does not distinguish the models when assessing a commercial project [1][3]. Review the applicable licence text and notices before distributing a product or including model files. Keep that review separate from your technical choice: the shared licence label does not establish equivalent output quality, runtime compatibility, hardware requirements, or operating cost.

Can I run either model on a CPU?

CPU compatibility and usable CPU latency cannot be established from parameter counts or weight sizes alone. Depth-Anything-V2-Small-hf (depth-anything) has 25M parameters and 0.1 GB of F32 weights [1], while depth-anything-large-hf (LiheYoung) has 335M parameters and 1.3 GB of F32 weights [3]. Start a CPU evaluation with the smaller model if weight footprint is your priority [1][3]. Verify CPU support in your intended runtime and measure your workload before committing to either model.

Which model will cost less to run?

A monetary running-cost comparison needs measurements beyond the published model sizes. Depth-Anything-V2-Small-hf (depth-anything) has 0.1 GB of F32 weights [1], compared with 1.3 GB for depth-anything-large-hf (LiheYoung) [3]. Those figures establish a weight-footprint difference, not an electricity bill or hardware purchase requirement. Measure inference time and power consumption on your intended machine, then apply your electricity price and expected workload. Do not convert the weight-size difference into an assumed operating-cost saving.

Can I switch between the models later?

Plan to validate a switch in your application rather than assume interchangeable behavior. Use the exact repository identifier: depth-anything/Depth-Anything-V2-Small-hf [1] or LiheYoung/depth-anything-large-hf [3]. Moving from the former to the latter changes the published F32 weight footprint from 0.1 GB [1] to 1.3 GB [3]. Both list Apache-2.0 [1][3]. Check loading, preprocessing, output handling, memory use, and application results before adopting the replacement; shared licensing does not establish runtime compatibility.

Sources

  1. depth-anything/Depth-Anything-V2-Small-hf model card (Hugging Face) — 2026-11-10 · Depth-Anything-V2-Small-hf on Q4KM
  2. Depth Anything V2 — 2024-06-13
  3. LiheYoung/depth-anything-large-hf model card (Hugging Face) — 2026-11-10 · depth-anything-large-hf on Q4KM
  4. Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data — 2024-01-19

Get these models on a hard drive

Skip the downloads. Browse our catalog of 985+ commercially-licensed AI models, available pre-loaded on high-speed drives.

Browse Model Catalog