Integration tutorial
Connect Hermes Agent
Use Hermes Agent’s documented OpenAI API provider and optional base URL.
01
Buy or create a key
Use guest checkout or create an account key.
02
Set the base URL
https://discountedtokens.com/v1
03
Send a small test
Verify the route before moving production traffic.
~/.hermes/.env
OPENAI_API_KEY=YOUR_DISCOUNTEDTOKENS_KEY
OPENAI_BASE_URL=https://discountedtokens.com/v1
Run and verify
hermes chat --provider openai-api --model gpt-5.6
Troubleshooting
- Put credentials in ~/.hermes/.env, never config.yaml.
- Use provider openai-api, not the ChatGPT OAuth provider.
- Run hermes doctor if the provider or model is not discovered.
Configuration source: official documentation. DiscountedTokens is an independent gateway and is not endorsed by the client vendor.