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

Closed
opened 2026-05-03 07:25:27 -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-05-03 07:25:27 -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#62063