Skip to content

Support the Anthropic Token Counting API #83

@areibman

Description

@areibman

Recent release: https://docs.anthropic.com/en/docs/build-with-claude/token-counting

We currently count tokens according to the GPT tiktoken tokenizer. We should use the API instead

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions