Skip to main content

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 proxy for non-Python tools (power-user).

github.com/raydatalab/tokensave · Apache 2.0

Project details


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.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokensave-0.1.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file tokensave-0.1.1.tar.gz.

File metadata

  • Download URL: tokensave-0.1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tokensave-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c8554e83075099e8c1adc8c8fad978b9c341df343ff4adb22a57e1e10af8320
MD5 f231729149cf240bf0cd7cbffea38b50
BLAKE2b-256 f7db583ff763aff7080edf6b0f985b8f678f36413274d49f9e8312c7fc71994e

See more details on using hashes here.

File details

Details for the file tokensave-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tokensave-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tokensave-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 948159da6b2965fc65b6eabec50b4e5cc4532f892dcb620ca3ec7a290f6710a0
MD5 c7c5c9f96c8ebeb824900fd77e84fdb3
BLAKE2b-256 65a1d63600e92588fab009c5ab1ea8b3295785e247acc1f4f8c9f37cfb9b6848

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page