> ## Documentation Index
> Fetch the complete documentation index at: https://docs.videodb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandbox Models

> Available models for VideoDB Sandbox Compute and their minimum tiers.

Sandbox models run on VideoDB Sandbox Compute. Pick a model, create a sandbox on a compatible tier, wait until it is active, and pass the sandbox ID to a supported workflow.

Sandbox models can be used across VideoDB workflows, including object detection analyzers, indexing pipelines, transcription, text-to-speech, and text generation.

> [!NOTE]
>
> Use model names exactly as listed unless your VideoDB team contact gives you an alias.

***

## Model catalog

| Model | Use case | Minimum tier | Good for |
| - | - | - | - |
| `Qwen/Qwen3-4B` | text generation | `small` | lightweight text generation |
| `Qwen/Qwen3.5-9B` | text generation and vision | `medium` | scene descriptions and visual understanding |
| `openai/whisper-large-v3-turbo` | speech-to-text | `small` | transcription and speech recognition |
| `ai4bharat/indic-conformer-600m-multilingual` | speech-to-text | `small` | transcription in supported Indian languages; specify the language |
| `k2-fsa/OmniVoice` | text-to-speech | `small` | TTS, voice design, and voice cloning |
| `rtdetr-v2-r50vd` | object detection | `small` | object detection workflows |

***

## Choose a tier

Qwen3.5-9B requires `medium`; the other listed models run on `small`. A medium sandbox can also select small-tier models.

```python theme={null}
from videodb import SandboxTier

small_sandbox = conn.create_sandbox(
    tier=SandboxTier.small,
    model_categories=[
        "text_generation",
        "speech_to_text",
        "text_to_speech",
        "object_detection",
    ],
)
```

Reuse the sandbox across compatible jobs in the same workflow.

***

## Where to pass the model name

| Workflow | Model field | Sandbox field |
| - | - | - |
| Object detection analyzer | analyzer `config.model` | analyzer `config.sandbox_id` |
| Generation APIs | `model_name` | `sandbox_id` |

For hosted/default models, omit `sandbox_id`. For models listed on this page, pass a compatible sandbox ID.

***

## Use a model in Understanding and Indexing

Use the sandbox model during [understanding](https://docs.videodb.io/pages/understand/indexing-pipelines/understanding-artifacts.md), then index the produced artifact with the standard `video.index(...)` interface.

For object detection, configure the model and sandbox in the analyzer, then choose filter and aggregation fields at indexing time:

```python theme={null}
sandbox = conn.create_sandbox(
    tier=SandboxTier.small,
    models=["rtdetr-v2-r50vd"],
)
sandbox.wait_for_ready()

understanding = video.understand(
    analyzers=[
        {
            "type": "object_detection",
            "name": "objects",
            "config": {
                "model": "rtdetr-v2-r50vd",
                "sandbox_id": sandbox.id,
            },
        }
    ],
)

understanding.wait_until_complete()
objects = understanding.get_analyzer("objects")

video.index(
    name="objects",
    source=objects,
    use_for=["query", "aggregate"],
    fields={
        "filter": ["object_labels", "object_counts"],
        "aggregate": ["object_labels"],
    },
)
```

***

## Use a model in generation APIs

Generation APIs use `model_name` and `sandbox_id`.

```python theme={null}
sandbox = conn.create_sandbox(
    tier=SandboxTier.small,
    models=["k2-fsa/OmniVoice", "Qwen/Qwen3-4B"],
)
sandbox.wait_for_ready()

job = coll.generate_voice(
    text="Welcome to VideoDB Sandbox Compute.",
    model_name="k2-fsa/OmniVoice",
    sandbox_id=sandbox.id,
)

audio = job.wait(timeout=900, interval=5)
```

```python theme={null}
response = coll.generate_text(
    prompt="Summarize the key visual events from this scene description list.",
    model_name="Qwen/Qwen3-4B",
    sandbox_id=sandbox.id,
    max_tokens=300,
    temperature=0.2,
)

print(response)
```

***

## Pricing and limits

Sandbox pricing and concurrency limits are based on the sandbox tier, not the individual model. See [Sandbox Compute](https://docs.videodb.io/pages/core-concepts/sandbox-compute.md#pricing-and-limits) for current pricing and limits.

> [card] [Sandbox Compute](https://docs.videodb.io/pages/core-concepts/sandbox-compute.md)
>
> Create, use, and stop sandbox compute.

> [card] [Understanding Artifacts](https://docs.videodb.io/pages/understand/indexing-pipelines/understanding-artifacts.md)
>
> Configure analyzers and model selection.

> [card] [Create an Index](https://docs.videodb.io/pages/understand/indexing-pipelines/create-an-index.md)
>
> Index artifacts produced by sandbox models.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.