Metadata-Version: 2.3
Name: tkc
Version: 0.1.1
Summary: wc for tokens
Project-URL: Homepage, https://github.com/abizer/tkc
Project-URL: Issues, https://github.com/abizer/tkc/issues
Author-email: Abizer Lokhandwala <abizer@abizer.me>
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Requires-Dist: anthropic>=0.40.0
Requires-Dist: litellm>=1.53.3
Requires-Dist: tabulate>=0.9.0
Requires-Dist: transformers>=4.46.3
Description-Content-Type: text/markdown

# tkc

wc but for tokens

```
$ cat file.txt | tkc
model                               tokens    price    price_cached
--------------------------------  --------  -------  --------------
gpt-4o                                 153   0.0004          0.0002
gpt-4o-mini                            153   0.0000          0.0000
o1-preview                             153   0.0023          0.0011
o1-mini                                153   0.0005          0.0002
claude-3-opus-20240229                 184   0.0028          0.0003
claude-3-5-sonnet-20241022             184   0.0006          0.0001
gemini/gemini-1.5-pro-002              153   0.0005          0.0005
gemini/gemini-1.5-flash-002            153   0.0000          0.0000
perplexity/llama-3.1-8b-instruct       146   0.0000          0.0000
```
