config singleton, configurable max tokens