# TAPNext API

> Casts tracking-any-point as next-token prediction with a causal, online model. Successor to TAPIR/BootsTAP in the tapnet repo, with a longer-horizon TAPNext++ checkpoint.

## Details

- Model id: `google-deepmind/tapnext`
- Provider: Google DeepMind
- Type: Perception · Tracking
- Output: Online point tracks through video
- Embodiments: Any (video)
- Endpoint: `POST /v1/track`
- Price: $0.10 per 1,000 calls
- Checkpoint served: `dm-tapnet/tapnextpp/tapnextpp_ckpt.pt`
- License: Apache-2.0
- Released: April 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2504.05579

## Call TAPNext

Send one request with your API key to `POST https://api.openrobotics.dev/v1/track`. The response comes back in the same call. The [API reference](https://www.openrobotics.dev/docs/api/track) lists every field. GPUs start on demand: after a quiet spell the first call returns `503` with `Retry-After` while one boots (never billed).

Python:

```python
import os, requests

res = requests.post(
  "https://api.openrobotics.dev/v1/track",
  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},
  json={
    "model": "google-deepmind/tapnext",
    "frames": ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
    "points": [[320, 240]],
  },
).json()
res["tracks"]          # per point, per frame { x, y, visible }
```

TypeScript:

```typescript
const res = await fetch("https://api.openrobotics.dev/v1/track", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "google-deepmind/tapnext",
    frames: ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
    points: [[320, 240]],
  }),
}).then((r) => r.json());
```

cURL:

```bash
curl https://api.openrobotics.dev/v1/track \
  -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google-deepmind/tapnext","frames":["<base64 JPEG or PNG>","<base64 JPEG or PNG>","…"],"points":[[320,240]]}'
```

## Guides about TAPNext

- [Physical AI explained: the open model stack for robots](https://www.openrobotics.dev/blog/physical-ai.md): 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.

## TAPNext FAQ

### How do I run TAPNext without my own GPU?

Call POST /v1/track on the OpenRobotics API with "model": "google-deepmind/tapnext". We run TAPNext on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the TAPNext API cost?

$0.10 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.

### What license does TAPNext use?

The weights we serve (dm-tapnet/tapnextpp/tapnextpp_ckpt.pt) are released under Apache-2.0. Check the license for your use case.

### Is TAPNext open source?

TAPNext's weights are publicly available under Apache-2.0. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [TAPIR / BootsTAP](https://www.openrobotics.dev/models/google-deepmind/tapir.md): `google-deepmind/tapir`, $0.10 per 1,000 calls
- [TAPIP3D](https://www.openrobotics.dev/models/cmu/tapip3d.md): `cmu/tapip3d`, $0.10 per 1,000 calls
- [Track-On2](https://www.openrobotics.dev/models/kuis-ai/track-on2.md): `kuis-ai/track-on2`, $0.10 per 1,000 calls
- [AllTracker](https://www.openrobotics.dev/models/stanford/alltracker.md): `stanford/alltracker`, $0.10 per 1,000 calls
- [CoTracker3](https://www.openrobotics.dev/models/meta/cotracker-3.md): `meta/cotracker-3`, not served
- [DELTA (DenseTrack3D)](https://www.openrobotics.dev/models/snap/delta.md): `snap/delta`, not served
