Academy → Integrations and ProvidersOfficial documentation · Arabic guidance

Nous Portal

تكامل Nous Portal

Intermediate11 min readLesson 15 questions✓ 2026-08-18
Before you read

What this page is, and what it holds.

This page covers Nous Portal. You will use hermes model and hermes tools here; about 11 minutes to read. The priciest model is not always best for your task. Compare on one task and set a spend cap.

8sections
14code examples
2tables
10commands
1,923source words
The official one-line description

One subscription, 300+ frontier models, and the Tool Gateway — the recommended way to run Hermes Agent

What you will be able to do

Outcomes taken from this page, not a template.

  • Understand what المزوّد والنموذج is and when you need it.
  • Run hermes model and hermes tools and understand what happens next.
  • Read the table and take only the row that applies to you.
Identifiers you will meet

Exactly as they appear in Hermes.

Commands
  • hermes model
  • hermes tools
  • hermes portal
  • hermes portal info
  • hermes chat
  • hermes setup
  • hermes portal open
  • hermes auth add nous
Page map

Jump to the part you need.

  1. 01What's in the subscription
  2. 02A note on Hermes 4
  3. 03Setup
  4. 04Using the Portal day-to-day
  5. 05Configuration reference
  6. 06Token handling
  7. 07Troubleshooting
  8. 08See also
The full official page

Nothing summarised away.

The documentation body below is reproduced from the official source so commands and identifiers stay exact. Each section carries a short note describing what it contains.

Nous Portal ↗ is Nous Research's unified subscription gateway and the recommended way to run Hermes Agent. One OAuth login replaces the juggling act of separate accounts, API keys, and billing relationships across every model lab, search API, image generator, and browser provider you'd otherwise need to wire up by hand.

If you only have time to set up one thing, set up this. The fastest path:

Shell1 line
hermes setup --portal

That single command runs the Portal OAuth, lets you pick a Nous model, sets Nous as your inference provider in config.yaml, and turns on the Tool Gateway. You're ready to hermes chat immediately after.

Don't have a subscription yet? portal.nousresearch.com/manage-subscription ↗ — sign up, then come back and run the command above.

What's in the subscription

A lookup table. Do not read it all; find the row that applies to you.

300+ frontier models, one bill

The Portal proxies a curated catalog of agentic models from across the ecosystem — billed against your Nous subscription instead of one credit balance per lab.

FamilyModels
Anthropic ClaudeOpus 4.7, Opus 4.6, Sonnet 4.6, Haiku 4.5
OpenAIGPT-5.5, GPT-5.5 Pro, GPT-5.4 Mini, GPT-5.4 Nano, GPT-5.3 Codex
Google GeminiGemini 3 Pro Preview, Gemini 3 Flash Preview, Gemini 3.1 Pro Preview, Gemini 3.1 Flash Lite Preview
DeepSeekDeepSeek V4 Pro
QwenQwen3.7-Max, Qwen3.6-35B-A3B
Kimi / MoonshotKimi K2.6
GLM / ZhipuGLM-5.1
MiniMaxMiniMax M2.7
xAIGrok 4.3
NVIDIANemotron-3 Super 120B-A12B
TencentHunyuan 3 Preview
XiaomiMiMo V2.5 Pro
StepFunStep 3.5 Flash
HermesHermes-4-70B, Hermes-4-405B (chat, see note below ↗)
+ everything else280+ additional models — the full agentic frontier

Under the hood, the Portal routes each model to the backend best suited for it — some models go through OpenRouter, others through proprietary or secondary providers, and the routing for a given model can change over time. Everything is billed against your Nous subscription either way. Switch between Claude Sonnet 4.6 for code and Gemini 3 Pro for long context with /model mid-session — no new credentials, no top-ups, no surprise zero-balance errors.

The Nous Tool Gateway

The same subscription unlocks the Tool Gateway, which routes Hermes Agent's tool calls through Nous-managed infrastructure. Five backends, one login:

ToolPartnerWhat it does
Web search & extractFirecrawlAgent-grade search and full-page extraction. No Firecrawl API key, no rate limit babysitting.
Image generationFALNine models under one endpoint: FLUX 2 Klein 9B, FLUX 2 Pro, Z-Image Turbo, Nano Banana Pro (Gemini 3 Pro Image), GPT Image 1.5, GPT Image 2, Ideogram V3, Recraft V4 Pro, Qwen Image.
Text-to-speechOpenAI TTSHigh-quality TTS without a separate OpenAI key. Enables voice mode across messaging platforms.
Cloud browser automationBrowser UseHeadless Chromium sessions for browser_navigate, browser_click, browser_type, browser_vision. No Browserbase account needed.
Cloud terminal sandboxModalServerless terminal sandboxes for code execution (optional add-on).

