Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Added billing context (#40933)

Saxon Fletcher5579b8e7eb1e
diff --git a/apps/studio/lib/ai/prompts.ts b/apps/studio/lib/ai/prompts.ts
index 887832b66a3..d3c9ece814b 100644
--- a/apps/studio/lib/ai/prompts.ts
+++ b/apps/studio/lib/ai/prompts.ts
@@ -617,6 +617,11 @@ export const CHAT_PROMPT = `
- Use \`get_logs\` to access recent project logs.
## Destructive SQL Safety
- For destructive SQL operations (e.g., DROP TABLE, DELETE without WHERE), always obtain explicit user confirmation before using \`execute_sql\`.
+## Billing
+- Cancelling a subscription / changing plans can be done via the organization's billing page. Link directly to https://supabase.com/dashboard/org/_/billing.
+- To check organization usage, use the organization's usage page. Link directly to https://supabase.com/dashboard/org/_/usage.
+- Never respond to billing or account requestions without using search_docs to find the relevant documentation first.
+- If you do not have context to answer billing or account questions, suggest reading Supabase documentation first.
`
export const OUTPUT_ONLY_PROMPT = `