# Nous Portal (/docs/providers/nous)

The Nous Portal account answers with the visitor's Nous Research account. The wallet lists it as Nous Portal under "With your plan", with the id `nous`.

## What the visitor needs [#what-the-visitor-needs]

A Nous Portal account with credits. Nous bills the answers to the account's prepaid credits.

## Sign in [#sign-in]

1. In the wallet, the visitor picks Nous Portal under "With your plan".
2. The wallet asks Nous for a device code at `https://portal.nousresearch.com/api/oauth/device/code` and shows the code in the side panel.
3. It opens a window on the portal's verification page, with the code filled in when Nous gives such an address.
4. The visitor signs in and approves the code.
5. The wallet asks the portal's token endpoint each time a page finishes loading in the window, when the window closes, and when the visitor presses "I approved it". The portal answers `authorization_pending` or `slow_down` until the visitor approves.
6. The portal returns the tokens, and the account is connected.

The code lasts as long as Nous says in `expires_in`, and ten minutes when Nous gives no duration. The wallet renews the access token with the refresh token from one minute before it expires.

## Models [#models]

The wallet has no model list for Nous Portal. The account answers with `Hermes-4-405B`, and the side panel shows no model buttons for its sites.

## Usage and limits [#usage-and-limits]

The wallet reads no usage header specific to Nous Portal. It reads `x-ratelimit-remaining-tokens` and `x-ratelimit-limit-tokens` on any answer that carries them, as it does for every account. Without them, the card keeps saying "Usage shows after the first answer", and Auto ranks the account among the accounts with no reading.

## Calls [#calls]

Answers come from `https://inference-api.nousresearch.com/v1/chat/completions` in the OpenAI chat completions protocol. All four request options reach Nous.

## Known issues [#known-issues]

- The sign in borrows the OAuth client of the Hermes command line tool (`hermes-cli`), with its scope `inference:invoke`.
