# models teardown

```sh
rai models teardown [OPTIONS]
```

Drop the current model and all its managed data.

For Snowflake, removes only the selected model's directly tagged RAI
objects under `--force`. Schemas, shared tags, and other models stay.
For JSONL, deletes the local oplog store.
Targets the current model (`deployment.public_schema` and its prefix or suffix
in `raiconfig.yaml`). Leaves the configuration untouched: afterwards,
`deployment.public_schema` still points to the removed model and is stale.
Update it to an existing model before using it again.

## Options

| Option    | Type    | Description                                                                                                                                             |
| :-------- | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--force` | Boolean | Remove the selected model's RAI-owned objects and local replay state. Schemas are kept. Without this flag, only a preview is printed. Default: `False`. |

## See Also

- [`models deploy`](/api/cli/v2.2/models/deploy/index.md)
- [`models init`](/api/cli/v2.2/models/init/index.md)
- [`models list`](/api/cli/v2.2/models/list/index.md)
- [`models pull`](/api/cli/v2.2/models/pull/index.md)