Without the gateway, hooking each of those up means a Firecrawl account, a FAL account, a Browser Use account, an OpenAI key, and a Modal account — five separate signups, five separate dashboards, five separate top-up flows. With the gateway, all of it routes through one subscription.

You can also enable just specific gateway tools (e.g. web search but not image generation) — see Mixing the gateway with your own backends ↗ below.

No credentials in your dotfiles

Because everything routes through one OAuth-authenticated Portal session, you don't accumulate a .env file with a dozen long-lived API keys. The refresh token at ~/.hermes/auth.json is the only credential on disk, and Hermes mints short-lived JWTs from it per request — see Token handling ↗ below.

Cross-platform parity

Native Windows makes per-tool API key setup its rough edge — installing a Firecrawl account, a FAL account, a Browser Use account, an OpenAI key from Windows is the highest-friction part of getting a useful agent. A Portal subscription smooths that out: one OAuth covers the model and every gateway tool, so Windows users get the same experience as macOS/Linux without manually configuring four backends.

A note on Hermes 4

Explains the idea itself. Read it slowly; the later sections build on it.

Nous Research's own Hermes 4 family (Hermes-4-70B, Hermes-4-405B) is available through the Portal at heavily discounted rates. These are frontier hybrid-reasoning chat models — strong at math, science, instruction following, schema adherence, roleplay, and long-form writing.

They are not recommended for use inside Hermes Agent, however. Hermes 4 is tuned for chat and reasoning, not the rapid-fire tool-calling loop the agent relies on. Use them for research workflows or via the subscription proxy from other tooling — but for agent work, pick a frontier agentic model from the catalog instead:

Shell4 lines
/model anthropic/claude-sonnet-4.6     # best general-purpose agentic model
/model openai/gpt-5.5-pro              # strong reasoning + tool calling
/model google/gemini-3-pro-preview     # huge context window
/model deepseek/deepseek-v4-pro        # cost-effective coder

The Portal's own model info page ↗ carries the same warning, so this isn't a Hermes-side opinion — it's the official guidance from Nous Research.

Setup

Ordered, practical steps. Run one and confirm it worked before moving on. Commands here: hermes model, hermes chat.

Fresh install — one command

Shell1 line
hermes setup --portal

This runs the full setup in one shot:

  1. Opens your browser to portal.nousresearch.com for OAuth login
  2. Stores the refresh token at ~/.hermes/auth.json
  3. Lets you pick a Nous model from the curated list (or skip to keep your current one)
  4. Sets Nous as your inference provider in ~/.hermes/config.yaml (when you pick a model)
  5. Turns on the Tool Gateway (web, image, TTS, browser routing)
  6. Returns you to your terminal ready to hermes chat

If you don't have a subscription yet, sign up at portal.nousresearch.com/manage-subscription ↗ first.

Existing install — add Portal alongside other providers

If you already have Hermes configured with OpenRouter, Anthropic, or any other provider and you want to add the Portal alongside them:

Shell3 lines
hermes model
# pick "Nous Portal" from the provider list
# browser opens, sign in, done

Your existing providers stay configured. You can switch between them with /model mid-session or hermes model between sessions — the Portal becomes one of your available providers, not your only one.

Headless / SSH / remote setup

OAuth needs a browser, but the loopback callback runs on the machine where Hermes is running. For remote hosts, see OAuth over SSH / Remote Hosts — the same patterns work for the Portal as for any other OAuth-based provider (ssh -L port forwarding).

Profile setup

If you use Hermes profiles, the Portal refresh token is automatically shared across all profiles via a shared token store. Sign in once on any profile, and the rest pick it up automatically — no need to repeat the OAuth flow per profile.

Using the Portal day-to-day

Ordered, practical steps. Run one and confirm it worked before moving on. Commands here: hermes portal, hermes portal info.

Inspecting what's wired up

Shell5 lines
hermes portal            # log in to Nous Portal + set it up (one-shot onboarding)
hermes portal info       # login status, subscription info, model + gateway routing
hermes portal status     # alias for `portal info`
hermes portal tools      # detailed Tool Gateway catalog with per-tool routing
hermes portal open       # open the subscription management page in your browser

hermes portal (with no subcommand) is the human-readable alias for hermes auth add nous --type oauth — it logs you in, lets you pick a Nous model, sets Nous as your inference provider, and offers the Tool Gateway opt-in (identical to hermes setup --portal, and the same Nous flow as the first-time quick setup).

hermes portal info gives you the high-level overview:

Text13 lines
  Nous Portal
  ───────────
  Auth:    ✓ logged in
  Portal:  https://portal.nousresearch.com
  Model:   ✓ using Nous as inference provider

  Tool Gateway
  ────────────
  Web search & extract  via Nous Portal
  Image generation      via Nous Portal
  Text-to-speech        via Nous Portal
  Browser automation    via Nous Portal
  Cloud terminal        not configured

