---
title: "Hermes with Straitly (2026): Setup, Base URL & Pricing | Straitly"
description: "Connect Hermes to 117 models at 40% under list on most: 4 copyable steps, base URL, per-model rates and FAQ checked against Hermes's docs."
url: https://straitly.ai/integrations/hermes
updated: 2026-11-16
publisher: Straitly (https://straitly.ai)
---

# Use Hermes with the Straitly API

Use Hermes with Straitly in 4 steps: run hermes model, choose Custom endpoint and enter https://api.straitly.ai/v1, your key and a model ID. Kimi K3.1 Pro then costs $1.14 in and $5.70 out per 1M tokens, 43% under its list price of $2.00 and $10.00.[\[1\]](#src-1) [\[3\]](#src-3)

Updated 16 November 2026

[Get started](https://straitly.ai/signup) [Jump to the steps ](#setup)

What changes in Hermes

Setting

\~/.hermes/config.yaml

Base URL

https://api.straitly.ai/v1 Copy

API key

sk-YOUR\_KEY

API format

OpenAI-compatible

Connect with

Custom endpoint

Your prompts, files and workflow stay as they are. From Hermes's docs, checked 16 November 2026[\[1\]](#src-1)

## Hermes in 4 steps.

Replace `sk-YOUR_KEY` with your own key from the [Keys page](https://straitly.ai/app/keys). Setting lives in `~/.hermes/config.yaml`, base URL `https://api.straitly.ai/v1`.

1. ### Step 1: Get a Straitly key
Sign up with email or Google, add credits from $5 (no subscription, no minimum), then create a key on the Keys page. It starts with sk-. Keep it private.
2. ### Step 2: Run the model picker
Run hermes model and choose Custom endpoint. Enter the Straitly base URL, your key and a model name when it asks.
Terminal
Copy
```
hermes model
```
3. ### Step 3: Or edit config.yaml
The same setting by hand. key\_env reads the key from STRAITLY\_API\_KEY; use api\_key instead to store it in the file.
\~/.hermes/config.yaml
Copy
```
model:
  default: z-ai/glm-5.3
  provider: custom
  base_url: https://api.straitly.ai/v1
  key_env: STRAITLY_API_KEY
```
4. ### Step 4: Restart chat gateways
If Hermes answers in a chat app such as Telegram, restart its gateway so it picks up the new model.
Terminal
Copy
```
hermes gateway restart
```

Checked against Hermes's own docs, 16 November 2026

- [Hermes Agent: providers](https://hermes-agent.nousresearch.com/docs/integrations/providers) · [\[1\]](#src-1) (hermes-agent.nousresearch.com)

Config names and menu paths match these pages as of the date shown. If Hermes changes them, its docs win.

## Or do it in one paste.

Straitly's setup command makes the same change for you and keeps a copy of your old settings. Paste it in a terminal, not inside Hermes. The full walkthrough with screenshots is in the [Hermes docs guide](https://straitly.ai/docs/hermes).

One paste · Mac / Linux (curl + Python 3)

Copy

```
curl -fsSL "https://straitly.ai/setup/hermes" | STRAITLY_API_KEY="sk-YOUR_KEY" python3 -
```

## What happens to a Hermes request?

Two settings change in Hermes: where requests go and which key pays for them. Everything else, from your prompts to your workflow, stays as it is.

1. Hermes, as it is
Your prompts, files and workflow stay as they are. The request leaves in the same format as before.
2. One address, one key
It goes to `https://api.straitly.ai/v1` with your Straitly key. That is the whole setup.[\[1\]](#src-1)
3. The same models
The key reaches 117 models. You ask for each one by its model ID.[\[4\]](#src-4)
4. A smaller bill
Kimi K3.1 Pro for 10M input tokens and 1M output tokens costs $17.10 against $30.00 at list.[\[3\]](#src-3)

**Hermes on Straitly in numbers**

4

Steps to connect Hermes[\[1\]](#src-1)

40%

Straitly under the provider's list price, on most models[\[2\]](#src-2)

$17.10

Kimi K3.1 Pro for 10M input tokens and 1M output tokens, against $30.00 at list[\[3\]](#src-3)

117

Models one key reaches from Hermes[\[4\]](#src-4)

$5

Smallest top-up. No subscription and no minimum[\[4\]](#src-4)

$0

Charged for failed requests[\[2\]](#src-2)

98 of 103

Models with a list price that are at least 40% under it[\[3\]](#src-3)

134 of 145

Models priced under the lowest OpenRouter seller[\[3\]](#src-3)

## What should you know before relying on it?

1. Restarting Hermes Desktop does not restart a chat gateway. Run hermes gateway restart for that.
2. Hermes sends some side tasks to your main model unless you set auxiliary models. A light Straitly model there cuts the bill further.

## What does Hermes cost on Straitly?

USD per 1M tokens, input / output

| Model                                                                                                                                         | List price                            | Vs list   | Vs OpenRouter | Straitly                             |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | --------- | ------------- | ------------------------------------ |
| Kimi K3.1 Pro kimi-k3.1-pro 43% lower vs list, n/a vs OpenRouter. Session $30.00 at list, $17.10 here.                                        | $2.00 / $10.00 $30.00 for the session | 43% lower | n/a           | $1.14 / $5.70 $17.10 for the session |
| GLM-5.3 z-ai/glm-5.3 68% lower vs list, 55.1% higher vs OpenRouter. Session $18.40 at list, $5.55 here.                                       | $1.40 / $4.40 $18.40 for the session  | 68% lower | 55.1% higher  | $0.416 / $1.39 $5.55 for the session |
| Gemini 4 Neon gemini-4-neon Session $45.00 at list.                                                                                           | $3.00 / $15.00 $45.00 for the session |           |               |                                      |
| DeepSeek V4.1 Flash 1017 deepseek/deepseek-v4-1-flash-1017 40% lower vs list, 138.9% higher vs OpenRouter. Session $2.10 at list, $1.26 here. | $0.15 / $0.60 $2.10 for the session   | 40% lower | 138.9% higher | $0.09 / $0.36 $1.26 for the session  |

From the public catalog on 25 November 2026[\[3\]](#src-3). The session is one example workload, 10M input tokens and 1M output tokens. Vs list holds for the input and the output price alike. Vs OpenRouter compares with the lowest OpenRouter seller including its 5.5% credit fee, on a 3:1 input to output mix, as read on 16 November 2026; “higher” means Straitly costs more, and n/a means that read has no figure for the model at this price.

## Hermes questions.

[Ask a question](https://straitly.ai/contact)

- ### Can Hermes Agent use a custom OpenAI-compatible endpoint?
Yes. Hermes' provider docs list Custom endpoint in hermes model, saved as provider: custom with a base\_url in config.yaml.
- ### Where does the key go?
Either api\_key in config.yaml, or key\_env naming an environment variable such as STRAITLY\_API\_KEY.
- ### Why does my Telegram bot still use the old model?
Chat gateways keep running with the old settings. Run hermes gateway restart.
- ### How much does Kimi K3.1 Pro cost on Straitly?
On 2026-11-25 Straitly charged $1.14 input and $5.70 output per 1M tokens for Kimi K3.1 Pro, against a list price of $2.00 and $10.00: 43% under list on input and output alike.

## Sources

Setup steps follow Hermes's own documentation, read on the date shown. Prices come from Straitly's public catalog.

1. \[1\] [Hermes Agent: providers](https://hermes-agent.nousresearch.com/docs/integrations/providers) hermes-agent.nousresearch.com, 16 November 2026
2. \[2\] [Straitly pricing](https://straitly.ai/pricing) straitly.ai/pricing, 15 November 2026
3. \[3\] [Straitly public catalog](https://straitly.ai/models) straitly.ai/api/catalog, shown on straitly.ai/models, 25 November 2026
4. \[4\] [Straitly home page](https://straitly.ai/) straitly.ai, 16 November 2026

**What each source says**

\[1\] Hermes Agent: providers

Run hermes model and choose Custom endpoint, or set model.provider: custom with base\_url and api\_key or key\_env in config.yaml.

\[2\] Straitly pricing

Billed per token at the pooled rate, 40% under the provider's published rate on most models, with nothing added on top. Failed requests cost nothing. No subscription, no minimum.

\[3\] Straitly public catalog

Every model ID with Straitly's price, the lab's official list price where one is published, and the lowest OpenRouter seller including its 5.5% credit fee.

\[4\] Straitly home page

One OpenAI-compatible API for 117 models. Sign up with email or Google, top-ups from $5 with no card or platform fee, base URL https://api.straitly.ai/v1, and requests move to another provider serving the same model if one goes down.

Read next: [Use cases](https://straitly.ai/use-cases) , [Compare](https://straitly.ai/compare) , [Claude Code API](https://straitly.ai/claude-code-api) , [Structured outputs docs](https://straitly.ai/docs/structured-outputs) , [Errors & limits docs](https://straitly.ai/docs/errors).

## Which other tools use the same key?

- [Claude Code Anthropic Messages. Env vars or settings.json.](https://straitly.ai/integrations/claude-code)
- [Cursor OpenAI-compatible. Settings, no script.](https://straitly.ai/integrations/cursor)
- [Codex OpenAI Responses. config.toml provider.](https://straitly.ai/integrations/codex)
- [OpenCode OpenAI-compatible. opencode.json provider.](https://straitly.ai/integrations/opencode)
- [Cline OpenAI-compatible. Settings, no script.](https://straitly.ai/integrations/cline)
- [Claude app Anthropic Messages. Developer menu gateway.](https://straitly.ai/integrations/claude-app)
- [OpenClaw OpenAI-compatible. Custom provider.](https://straitly.ai/integrations/openclaw)
- [OpenAI SDK OpenAI-compatible. Python client.](https://straitly.ai/integrations/openai-sdk)
- [Anthropic SDK Anthropic Messages. Python client.](https://straitly.ai/integrations/anthropic-sdk)
- [LangChain OpenAI-compatible. Python client.](https://straitly.ai/integrations/langchain)
- [LlamaIndex OpenAI-compatible. Python client.](https://straitly.ai/integrations/llamaindex)
- [Vercel AI SDK OpenAI-compatible. TypeScript client.](https://straitly.ai/integrations/vercel-ai-sdk)

[All integrations](https://straitly.ai/integrations) [Hermes in the docs](https://straitly.ai/docs/hermes) [Every model ID](https://straitly.ai/models)

## Start with one request.

Prepaid, no subscription, no minimum. 40% under list on most models you reach from Hermes.

[Console](https://straitly.ai/app) [Talk to sales ](https://straitly.ai/contact)

---
Markdown version of https://straitly.ai/integrations/hermes.
