[GH-ISSUE #68] add an /api/tokens endpoint which returns the amount of token in a given input #25787

Closed
opened 2026-04-22 01:36:55 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @BruceMacD on GitHub (Jul 11, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/68

This is useful for determining where to trim an input in the client

Originally created by @BruceMacD on GitHub (Jul 11, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/68 This is useful for determining where to trim an input in the client
GiteaMirror added the feature request label 2026-04-22 01:36:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#25787