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

# Your first open model

> Three ways to get an open model answering a request for the first time, what each one needs before you start, and where each one stops.

# Your first open model

Never run an open model before? This page gets one answering a request on the hosted service,
`https://console.infercrane.com`, and says what you need before you start.

> [!NOTE]
>
> The hosted service is in private beta. With no account, start with the [local tour](https://docs.infercrane.com/quickstart.md):
> it runs InferCrane on your own machine with a stand-in for the model, and needs no GPU, card, or
> sign-in. The paths below need an account:
> [Request access (private beta)](https://console.infercrane.com/request-access). You can
> sign in once your request is approved.

Pick the row that matches what you have today.

| You have | Path | What you need | Whose GPU runs the model |
| - | - | - | - |
| A browser and a card | [Call a hosted open model](#call-a-hosted-open-model) | An InferCrane account and prepaid credits | None of yours; you manage no GPU |
| A RunPod account | [Run a model in your own RunPod account](#run-a-model-in-your-own-runpod-account) | An InferCrane account, a RunPod API key, and funds in RunPod | Yours, billed to you by RunPod |
| A laptop or server with a model server on it | [Connect the machine you have](#connect-the-machine-you-have) | An InferCrane account and Ollama, LM Studio, llama.cpp, vLLM, or SGLang running | Yours |

> [!NOTE]
>
> On the hosted service, RunPod is the one cloud you can connect yourself. AWS, Google Cloud, and
> Kubernetes are set up with InferCrane's help, or on a
> [control plane you run yourself](https://docs.infercrane.com/integrations/kubernetes-install.md). Prepaid GPUs are not open on the
> hosted service yet, so running your own model there needs your own RunPod account.

## Words this page uses

| Word | Meaning |
| - | - |
| Open-weight model | A model whose trained weights are published, so anyone with a large enough GPU can run it. Most are on [Hugging Face](https://huggingface.co/models) and are named `owner/name`, for example `Qwen/Qwen3-8B`. |
| GPU type | The graphics card the model runs on. What matters first is its memory: an L4 or A10G has 24 GB, an L40S 48 GB, an H100 80 GB. The model must fit, with room for the requests it is answering. `infercrane start` checks the fit for you. |
| Engine | The program that loads the model and answers requests. InferCrane starts vLLM or SGLang for you; you do not install either. |
| Endpoint | The address your application calls. InferCrane endpoints speak the OpenAI chat completions API, so OpenAI client code works with another base URL and model name. |
| Token | Models read and write text in tokens, which are pieces of words. As a rule of thumb for English, 1,000 tokens are about 750 words. Limits and usage are counted in tokens. |
| API key | The secret your application sends with each request. Create one in the dashboard under **Settings → Keys**; it is shown once. |

## Install the CLI and sign in

Each path below also works from the terminal. Once your access request is approved:

```bash theme={"theme":"css-variables"}
brew install infercrane/tap/infercrane
infercrane login
infercrane doctor
```

`infercrane login` opens the dashboard, where you approve the sign-in with the account you already
use there. Nothing is pasted or copied. `infercrane doctor` then confirms the CLI reaches the hosted
service and is signed in. See [Sign in the CLI](https://docs.infercrane.com/features/cli-login.md).

## Call a hosted open model

This is the shortest path. InferCrane serves the model, and you pay per token from a prepaid
balance.

**1. Request access**

[Request access (private beta)](https://console.infercrane.com/request-access). You
can sign in once your request is approved.

**2. Pick a hosted model and turn on API access**

Choose **New**, filter the list to **Hosted**, and open a model. Its page shows the model ID,
the rates, and a ready request. Turn on API access there.

**3. Add credits**

Choose **Add credits** in the sidebar, pick an amount, and pay by card on Stripe's page.
Requests are refused with `402 Payment Required` until the balance covers them, and a refused
request costs nothing.

**4. Send a request**

From the terminal, with the model ID from the model's page:

```bash theme={"theme":"css-variables"}
infercrane request glm-5.3-flash --message "Say hello in one sentence."
```

From your own code, create a key under **Settings → Keys** and call
`https://api.infercrane.com/v1`; see the [Model API quickstart](https://docs.infercrane.com/model-apis.md).

Hosted models answer text chat. Tool calling, structured output, and images are refused today; see
the [request fields](https://docs.infercrane.com/model-apis.md#request-fields).

## Run a model in your own RunPod account

Here the GPU is yours. InferCrane starts the engine and the model on it and gives you one endpoint.
RunPod bills you for the GPU from the moment it starts until you delete the deployment.

**1. Get a RunPod API key**

Create an account at [runpod.io](https://www.runpod.io) and add funds there, following RunPod's
own billing steps. In the RunPod console, open **Settings → API Keys** and create a key.

**2. Connect RunPod to InferCrane**

In the InferCrane dashboard, open **Settings → Connections**, choose **Add connection**, and
pick the RunPod account. Give it a label such as `my-runpod` and paste the key. InferCrane
checks the key with RunPod, stores it encrypted, and never shows it again. Connecting starts
nothing and bills nothing.

**3. Get a starting setup**

In the dashboard, choose **Describe your workload** on the Start page. Empty fields use the
defaults shown. Or from the terminal:

```bash theme={"theme":"css-variables"}
infercrane start --cloud runpod
```

The answer names a model, a GPU type, and the engine command, with the source of every number.
Planning starts no machine. See [Start from your workload](https://docs.infercrane.com/start.md).

**4. Deploy it**

> [!WARNING]
>
> This step starts a GPU in your RunPod account. RunPod bills it until you delete the deployment.

Deploy from the suggested setup in the dashboard, or write it to a file and deploy it with the
label of your connection:

```bash theme={"theme":"css-variables"}
infercrane start qwen3-8b --gpu L4 --cloud runpod --spec start.yaml
infercrane deploy start.yaml --compute-connection my-runpod --wait
```

`infercrane start` ends with this command and names your connection. Without
`--compute-connection`, the hosted service refuses the deployment with
`compute_connection_required` and says to connect your RunPod account, because it never runs
your model on an account that is not yours.

How long the first start takes is not estimated. It depends on RunPod's stock of that GPU and on
downloading the model's weights; `infercrane plan` reports both as unknown.

**5. Send a request**

```bash theme={"theme":"css-variables"}
infercrane request qwen3-8b --message "Say hello in one sentence."
```

From your own code, call `https://api.infercrane.com/v1` with a key from **Settings → Keys** and
the endpoint name as the `model`.

**6. Delete it when you are done**

```bash theme={"theme":"css-variables"}
infercrane delete qwen3-8b --plan
infercrane delete qwen3-8b --yes --wait
```

`--plan` shows what would be removed. The second command removes the GPU, which ends RunPod's
billing for it.

The starting setups use public models and need no Hugging Face account. A gated model, one whose
page asks you to accept terms first, needs a token: accept the terms on the model's Hugging Face
page, create a read token under [Access Tokens](https://huggingface.co/settings/tokens), then save
it and pass its ID when you deploy. See
[private and gated models](https://docs.infercrane.com/features/model-artifacts.md#private-and-gated-models).

RunPod deployments have their own qualification state. Read
[compatibility and qualification](https://docs.infercrane.com/compatibility.md) before relying on an exact model and GPU.

## Connect the machine you have

If a model server already runs on your laptop or server, InferCrane can show its health, model, and
hardware without a cloud account or a card:

```bash theme={"theme":"css-variables"}
infercrane agent detect
infercrane agent run
```

`detect` lists the servers it finds and sends nothing. `run` connects them as observe-only
endpoints. Your application keeps calling the server directly: requests through the InferCrane
gateway cannot reach a server that only the agent sees. See
[Run on this machine](https://docs.infercrane.com/run-on-this-machine.md).

## Next

* [Start from your workload](https://docs.infercrane.com/start.md): describe your traffic and budget and compare starting setups.
* [Proof Report](https://docs.infercrane.com/features/proof-report.md): what a Proof measures before a change reaches your users.
* [Concepts](https://docs.infercrane.com/concepts.md): endpoints, deployments, and revisions.


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