Switching models

Inside a session:

Shell3 lines
/model anthropic/claude-sonnet-4.6
/model openai/gpt-5.5-pro
/model google/gemini-3-pro-preview

Or open the picker:

Shell2 lines
/model
# arrow keys, enter to select

Outside a session (the full setup wizard, useful when adding a new provider):

Shell1 line
hermes model

Mixing the gateway with your own backends

If you already have, say, a Browserbase account and want to keep using it while routing web search and image generation through Nous, that's supported. Use hermes tools to pick backends per tool:

Shell5 lines
hermes tools
# → Web search       → "Nous Subscription"
# → Image generation → "Nous Subscription"
# → Browser          → "Browserbase"  (your existing key)
# → TTS              → "Nous Subscription"

The Tool Gateway is opt-in per tool, not all-or-nothing. The managed backends show up in hermes tools whether or not you're logged into Nous Portal — if you pick "Nous Subscription" before authenticating, Hermes runs the Portal login inline (it won't change your inference provider or touch your other tools). See the Tool Gateway docs for the full per-tool configuration matrix.

Subscription management

Manage your plan, view usage, or upgrade/cancel at any time:

Configuration reference

Settings you configure once. Change one at a time so you can see what each does.

After hermes setup --portal, ~/.hermes/config.yaml will look like:

YAML4 lines
model:
  provider: nous
  default: anthropic/claude-sonnet-4.6     # or whatever model you picked
  base_url: https://inference-api.nousresearch.com/v1

The Tool Gateway settings live under their respective tool sections:

YAML14 lines
web:
  backend: firecrawl
  use_gateway: true   # web search/extract routes through Tool Gateway

image_gen:
  use_gateway: true

tts:
  provider: openai
  use_gateway: true

browser:
  cloud_provider: browser-use
  use_gateway: true

The OAuth refresh token is stored separately at ~/.hermes/auth.json (not in config.yaml — credentials and configuration are kept separate by design).

Token handling

Commands you type in a terminal. Understand what one does before copying it. Commands here: hermes auth add nous.

Hermes mints a short-lived JWT from your stored Portal refresh token on each inference call rather than reusing a long-lived API key. The token lifecycle is fully automatic — refresh, mint, retry on transient 401 — and you never see it.

If the Portal invalidates the refresh token (password change, manual revoke, session expiry), the invalid refresh token is quarantined locally so Hermes stops replaying it and you don't see a stream of identical 401s. The next call surfaces a clear "re-authentication required" message. Run hermes auth add nous to log in again; the quarantine clears on the next successful login.

Troubleshooting

A troubleshooting section. Find the symptom that matches yours rather than reading it end to end. Commands here: hermes model, hermes portal.

hermes portal info shows "not logged in"

You haven't completed the OAuth flow, or your refresh token was wiped. Run:

Shell1 line
hermes portal

or use hermes model and re-select Nous Portal.

Got a "re-authentication required" message mid-session

Your Portal refresh token was invalidated (password change, manual revoke, or session expiry). Run hermes auth add nous and your next request will use the new credentials. Any quarantine on the old token clears automatically on successful re-login.

Want to use a specific provider model that the Portal doesn't expose

The Portal routes each model to a suitable backend — some through OpenRouter, others through proprietary or secondary providers — so most models OpenRouter supports are generally available. If a specific model isn't appearing in /model, try the OpenRouter-style slug directly:

Shell1 line
/model anthropic/claude-opus-4.6

If a model is genuinely missing, open an issue ↗ — we surface the Portal's catalog to Hermes and gaps usually mean a routing config we can update.

Bills not appearing on my Portal account

Check hermes portal info first — if it shows you're using a different provider (Model: currently openrouter instead of using Nous as inference provider), your local config has drifted. Run hermes model, pick Nous Portal, and the next request will route through your subscription.

See also

Explains the idea itself. Read it slowly; the later sections build on it.

  • Tool Gateway — Full details on every gateway tool, per-tool config, and pricing
  • Subscription proxy — Use your Portal subscription from non-Hermes tools (other agents, scripts, third-party clients)
  • Voice mode — Voice conversations using the Portal's OpenAI TTS
  • AI Providers — Full provider catalog if you want to compare alternatives
  • OAuth over SSH — Login from remote hosts or browser-only environments
  • Profiles — Multiple Hermes configurations sharing one Portal login
Knowledge check

5 questions answered by this page alone.

Every option is a real identifier from the Hermes documentation. The wrong ones are real too, just from other pages.

1. According to this lesson, which command does “log in to Nous Portal + set it up (one-shot onboarding)”?
2. According to this lesson, which command does “login status, subscription info, model + gateway routing”?
3. In this lesson's table, what is the “Models” for “OpenAI”?
4. Which of these headings does not appear in this lesson?
5. Which configuration key appears in this lesson's examples?