Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return token usage per function call #268

Open
kamath opened this issue Dec 3, 2024 · 1 comment
Open

Return token usage per function call #268

kamath opened this issue Dec 3, 2024 · 1 comment
Milestone

Comments

@kamath
Copy link
Contributor

kamath commented Dec 3, 2024

We need better telemetry on how many input/output tokens went into each Stagehand function so we can help people better measure cost with Stagehand and help facilitate cost-benefit analysis of using smaller/cheaper models over flagship models

@kamath kamath added this to Stagehand Dec 3, 2024
@kamath kamath added this to the Foundation milestone Dec 3, 2024
@ConProgramming
Copy link

Definite plus one here. It'd be fantastic to be able to do a .totalCost() at the end of a run, to see how economical using Stagehand for scale is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants