Set monthly spend alerts
You can set up email alerts to monitor your organization’s monthly spending. These alerts notify designated recipients when spending reaches specified thresholds. The alerts automatically reset at the start of each monthly billing cycle. To set a spend alert:- Go to Settings > Spend alerts in the Pinecone console
- Click + Add Alert.
- Enter the dollar amount for the spend alert.
- Enter the email addresses to send the alert to. Organization owners are listed by default.
- Click Create.
- In the row of the spend alert you want to edit, click ellipsis (…) menu > Edit.
- Change the dollar amount and/or email addresses for the spend alert.
- Click Update.
Auto-spend spike alert: To protect from unexpected cost increases, Pinecone sends an alert when spending exceeds double your previous month’s invoice amount. While the alert threshold is fixed and the alert cannot be deleted, you can modify which email addresses receive the alert and enable or disable the alert notifications.
Monitor organization-level usage
You must be the organization owner to view usage across your Pinecone organization. Also, this feature is available only to organizations on the Standard or Enterprise plans.
Monitor token usage
Requests to the chat, context retrieval, and evaluation API endpoints return ausage parameter with prompt_tokens, completion_tokens, and total_tokens generated.
- Chat
- Context retrieval
- Response evaluation
For chat, tokens are defined as follows:
-
prompt_tokensare based on the messages sent to the assistant and the context snippets retrieved from the assistant and sent to a model. Messages sent to the assistant can include messages from the chat history in addition to the newest message.prompt_tokensappear as Assistants Input Tokens on invoices. -
completion_tokensare based on the answer from the model.completion_tokensappear as Assistants Output Tokens on invoices. -
total_tokensis the sum ofprompt_tokensandcompletion_tokens.
Example chat response