Spend alerts are available on the Standard and Enterprise plans. They’re not needed on the Starter or Builder plans, where usage is capped by plan quotas rather than billed per unit.
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.
Edit a spend alert
- In the row of the spend alert you want to edit, click ellipsis (…) menu > Edit.
- Change the dollar amount, the email addresses, or both.
- Click Update.
Auto-spend spike alert
To protect against unexpected cost increases, Pinecone sends an alert when spending exceeds double your previous month’s invoice. You can’t change that threshold or delete the alert, but you can change which email addresses receive it and turn its notifications on or off.Monitor organization-level usage
You must be an organization owner or billing admin 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