Token Counter
Exact token counts via js-tiktoken
js-tiktokenv1.xhttps://github.com/dqbd/tiktoken
Workspace
Local or server · same path as API
llm/token-countCharacters 31 · Updates as you type
Engine: js-tiktoken · server-side exact count · can feed Router cost estimate
API
forge.llm.token_countSame contract as the page. Use an authenticated key in production.
curl -X POST 'https://forge.nebutra.com/v1/tools/llm/token-count/invoke' \
-H 'Authorization: Bearer sk-sailor-…' \
-H 'Content-Type: application/json' \
-d '{
"example": true
}'
