Skip to content

Conversation

keenborder786
Copy link
Contributor

@keenborder786 keenborder786 commented Oct 12, 2025

  • Description: Missing keys for usage metadata: According to the Perplexity API documentation, the following output token details were missing in ChatPerplexitycitation_tokens, num_search_queries, and reasoning_token — which are required for accurate cost calculation, as noted in the issue. These have now been added. Although OutputTokenDetails has restricted keys, all of them have been included for now.
  • Issue: Add Perplexity cost tracking #31647

@github-actions github-actions bot added infra Chores, devops, repo meta changes integration Related to a provider partner package integration and removed infra Chores, devops, repo meta changes labels Oct 12, 2025
Copy link

codspeed-hq bot commented Oct 12, 2025

CodSpeed Performance Report

Merging #33445 will not alter performance

Comparing keenborder786:feat/preplexity_cost_tracking (840c5b2) with master (78903ac)1

Summary

✅ 1 untouched
⏩ 33 skipped2

Footnotes

  1. No successful run was found on master (760fc3b) during the generation of this report, so 78903ac was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 33 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Chores, devops, repo meta changes integration Related to a provider partner package integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant