DeFM (Depth Foundation Model) API

DINO-style self-distilled encoder trained on 60M depth images with metric-aware normalization, for depth-based robot navigation, locomotion and manipulation; distilled into small CNNs for policies.

Live$0.02 per 1,000 callsGet an API key

Call DeFM (Depth Foundation Model)

Send one request with your API key. The response comes back in the same call. See the API reference for every field.

import os, requests res = requests.post(  "https://api.openrobotics.dev/v1/embed",  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},  json={    "model": "eth/defm",    "image": "<base64 JPEG or PNG>",  },).json()res["embedding"]        # unit-length float vector

GPUs start on demand. If DeFM (Depth Foundation Model) hasn't been called for a while, the first request returns 503 with a Retry-After header while it boots (usually a few minutes, never billed).

Inputs

What DeFM (Depth Foundation Model) needs in a request as served (leggedrobotics/defm (defm_vit_l14.pth)), beyond the fields every /v1/embed call takes. The same spec is in inputs on GET /v1/models.

image
Required. A depth map, not RGB: 16-bit grayscale PNG in millimetres.

Guides about DeFM (Depth Foundation Model)

DINOv3 vs DINOv2: features, licenses and retrieval
Compare DINOv2 and DINOv3, distinguish dense features from pooled API vectors, and test same-space image retrieval with offline Python.
Physical AI explained: the open model stack for robots
What physical AI (embodied AI) means, the five kinds of models a robot uses, from perception to VLAs and world models, and open examples of each.

DeFM (Depth Foundation Model) FAQ

How do I run DeFM (Depth Foundation Model) without my own GPU?
Call POST /v1/embed on the OpenRobotics API with "model": "eth/defm". We run DeFM (Depth Foundation Model) on cloud GPUs that start on demand, so there is nothing to install or host.
How much does the DeFM (Depth Foundation Model) API cost?
$0.02 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
What license does DeFM (Depth Foundation Model) use?
The weights we serve (leggedrobotics/defm (defm_vit_l14.pth)) are released under Apache-2.0 (trained from scratch on depth). Check the license for your use case.
Is DeFM (Depth Foundation Model) open source?
DeFM (Depth Foundation Model)'s weights are publicly available under Apache-2.0 (trained from scratch on depth). OpenRobotics serves them behind an API so you can use the model without hosting it.

Run DeFM (Depth Foundation Model) with one API call

Create a key, send POST /v1/embed with "model": "eth/defm", and pay $0.02 per 1,000 calls.

Get an API keyRead the /v1/embed referenceBrowse vision encoders