Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

419 B
Raw Blame
[package]
name = "litellm-token-counter-fast"
version = "0.1.0"
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
base64.workspace = true
rustc-hash = "2.1.3"
thiserror.workspace = true
tokenizers.workspace = true
unicode-normalization-alignments = "0.1.12"

[dev-dependencies]
rand.workspace = true
rstest.workspace = true
serde.workspace = true
serde_json.workspace = true