Track OpenAI API Costs
Per Feature, In Real-Time
Stop guessing what's driving your OpenAI bill. Orbit tracks costs at the feature level so you know exactly where your spend is going.
The OpenAI Billing Problem
OpenAI's dashboard shows your total spend, but not what's causing it. When costs spike, you're left guessing.
Which feature costs most?
Is it your chatbot, document analyzer, or code assistant driving the bill?
GPT-4o vs GPT-4o-mini?
Are you using expensive models where cheaper ones would work?
Cost per user?
Which customers are consuming the most tokens?
Feature-Level OpenAI Cost Tracking
With Orbit, every OpenAI API call is tagged to the feature that made it. See exactly what each part of your app costs.
import { Orbit } from '@with-orbit/sdk';
import OpenAI from 'openai';
const orbit = new Orbit({ apiKey: 'your-orbit-key' });
// Wrap your OpenAI client
const openai = orbit.wrapOpenAI(new OpenAI(), {
feature: 'customer-chat' // Tag by feature
});
// Use OpenAI normally - costs are tracked automatically
const response = await openai.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: message }]
});Real-time dashboards
See OpenAI costs update in real-time as your app runs
Automatic cost calculation
Costs calculated using current OpenAI pricing, always up to date
Model-level breakdown
See spend by GPT-4o, GPT-4o-mini, embeddings, and more
Zero code changes
Just wrap your OpenAI client - your existing code works as-is
OpenAI Pricing We Track
Orbit automatically calculates costs for all OpenAI models based on current pricing.
| Model | Input (per 1M) | Output (per 1M) |
|---|---|---|
| GPT-4o | $2.50 | $10.00 |
| GPT-4o-mini | $0.15 | $0.60 |
| GPT-4 Turbo | $10.00 | $30.00 |
| o1 | $15.00 | $60.00 |
| o1-mini | $3.00 | $12.00 |
Start Tracking OpenAI Costs Today
Free tier includes 10,000 events/month. No credit card required.
Get started free