Context optimization for LLM API calls. pip install, bills go down.
Project description
TokenSave ⚡
Context optimization for LLM API calls. One import, fewer tokens.
pip install tokensave
from tokensave import OpenAI
client = OpenAI(api_key="...")
# Open box. Save tokens. That's it.
- No daemon, no config, no proxy.
tokensave proxyfor non-Python tools (power-user).
github.com/raydatalab/tokensave · Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tokensave-0.3.0.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tokensave-0.3.0-py3-none-any.whl
(17.5 kB
view details)
File details
Details for the file tokensave-0.3.0.tar.gz.
File metadata
- Download URL: tokensave-0.3.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
304dbcfdc2e894f9df75f47fecaccd9bf082e2465edbc7d1895e61040b2a0c6e
|
|
| MD5 |
d1576d5105a844e69cdeebdaf0365ebe
|
|
| BLAKE2b-256 |
e49bfc9292d4451e39cffb9c38eee6e8422abd33dbf846962967fa432f42ce1f
|
File details
Details for the file tokensave-0.3.0-py3-none-any.whl.
File metadata
- Download URL: tokensave-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb971a2dac7daf5ff015cea812e766a6c279fdb88204f92870cb81611962d9f8
|
|
| MD5 |
1b9f4ca62aa169d612efbbd30d9d9208
|
|
| BLAKE2b-256 |
8556fb3180df0079905840b8afbec467e8dae9e1ba3cc0ece0067ade7ef90459
|