Skip to content

Conversation

keenborder786
Copy link
Contributor

  • 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 integration Related to a provider partner package integration infra Chores, devops, repo meta changes labels Oct 14, 2025
Copy link

codspeed-hq bot commented Oct 14, 2025

CodSpeed Performance Report

Merging #33480 will not alter performance

Comparing keenborder786:feat/preplexity_cost_tracking (82381bb) with master (6e25e18)

Summary

✅ 1 untouched
⏩ 33 skipped1

Footnotes

  1. 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