Track OpenAI API costs by user and model
Connect OpenAI with a read-only key and nothing to install
OneLens connects with an OpenAI Admin API key set to read only and needs only three fields: an Integration Name, your Organization ID and the key. It reads cost metadata only, never your prompts or completions.
Trace OpenAI cost to the user, model and usage type behind it
See who owns each dollar of spend
See which models take the budget
See whether input, output or cache drives the bill
Trace a jump in spend to the key behind it
See what each OpenAI product costs, across ChatGPT, Codex and the API
See everyday ChatGPT use costs
Give agent work its own line
Stay inside the credit pool
Know what your production workloads cost
Weigh coding agents against the value they return
See everyday ChatGPT use costs
Give agent work its own line
Stay inside the credit pool
Know what your production workloads cost
Weigh coding agents against the value they return
Connect OpenAI spend to the owners, limits and value behind it
Visibility
Follow cost, tokens and invocations across the AI providers you connect read-only, down to the models, callers and teams behind them.
Governance
Set budgets and notify owners as spend approaches them, so teams keep building while owners stay informed.
ROI
Connect AI spend to value with cost per inference, per thousand tokens and per customer for each AI feature.
Turn OpenAI cost signals into tickets
Move from spotting an OpenAI cost change to assigning ownership, routing the next step and keeping spend against plan.
Tickets
Create policy-driven tickets with the affected user or model, the recommended action and the potential savings, so the owner has the context needed to act.

Workflows
Route OpenAI cost anomalies and ticket events into Slack, Jira, ServiceNow and the workflows your teams already use.
Budgets
Track actual and projected OpenAI spend against budgets set at the organization or user level, and alert owners when spend is approaching or expected to exceed them.
Connect your OpenAI organization to OneLens with a read-only Admin API key. OneLens reads cost data from the Organization Costs API and shows what each user spends, broken down by model and usage type. Users appear as internal user_id values, not emails.
An organization Owner creates an Admin API key named "OneLens Integration" at platform.openai.com with the permission set to Read only. Find your Organization ID under Settings, Organization, General, where it starts with org-, then enter the Integration Name, Organization ID and Admin API key in OneLens. Setup takes about 5 minutes.
OneLens needs an OpenAI Admin API key with the permission set to Read only, created by an organization Owner at platform.openai.com and named "OneLens Integration". OneLens uses it only to call GET /v1/organization/costs and does not invoke models or touch users, projects, API keys or audit logs.
No. OneLens reads cost metadata only: the model name, usage type, cost amount and currency for each record. Prompts and completions are not accessed, and the integration does not invoke models. The connection is read-only.
OneLens polls OpenAI once daily. The first time you connect, it backfills your cost history automatically. Current-day figures may change as requests complete, so a day's total can differ from what you saw earlier in the day.
No. This integration covers the direct OpenAI API only. Azure OpenAI is billed by Microsoft, so its costs are tracked through the Azure Cost Management integration, and you should connect that one if your models run on Azure.
Yes. OneLens shows OpenAI costs alongside Anthropic, AWS Bedrock, LiteLLM and other providers in a single dashboard, so your team can compare spend across providers in one view instead of reading each provider's bill separately.
OneLens alerts you when OpenAI spend deviates from its historical pattern, and you can also set budgets at the organization or user level with OneLens alerts. The integration documents alerts, not limits on API usage, so an alert tells you about a spike and leaves the decision to your team.
.png)
.png)
.png)
.png)
.jpeg)
