Skip to content
AISpendbook

Your app's data · Read with a key

PostgreSQL

Request-level AI usage rows from any PostgreSQL database reachable over TLS on a public host, read with the Supabase / Postgres connector.

How data moves
AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
Credential
Read-only database role
What it covers
request telemetry, app records
Money
Usage quantities, priced by AI Spendbook as an estimate
Runs
each scheduler run (daily on the hosted deployment)
Freshness
Not included
billed cost
Status
Built from the vendor's public documentation and tested with recorded responses. Not yet run against a live account.

Set it up

This uses the Supabase / Postgres connection.

  1. Create a connection of kind 'supabase' (Supabase / Postgres) with the database's host, port, database name and a read-only role, then run discovery and map the columns.
  2. The host must resolve to a public address: private and VPC-only addresses are refused, and there is no SSH tunnel or private link.

What it needs

A dedicated read-only Postgres role with SELECT on the selected tables only (no INSERT/UPDATE/DELETE, not a superuser). TLS is required.

Every connector, by family

Start with your own numbers.

Every plan is free during launch. No credit card.