Know exactly what your AI is costing you.
Two lines of code. Every model, every call, every dollar — tracked in real time across OpenAI, Anthropic, and Gemini.
- Two lines of code to connect — no admin key required
- Tracks OpenAI, Anthropic, and Gemini in one dashboard
- Spike alerts and monthly budgets with 50/80/100% thresholds
- Model comparison — see what the same usage would cost elsewhere
Affixly Surge is a real-time AI cost tracking dashboard for start-ups, indie developers, and teams building on AI. It tracks every model call across OpenAI, Anthropic, and Google Gemini and rolls them up into one daily-spend view with spike alerts, monthly budgets, and model comparison. Two ways to connect: the affixly-surge-sdk wraps your existing AI calls in two lines of code, or you can plug in a read-only admin key for org-wide visibility.
Two lines of code. Real-time tracking from the next call.
The affixly-surge-sdk is the fastest path for start-ups and indie developers. Wrap your existing OpenAI, Anthropic, or Gemini calls and every request is tracked the moment it happens — no admin permissions, no waiting for billing data to catch up.
Python
pip install affixly-surge-sdkNode.js
npm install affixly-surge-sdkPrefer org-wide visibility? Connect a read-only admin key for OpenAI, Anthropic, or Gemini instead. Useful for shared org dashboards and finance reporting. Both paths feed the same view.
AI costs are invisible until the bill arrives.
Most teams find out what their AI is costing them after the fact — when an invoice lands or a free tier evaporates. Surge tracks every call in real time across every provider, so you see spend as it happens and can act before it compounds.
Without Surge
- Check OpenAI usage dashboard
- Switch to Anthropic console
- Open a spreadsheet
- Manually estimate missing costs
- Combine data across tabs
- Still unsure what you actually spent
With Surge
- Connect providers once
- All costs normalized automatically
- Actual vs estimated clearly labeled
- Daily trends and alerts built in
- One dashboard for every model
Connect once. Surge handles the rest.
Install the SDK or connect a key
pip install affixly-surge-sdk or npm install affixly-surge-sdk — two lines wrap your existing OpenAI, Anthropic, or Gemini calls. Or connect a read-only admin key for org-wide visibility.
Surge captures every call
Each request is tracked the moment it happens. Actual cost from billing APIs where available, estimated cost from token counts — clearly labelled either way.
Monitor and act
View daily spend, model breakdown, trends, spike alerts, and 50/80/100% monthly budget thresholds. Compare what the same usage would cost on a different model.
Connect the AI providers you already use.
Surge normalizes cost and usage data across providers into a single format. More providers added regularly.
Everything you need to understand your AI spend.
Daily cost tracking
See your total AI spend for every day, broken down by provider and model. No more manual spreadsheets or end-of-month surprises.
Provider breakdown
Unified view across OpenAI, Anthropic, Gemini, and more. All costs normalized to a single format so you can compare directly.
Model-level visibility
Drill down from provider to individual model. Know exactly which models are driving costs and where to optimize.
Usage trends
14-day and 30-day trend views help you spot patterns before they become problems. Catch cost growth early.
Spend spike alerts
Set thresholds and get notified the moment costs jump unexpectedly. Catch anomalies before they compound.
Actual vs estimated clarity
Surge clearly labels when a cost figure comes from provider billing data versus a token-based estimate. Never confuse the two.
Works with streaming
Surge 0.3.0 tracks streamed responses correctly — final token counts, costs, and latency captured on completion, not estimated mid-stream. Your dashboard reflects how you actually use the API.
Built for the teams shipping the most AI.
Start-ups
Stop guessing what AI costs
Connect your stack in minutes and see your real spend before it surprises you at month end.
Indie developers
One dashboard for every model
Track costs across providers without logging into three dashboards or waiting for invoices.
Teams
Budget before you overspend
Set monthly budgets per provider and get alerted at 50%, 80%, and 100% — not after.
Built with security and minimal access in mind.
Connecting API keys requires trust. Surge is designed from the ground up to deserve it.
Credentials encrypted at rest
Your API keys are encrypted using industry-standard encryption before storage. They are never stored in plaintext at any layer.
Least-privilege access only
Surge requests the minimum permissions required to read usage data. We do not request write, delete, or billing-modification access.
No prompt or completion data stored
We only retrieve usage and cost metadata from provider APIs. Your prompts, completions, and model outputs are never accessed or stored.
Read-only where supported
Where providers support scoped read-only tokens, Surge uses them. We never request broader access than what is needed.
Revoke access at any time
Disconnect any provider instantly from the dashboard. Access is terminated immediately. Your historical cost data is retained.
Built for start-ups, indie developers, and the teams shipping AI.
Two lines of code in. Real numbers out. Surge is designed for builders who need to know what AI costs before the bill arrives — not for dashboards that sit unused after the first week.
Pay for what you track, nothing else
Every feature included at every tier. The only difference is how many events you send per month.
Starter
$29/mo
For solo developers and side projects getting visibility into their first AI costs.
50,000 events per month
- All providers (OpenAI, Anthropic, Gemini)
- CSV import
- Real-time spend dashboard
- Daily trend + model breakdown
- Model comparison
- Alerts and budget thresholds
- SDK (Python + Node.js)
- Email support
Pro
$99/mo
For teams and products where AI spend is a real line item.
500,000 events per month
- Everything in Starter
- Priority email support
Enterprise
Custom
For larger teams with multiple workspaces and high event volume.
Unlimited events
- Everything in Pro
- Multiple workspaces
- Dedicated support
- Custom retention
One event = one AI API call tracked via the SDK or provider sync.
Stop guessing your AI spend.
Surge is in early access. Join now to get first access when we open the doors.
Frequently asked questions
What is Affixly Surge?
Surge is a real-time AI cost tracking dashboard for start-ups, indie developers, and teams building on AI. It tracks every call to OpenAI, Anthropic, and Google Gemini and presents daily spend, model breakdowns, spike alerts, monthly budgets, and model comparison in one view.
How does Surge differ from checking provider dashboards manually?
Each AI provider has its own billing dashboard with different formats, update cadences, and gaps — and most only update once a day. Surge tracks every call in real time, normalises data across providers into one view, clearly labels actual vs. estimated costs, and adds spike alerts and monthly budget thresholds that individual provider dashboards do not offer.
How do I connect Surge?
Two paths. The recommended path for start-ups and indie developers is the SDK: `pip install affixly-surge-sdk` (Python) or `npm install affixly-surge-sdk` (Node) wraps your existing AI calls so every request is tracked in real time, with no admin permissions required. The alternative for org-wide visibility is connecting a provider read-only admin API key — useful for shared finance dashboards.
What AI providers does Surge support?
Surge currently supports OpenAI (actual cost from billing API), Anthropic (actual and estimated), and Google Gemini (estimated from token counts). More providers are added regularly.
How does cost attribution work in Surge?
Surge breaks costs down by provider, then by individual model within each provider. You can see daily spend per model to identify which models drive the most cost. Project-level attribution is on the roadmap.
What data does Surge store?
Surge stores only usage metadata and cost figures. It never accesses, stores, or processes your prompts, completions, or model outputs. API keys are encrypted at rest.
Can I revoke Surge access at any time?
Yes. You can disconnect any provider instantly from the dashboard. Access is terminated immediately. Your historical cost data in Surge is retained for your records.
Start tracking your usage today.
Connect your first AI provider in minutes. No infrastructure required.