← Back to all tutorials

#tokens

2 tutorials

lean-ctx vs context-mode: The Two Halves of Context Management in Hermes Agent

Input-side compression (lean-ctx) vs output-side sandboxing (context-mode): what each intercepts, measured numbers from a real fleet, when you need both.

Token Usage & Cost Optimization

Strategies to manage and reduce API costs — provider failover, credential pools, context compression, model selection, and cost tracking for Hermes Agent.