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

# Models and credits

## Routed models

Signing in gives you the models Hum routes.

```
/model            # list, cheapest first; a number switches
/model <name>
/cost             # tokens and dollars this session
```

## Credits

```
/usage-credits            # balance and the page that adds more
hum credits <code>        # redeem a code
```

When credits run out, Hum opens the credits page. The balance is your organization's; see [Credit](https://docs.metaphi.ai/account/credit.md).

## Your own host

Any OpenAI-compatible endpoint. Sessions on it call the host directly; every model call is kept under `~/.hum/calls/`.

```toml theme={"dark"}
[model]
name = "my-model"
api_base = "https://llm.example.com/v1"
api_key_env = "MY_KEY"
context_window = 200000
```

```bash theme={"dark"}
hum whoami        # signed in? whose model?
```

## Sub-agents

```toml theme={"dark"}
[model]
agents = "deepseek-v4-flash"     # a cheaper route for sub-agents
```


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