OpenAI Integration
Track Your OpenAI Spend
Get complete visibility into your OpenAI API costs. Grafient tracks spending across GPT models, o-series reasoning models, embeddings, audio, and image generation with 180 days of history.
History Depth
180 days
Usage Unit
Tokens
Model Coverage
GPT + o-series + more
Complete visibility into your OpenAI costs
Grafient captures every data point from the OpenAI billing API so nothing slips through the cracks.
Cost per model
Break down spend across GPT-4.1, GPT-4o, o3, o4-mini, and every other model. See which models account for the bulk of your bill.
Token usage
Track input and output tokens across all models. Identify token-heavy workflows and optimize prompt engineering to reduce costs.
Cached input tokens
Monitor how many tokens are served from OpenAI's prompt cache, reducing your effective input cost. Optimize caching for frequently repeated prefixes.
Embeddings, audio & image usage
Beyond text models, track costs from text-embedding, Whisper, TTS, and DALL-E. Get a complete picture of your OpenAI bill in one place.
Supported models
Current OpenAI models with per-million-token pricing.
Start tracking in under 2 minutes
Three steps to connect OpenAI to Grafient.
Generate an Admin API key
Go to platform.openai.com, navigate to API keys, and create a new Admin-level key.
Paste into Grafient
Open Grafient, add a new OpenAI integration, and paste your Admin API key. It is encrypted and stored securely.
See costs instantly
Grafient pulls up to 180 days of usage data. Your dashboard is populated within seconds.
Requires an Admin API key (starts with sk-admin-). Regular API keys do not have access to the usage and billing endpoints.
What you can do with your OpenAI data
Once connected, your OpenAI data powers every feature in Grafient.
Cost Dashboard
Unified view of all your AI spending with charts, trends, and daily breakdowns.
Budget Alerts
Set daily or monthly thresholds and get notified before you overspend.
Cost Breakdown
Drill down by model, day, or provider to understand exactly where your money goes.
Insights
AI-powered spending analysis with anomaly detection and optimization suggestions.
Start tracking OpenAI costs today
Free plan. No credit card. Set up in under two minutes.