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

# Rivvr CLI

> Use the rivvr command-line tool to put your own models into production with Rivvr.

Rivvr runs your own AI models for you inside your company's AWS account. You bring the model files and say how fast it should answer and how much it may cost. Rivvr picks the GPU machines, starts and stops them as traffic changes, and gives you an address your application can send requests to. That address works with the OpenAI API, so code written for OpenAI can use it.

`rivvr` is the command-line tool for working with Rivvr. With it you can:

* put your model files into Rivvr,
* start a model so it can answer requests,
* send it a prompt and read the answer,
* check how fast it is and what it costs.

The same tool also lets an AI coding assistant, such as Claude Code, Codex, Cursor, or Gemini CLI, do these things for you.

New here? Follow the [quickstart](https://docs.rivvr.ai/get-started/quickstart.md). It takes about five commands to get a small test model answering a prompt. This is the main one:

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr deploy hf://HuggingFaceTB/SmolLM2-135M-Instruct --name hello --max-cost-per-hour 3 --wait
```

## The five things you'll work with

| Name | What it is |
| - | - |
| Project | A shared space for your team. Everything below belongs to a project. |
| Cluster | The place in your company's AWS account where models run. It says which kinds of AWS GPU machines Rivvr may use, up to how many of each, and the most the cluster may cost per hour. Rivvr starts and stops those machines as needed. A project can have several clusters. |
| Storage entry | A model's files, stored by Rivvr in your company's AWS account. They can come from Hugging Face, from S3, or from your own computer. An entry can also hold a LoRA adapter (see the [glossary](https://docs.rivvr.ai/get-started/glossary.md)). |
| Model | Files from a storage entry, running in a cluster and answering requests. When you create one, Rivvr tests it, picks suitable GPUs, and starts it for you. |
| Inference key | A key used only for sending prompts. Your normal login can create and delete things, but it can't send prompts. |

Your platform team (the people who manage Rivvr at your company) creates projects, clusters, and inference keys. Most of the time you'll work with storage entries and models.

If a word in these docs is unfamiliar, check the [glossary](https://docs.rivvr.ai/get-started/glossary.md).

## Where to go next

> [card] [Install the CLI](https://docs.rivvr.ai/get-started/installation.md)
>
> From the bundle your platform team gives you. macOS, Linux, or Windows.

> [card] [Deploy your first model](https://docs.rivvr.ai/get-started/quickstart.md)
>
> Sign in, start a small model, and send it a prompt.

> [card] [Connect an AI agent](https://docs.rivvr.ai/get-started/ai-agents.md)
>
> Let Claude Code, Codex, Cursor, or Gemini CLI use Rivvr.

> [card] [Command reference](https://docs.rivvr.ai/cli/overview.md)
>
> Every command and option.

Every command also has built-in help. It works without internet:

```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr --help
rivvr model create --help
```


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