Skip to content

Return input and output token counts in multi-output#252

Merged
ahyatt merged 7 commits intomainfrom
tokens
Mar 10, 2026
Merged

Return input and output token counts in multi-output#252
ahyatt merged 7 commits intomainfrom
tokens

Conversation

@ahyatt
Copy link
Copy Markdown
Owner

@ahyatt ahyatt commented Mar 6, 2026

Not every provider supports this equally. Open AI does not return the output token count AFAICT.

This will close feature request #248.

Not every provider supports this though.  According to the Ollama API docs, it
doesn't return either.  Open AI does not return the output token count.

This will close feature request #248.
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:33 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Failure
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt requested a deployment to Continuous Integration March 6, 2026 02:35 — with GitHub Actions Waiting
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Failure
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Error
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 02:52 — with GitHub Actions Error
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt had a problem deploying to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Failure
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:04 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 6, 2026 03:23 — with GitHub Actions Inactive
@ahyatt
Copy link
Copy Markdown
Owner Author

ahyatt commented Mar 6, 2026

@s-kostyaev any thoughts before I merge this in? Does this work for you?

@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt temporarily deployed to Continuous Integration March 9, 2026 15:02 — with GitHub Actions Inactive
@ahyatt ahyatt merged commit f5d9061 into main Mar 10, 2026
7 checks passed
@ahyatt ahyatt deleted the tokens branch March 10, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant