Tracking OpenAI Costs by Company

Last updated February 8, 2026

Tracking OpenAI Costs by Company

OpenAI's project system makes it easy to track costs per company. Each project gets separate usage tracking, which Administrate.dev automatically syncs.

How It Works

OpenAI allows you to create multiple projects within your organization. Each project:

  • Has its own API keys
  • Tracks usage separately
  • Reports costs independently

Administrate.dev syncs these projects and lets you assign each one to a company.

Best Practice: One Project Per Company

For accurate cost tracking:

  1. Create a project in OpenAI for each company
  2. Generate API keys from that project for the company's applications
  3. Connect OpenAI to Administrate.dev (see Setting Up OpenAI)
  4. Assign each project to the corresponding company

Setting Up Company Tracking

Step 1: Create Projects in OpenAI

  1. Go to OpenAI Platform
  2. Click Projects in the sidebar
  3. Click Create Project
  4. Name it after the company (e.g., "Acme Corp Production")
  5. Repeat for each company

Step 2: Create API Keys Per Project

  1. In each project, go to API Keys
  2. Create a new key for that company's use
  3. Give this key to the company or use it in their applications

Step 3: Assign Projects in Administrate.dev

  1. Go to LLM Providers
  2. Click your OpenAI provider
  3. In the Projects section, you'll see all your OpenAI projects
  4. Click the company dropdown for each project
  5. Select the appropriate company

Viewing Company Costs

Once assigned, company costs appear in:

  • LLM Costs → By Company tab
  • Company detail page → LLM Costs section
  • Exported reports → Cost column includes attribution

Using a Default Company

If you have projects that don't need individual company assignment:

  1. Edit your OpenAI provider
  2. Set a Default Company
  3. Unassigned projects will be attributed to this company

Related

Still need help?

Can't find what you're looking for? Get in touch with our support team.