├── .gitignore ├── .replit ├── README.md ├── package.json ├── replit.nix ├── src ├── Encoder.js ├── encoder.json ├── index.d.ts ├── index.js └── vocab.bpe └── test-gpt5-accuracy.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .claude -------------------------------------------------------------------------------- /.replit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/.replit -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/package.json -------------------------------------------------------------------------------- /replit.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/replit.nix -------------------------------------------------------------------------------- /src/Encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/src/Encoder.js -------------------------------------------------------------------------------- /src/encoder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/src/encoder.json -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/src/index.js -------------------------------------------------------------------------------- /src/vocab.bpe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/src/vocab.bpe -------------------------------------------------------------------------------- /test-gpt5-accuracy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codergautam/openai-gpt-token-counter/HEAD/test-gpt5-accuracy.js --------------------------------------------------------------------------------