🛠️ Real incident, fixed with AI

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

Confirm the gateway is fine and the model is not

  1. 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
  1. 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

  1. Confirm the Nous login:
hermes portal info
hermes auth status nous
  1. Refresh the model list and open the picker:
hermes model --refresh --no-browser
  1. Select Nous Portal, then the paid name with no :free suffix:
stepfun/step-3.7-flash
  1. 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

  1. Read the top of the config:
sed -n '1,5p' ~/.hermes/config.yaml
  1. Check the gateway:
hermes gateway status
  1. 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

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.