If you need a quick estimate of token usage and costs, you can use thetokencalculator.site. It calculates token counts using tiktoken from openai and provides cost estimates based on OpenAI's documentation. The tool also supports Deepseek models.