Nous Portal
Connect a Nous Portal account to AI Wallet with the device sign in of the Hermes command line tool, on the account's credits.
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
A Nous Portal account with credits. Nous bills the answers to the account's prepaid credits.
Sign in
- In the wallet, the visitor picks Nous Portal under "With your plan".
- The wallet asks Nous for a device code at
https://portal.nousresearch.com/api/oauth/device/codeand shows the code in the side panel. - It opens a window on the portal's verification page, with the code filled in when Nous gives such an address.
- The visitor signs in and approves the code.
- 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_pendingorslow_downuntil the visitor approves. - 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
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
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
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
- The sign in borrows the OAuth client of the Hermes command line tool (
hermes-cli), with its scopeinference:invoke.
CodeBuddy
Connect a Tencent CodeBuddy account to AI Wallet through the sign in of the CodeBuddy command line tool, answering with the first model of the account's catalog that calls tools.
Claude API key
Connect an Anthropic API key to AI Wallet, billed to the account that owns the key, with Anthropic's model list.