Add configurable token / cost usage limits (#576)