Moving Hermes Off a Rate-Limited Free Model After Upgrading
Hermes kept hitting rate limits on a free model; how it was moved to a model that fit the upgraded plan.
In short
Hermes was running and Telegram was connected, but replies never came. The configured model was still the free one, stepfun/step-3.7-flash:free, and the provider answered HTTP 429 (too many requests) with a long retry_after. Upgrading the Nous Portal plan did not switch that setting. Point Hermes at stepfun/step-3.7-flash with no :free suffix. Checking the logs is a few commands.
What you need
- A shell on the machine that runs the Hermes gateway
journalctl,jq, and thehermescommand- A Nous Portal login that can use the paid model
Confirm the gateway is fine and the model is not
- Check the gateway, its state file, and the heartbeat file (the file Hermes touches to show it is alive):
hermes gateway status
jq '{gateway_state,active_agents,platforms,updated_at}' \
~/.hermes/gateway_state.json
stat -c '%y %n' ~/.hermes/state/gateway.heartbeat
- Search the last 10 minutes of service logs for rate limits:
journalctl --user -u hermes-gateway.service \
--since '-10 minutes' --no-pager -o short-iso \
| grep -Ei '429|rate.limit|capacity'
The saved model was:
model:
default: stepfun/step-3.7-flash:free
provider: nous
The 429 errors were a fair-share cap on that free model. They were not a bad API key and not a Telegram outage. The free model keeps its own cap even after the account can use paid models.
Switch to the paid model name
- Confirm the Nous login:
hermes portal info
hermes auth status nous
- Refresh the model list and open the picker:
hermes model --refresh --no-browser
- Select
Nous Portal, then the paid name with no:freesuffix:
stepfun/step-3.7-flash
- If a normal restart sits and waits for rate-limited turns to finish, restart everything:
hermes gateway restart --all
Warning: --all stops active gateway work on every profile. Use it only after you know those turns are abandoned or stuck and can be interrupted. There is no undo for a turn you cut off. If you are not sure, wait for the provider’s retry_after instead.
Check the new model
- Read the top of the config:
sed -n '1,5p' ~/.hermes/config.yaml
- Check the gateway:
hermes gateway status
- Send one short test. It should print
SUBSCRIPTION_OK:
timeout 90 hermes \
-z 'Reply with exactly: SUBSCRIPTION_OK' \
--model stepfun/step-3.7-flash \
--provider nous
After a plan change, refresh the picker and check that the saved model is the paid or free name you meant. When Telegram is quiet, check the gateway process, the platform connection, and the heartbeat before you blame the model. Restarting does not clear an upstream quota.
If it doesn’t work
- Logs show 429 and the model still ends in
:free. Pickstepfun/step-3.7-flashagain. hermes auth status nousis not signed in. Fix the login before you change models.- The test command hits the timeout. Wait out
retry_after, or confirm the paid name has no:freesuffix. - Telegram is quiet but the logs have no 429. Check the gateway, the platform connection, and the heartbeat. This page is not that outage.
- Do not keep restarting on HTTP 429. Restarting does not remove the provider’s limit.
Official sources
This note has no separate vendor page beyond the hermes commands above. The model names are stepfun/step-3.7-flash:free and stepfun/step-3.7-flash, provider nous.
Spot something wrong or outdated? Leave a comment below. Every comment is reviewed to keep these posts accurate.
By commenting, you agree to our Terms of use and confirm this is your own work. Short quotes are fine with a credit and link. Copied, unsafe, or abusive comments are removed. See something copied? Say so here.