You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Perplexity provider in AI SDK returns limited usage metadata. For comprehensive cost tracking and optimization, propose extending the usage metadata to include reasoningTokens, especially for models like Sonar Deep Research.
Use Cases
This would align the SDK's metadata with Perplexity's actual pricing components, makes it easier to reconcile SDK usage with Perplexity's billing statements.
Additional context
No response
gianpaj, dmtran-g, jakubtrcka, yilin-arcip and yilinjuang