Context optimization for LLM API calls. One import, fewer tokens.
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.1.3.tar.gz
(9.7 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
File details
Details for the file tokensave-0.1.3.tar.gz.
File metadata
- Download URL: tokensave-0.1.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f142daaaf0b3b8e1be0ebdc91752619e0d591f1fefbc928c2d631e453f70ca2b
|
|
| MD5 |
6c23a3331a0ffb610b19289f13930b46
|
|
| BLAKE2b-256 |
8f04eeb57913bc6ef07b3ce50c08a33aee8ed227cdaad975e2a913c8f17baeb1
|
File details
Details for the file tokensave-0.1.3-py3-none-any.whl.
File metadata
- Download URL: tokensave-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.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 |
ec654f898135a7aac7c8a0cd485260154940f7ef07789e9434220eea17f734f4
|
|
| MD5 |
857748884b675019e301661f097a59db
|
|
| BLAKE2b-256 |
3763f38dce00e770e4550a9cf44578ebdbc1b7114cc6055c9b03d23c01d2d072
|