Skip to Content
FAQ

Frequently Asked Questions

Common questions about AiSpendTrack.

General

What is AiSpendTrack?

AiSpendTrack is a lightweight proxy that tracks your OpenAI and Anthropic API costs in real-time. You route your API calls through our proxy, we log metadata (model, tokens, cost), and you get a dashboard showing exactly where your AI budget goes.

How does it work?

  1. You change your OpenAI/Anthropic baseURL to point to our proxy
  2. We forward your request to OpenAI/Anthropic unchanged
  3. We log metadata (model, tokens, cost, latency)
  4. OpenAI/Anthropic responds
  5. We forward the response to you unchanged
  6. You see costs in your dashboard within 10 seconds

Do you log my prompts or responses?

No. We only log metadata:

  • ✅ Model, tokens, cost, latency, status
  • ❌ Your prompts, AI responses, user data

Your data passes through our proxy untouched.

Which AI providers do you support?

Currently:

  • ✅ OpenAI (all models)
  • ✅ Anthropic (Claude 3 family)

Coming soon:

  • 🔜 Google Gemini
  • 🔜 Cohere
  • 🔜 Mistral AI

How much does it cost?

Free tier:

  • 10,000 API calls/month tracked
  • 7-day data retention
  • Basic dashboard
  • $0/month

Pro tier:

  • Unlimited API calls
  • 90-day retention
  • Advanced analytics
  • Alerts & webhooks
  • $149/month

Enterprise:

  • Custom retention
  • SSO, self-hosted options
  • Custom pricing

Full pricing → 

Setup & Integration

How long does setup take?

10 minutes on average.

  1. Sign up (2 minutes)
  2. Change 2 lines of code (5 minutes)
  3. Deploy (3 minutes)
  4. Done!

Do I need to change a lot of code?

No. Just 2 lines:

// Before const openai = new OpenAI({ apiKey: "..." }); // After (2 lines) const openai = new OpenAI({ apiKey: "...", baseURL: "https://proxy.aispendtrack.com/v1", // Line 1 defaultHeaders: { "x-aispendtrack-key": "ask_..." } // Line 2 });

What languages/frameworks do you support?

Officially supported:

  • Node.js (JavaScript, TypeScript)
  • Python
  • Go (community-supported)
  • Ruby (community-supported)

Works with:

  • Any language/framework that can make HTTP requests
  • All official OpenAI/Anthropic SDKs

Integration guides →

Will this break my existing code?

No. Our proxy is 100% compatible with OpenAI and Anthropic APIs. Responses are identical.

What if your service is down?

Your API calls fail. We recommend:

  1. Implement fallback to direct OpenAI/Anthropic
  2. Monitor our status page 
  3. We have 99.9% uptime SLA (Pro+)

Privacy & Security

Do you store my OpenAI/Anthropic API keys?

No. Your keys pass through our proxy but are never stored. They only exist in your code and OpenAI/Anthropic’s servers.

Is my data secure?

Yes:

  • ✅ TLS 1.3 encryption in transit
  • ✅ AES-256 encryption at rest
  • ✅ SOC 2 Type II infrastructure
  • ✅ Regular security audits

Security details →

Are you GDPR compliant?

Yes. We’re fully GDPR compliant:

  • ✅ Right to access
  • ✅ Right to deletion
  • ✅ Right to portability
  • ✅ Data processing agreements available

GDPR details →

Where is my data stored?

Default: United States (AWS US-East-1)

Enterprise: EU or other regions available

Can I delete my data?

Yes. Anytime:

  1. Go to Settings → Delete Account
  2. Confirm deletion
  3. Data deleted within 30 days (GDPR)

Account deletion guide →

Performance

How much latency does the proxy add?

Average: <300ms

Breakdown:

  • Header processing: ~5ms
  • Database logging: ~50ms (async, doesn’t block)
  • Network overhead: ~50-100ms
  • Total: ~60ms average

Most of the “latency” is just network hops, which you’d have anyway.

Does it affect my OpenAI/Anthropic rate limits?

No. Your OpenAI/Anthropic rate limits are unchanged. You’re still using your own API key.

AiSpendTrack rate limits:

  • Free: 1,000 requests/hour
  • Pro: 10,000 requests/hour
  • Enterprise: Custom

Will this slow down my app?

No. The added latency (~60ms) is negligible compared to:

  • OpenAI GPT-4 response time: ~2-5 seconds
  • Claude response time: ~1-3 seconds

Users won’t notice the difference.

Pricing & Billing

Is there a free tier?

Yes! 10,000 API calls/month tracked for free.

Perfect for:

  • Side projects
  • Early-stage startups
  • Testing AiSpendTrack

What happens when I hit the free tier limit?

You’ll get a 429 error response. Options:

  1. Wait until next month (resets on 1st)
  2. Upgrade to Pro (unlimited)

We’ll email you at 50%, 75%, 90% of limit.

Can I try Pro before paying?

Yes! 14-day free trial of Pro tier.

How do I cancel?

  1. Go to Settings → Billing
  2. Click “Cancel Subscription”
  3. Confirm

You keep Pro features until end of billing period.

Do you offer discounts?

Yes:

  • Startups (YC, etc.): 50% off first year
  • Non-profits: 50% off
  • Students: Free Pro tier
  • Annual billing: 2 months free

Contact sales@aispendtrack.com

Features

Can I track costs per customer?

Yes! Add customer ID to headers:

defaultHeaders: { "x-aispendtrack-key": "ask_...", "x-customer-id": "user_123" }

Now see per-customer costs in dashboard.

Per-customer tracking guide →

Can I track costs per feature?

Yes! Add feature tag:

defaultHeaders: { "x-aispendtrack-key": "ask_...", "x-feature": "chat-support" }

Now see per-feature costs in dashboard.

Per-feature tracking guide →

Can I set cost alerts?

Yes (Pro tier):

  • Daily/monthly budgets
  • Spike detection
  • Usage limit warnings
  • Email, Slack, webhook notifications

Alert setup guide →

Can I export my data?

Free tier: No export

Pro tier:

  • CSV export
  • JSON export
  • API access

Enterprise:

  • All of above
  • Direct database access
  • Custom ETL pipelines

Does streaming work?

Yes! Streaming works identically to direct API calls. Costs are tracked after the stream completes.

Troubleshooting

I’m not seeing calls in my dashboard

Common causes:

  1. Wait 10 seconds - Logging is asynchronous
  2. Check API key - Verify it starts with ask_
  3. Check baseURL - Must be exactly https://proxy.aispendtrack.com/v1
  4. Check headers - Must include x-aispendtrack-key

Troubleshooting guide →

I’m getting 401 errors

Your AiSpendTrack API key is missing or invalid.

Solutions:

  • Check header name: x-aispendtrack-key (lowercase)
  • Check key value: Starts with ask_
  • Copy fresh key from Settings page

I’m getting 429 errors

You’ve hit a rate limit.

Free tier:

  • 1,000 requests/hour
  • 10,000 calls/month total

Solutions:

  • Wait for retry-after seconds
  • Upgrade to Pro (10,000 req/hour, unlimited monthly)

Costs don’t match my OpenAI bill

Possible reasons:

  1. Time zones - OpenAI bills by calendar month PST
  2. Pricing updates - We update within 24 hours of OpenAI price changes
  3. Rounding - Small differences (<1%) from rounding

Solution: Compare monthly totals. Should be within 2%.

My question isn’t here

Email support@aispendtrack.com

We respond within:

  • Free tier: 48 hours
  • Pro tier: 24 hours
  • Enterprise: 4 hours
Last updated on