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.3.tar.gz (9.7 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.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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

Hashes for tokensave-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f142daaaf0b3b8e1be0ebdc91752619e0d591f1fefbc928c2d631e453f70ca2b
MD5 6c23a3331a0ffb610b19289f13930b46
BLAKE2b-256 8f04eeb57913bc6ef07b3ce50c08a33aee8ed227cdaad975e2a913c8f17baeb1

See more details on using hashes here.

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

Hashes for tokensave-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec654f898135a7aac7c8a0cd485260154940f7ef07789e9434220eea17f734f4
MD5 857748884b675019e301661f097a59db
BLAKE2b-256 3763f38dce00e770e4550a9cf44578ebdbc1b7114cc6055c9b03d23c01d2d072

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