Updated
Hermes Agent Open WebUI Setup With an OpenAI Endpoint
To use a hermes agent open webui setup with this service, add an OpenAI connection in Open WebUI with this service's base URL and your API key, then pick the one model it lists.
Key points
- Open WebUI treats the API as an OpenAI connection: base URL plus key.
- Docker users can pass OPENAI_API_BASE_URL and OPENAI_API_KEY, but only the first launch reads them.
- Automatic title and tag generation can eat concurrency slots on a small key.
- Verify the key with curl first if the model list comes back empty.

Quick setup in the admin panel
Open WebUI is a self-hosted chat front end. It does not run models itself when you use it with a hosted API, it just sends your messages to whatever OpenAI-compatible endpoint you configure. That makes the setup short. These steps match recent versions, and menu labels can shift slightly between releases.
- Sign in to Open WebUI as an admin and open Admin Settings, then Connections.
- In the OpenAI API section, add a new connection.
- Set the URL to
https://api.hermesapi.cc/v1. Keep the/v1suffix. - Paste your API key into the key field. If you do not have one, the API key page gives new accounts $0.50 of trial credit with no card.
- Save, then use the verify button if your version has one. A green result means the key and URL are accepted.
- Start a new chat and choose
uncensoredfrom the model picker.
The model list comes from GET /v1/models, which this API serves, so the model shows up on its own. You do not type a model name by hand. After that, everything works like any other OpenAI-style connection: streaming, the system prompt box, and the temperature and top_p sliders all pass through to the API.
A note on the phrase agent. Open WebUI is a chat interface with optional tools and functions, not an autonomous agent runtime. If you want an agent that plans and calls functions in a loop, you will write that in code, and the quickstart covers the tool calling parameters. If what you want is a clean browser chat with saved conversations, multiple users and a prompt library on top of the same API, Open WebUI is a good fit.
Test the key before blaming the UI
If the model list is empty or a chat fails, check the API outside Open WebUI. It takes ten seconds and tells you which side has the problem.
curl https://api.hermesapi.cc/v1/models \
-H "Authorization: Bearer YOUR_API_KEY"
curl https://api.hermesapi.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Say hello in five words."}]}'
The first call should list uncensored. The second should return a normal completion. If both work, the problem is in the Open WebUI connection form, usually a missing /v1, a trailing space copied with the key, or a connection that was saved but is switched off. If the first call returns an authorization error, the key is wrong or has not been activated yet, and no setting inside Open WebUI will fix it.
Docker: pass the connection as environment variables
Most people run Open WebUI in Docker. You can preconfigure the connection with two environment variables so the first start already knows about the API.
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL="https://api.hermesapi.cc/v1" \
-e OPENAI_API_KEY="YOUR_API_KEY" \
-v open-webui:/app/backend/data \
--name open-webui --restart always \
ghcr.io/open-webui/open-webui:main
Then browse to http://localhost:3000, create the first admin account, and the connection is already there. The volume mount keeps your chats and settings across container restarts.
There is a catch that trips up many people: Open WebUI stores most connection settings in its own database after the first launch, and from then on the saved values win over the environment variables. If you change the key in your compose file and nothing happens, change it in the admin panel instead, or start with a fresh volume. With docker compose the same two variables go under environment: in the service definition.
Because your API is remote, you do not need any special networking between containers. The only requirement is that the machine running Open WebUI can reach api.hermesapi.cc over HTTPS. If you also run it without a local Ollama, you may see a connection warning for the Ollama backend. That warning is harmless, and Open WebUI has a setting to turn the Ollama integration off if the message bothers you.
Tune the chat settings for this model
A few choices make the experience better from the first message.
System prompt
Set a system prompt per model or per chat. The model is tuned to answer without content refusals for lawful adult use, so the system prompt is where you decide tone, persona and format. For fiction and roleplay, describe the setting and the voice. The one fixed rule is that sexual content involving minors is not allowed, whatever the prompt says.
Temperature and length
Creative writing tends to like a temperature around 0.8 to 1.0, while factual questions do better near 0.3. Leave max tokens empty unless you want a ceiling. The context window is 100,000 tokens, shared between your conversation and the reply, so very long chats can go on for a long time before they hit it.
Uploaded documents
If you attach files for retrieval, Open WebUI normally builds embeddings with its own built-in model unless you configure another provider. This API does not offer embeddings, so do not point the embedding setting at it. Keep the default local embedding engine and use this service only for chat.
Pitfalls: 429 errors, empty lists and slow starts
Most Open WebUI problems come down to a handful of causes.
Concurrency errors from background tasks
Open WebUI can make extra model calls behind the scenes, for example to generate a chat title, suggest follow-up questions or create tags. Each one is a separate request. A trial key allows 2 concurrent requests, and a full key allows 8, so a burst of background calls on a trial key can produce an HTTP 429 with the error code concurrency. You can turn those features off in the admin settings, or leave them on and move to a full key. A streamed reply also holds its slot until the last token arrives, so two people chatting at once on a trial key already use both slots.
Rate limit on a shared key
If several users share one Open WebUI instance, they all share one API key and therefore one set of limits: 300 requests per minute and 8 concurrent on a full key. For a family or a small team this is plenty. For a larger group, watch for rate_limited errors, and for temporary overload the API sends a 429 with Retry-After: 5, so a short pause and a resend usually clears it.
Model list does not refresh
If you added the connection while the key was wrong, the failed list may be cached in the page. Reload the page, or toggle the connection off and on. You can also check the loaded models in the admin panel.
Reverse proxy timeouts
When Open WebUI sits behind nginx or a similar proxy, make sure response buffering is off and the read timeout is generous. Streamed replies are server-sent events, and a proxy that buffers them makes the answer appear all at once at the end instead of token by token.
What it costs to run a chat UI
A chat interface sends the whole conversation with every message, so token use grows as the chat gets longer. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, with no subscription.
Take a chat of 20 turns where each turn adds about 100 tokens from you and 300 tokens from the model, with a 400 token system prompt. Turn 1 sends 500 tokens, and turn 20 sends 400 + 19 x 400 + 100 = 8,100 tokens. Summed over all 20 turns, the input is 20 x 500 + 400 x (0 + 1 + ... + 19) = 10,000 + 400 x 190 = 86,000 tokens, which costs 0.086 x $0.15 = $0.0129. The output is 20 x 300 = 6,000 tokens, which costs 0.006 x $0.50 = $0.003. The whole 20-turn conversation costs about $0.016, under two cents.
At that rate, $20 of credit covers well over a thousand such chats. Rates and top-up bonuses are listed on the pricing page, and failed or refused requests are not charged. Your remaining balance is returned in the X-Balance-USD header on every response, so you can check it in your own logs or with curl whenever you like.
Prompts are not used for training, and nothing about the connection requires a card on the trial. If you outgrow the trial, top-ups run from $20 to $500, paid by crypto (USDT on TRC20, USDC on Base).
More guides
Questions and answers
What URL do I enter in Open WebUI?
Use https://api.hermesapi.cc/v1 as the OpenAI API URL, including the /v1 suffix, and paste your key in the API key field.
Which model name will I see?
The model list contains uncensored. Open WebUI loads it from GET /v1/models, so you do not need to type it.
Why does my environment variable change have no effect?
Open WebUI saves connection settings in its database after the first launch, and the saved values take priority. Edit the connection in the admin panel or start with a fresh volume.
Can I use this API for Open WebUI embeddings or image generation?
No. The API is text only, with chat completions and a models list. Use Open WebUI's own embedding option for document search.
Why do I get 429 errors with a trial key?
The trial key allows 2 concurrent requests and 60 per minute. Background tasks like title generation use extra requests, so turn them off or use a full key.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.