CLI
costhelm serve
Section titled “costhelm serve”Boots the gateway.
costhelm serve [--host 0.0.0.0] [--port 8111] [--reload]Defaults come from COSTHELM_HOST / COSTHELM_PORT. --reload enables
uvicorn’s auto-reload for development.
costhelm paths
Section titled “costhelm paths”Prints every config file’s resolved path and which resolution layer won — the fastest way to answer “which routing.yaml am I actually running?”:
config dir : /Users/you/.costhelm (override: COSTHELM_CONFIG_DIR)pricing.yaml : .../costhelm/economics/pricing.yaml [packaged default]budgets.yaml : /Users/you/.costhelm/budgets.yaml [user config dir]routing.yaml : /tmp/exp/routing.yaml [env COSTHELM_ROUTING_YAML]cache.yaml : .../costhelm/cache/cache.yaml [packaged default]ledger : /Users/you/.costhelm/gateway.sqlite (override: COSTHELM_GATEWAY_DB)