OpenAI

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.

1

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.

2

Token usage

Track input and output tokens across all models. Identify token-heavy workflows and optimize prompt engineering to reduce costs.

3

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.

4

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.

ModelInput / 1MOutput / 1MTier
GPT-4.1$2.00$8.00
Flagship
GPT-4.1 mini$0.40$1.60
Balanced
GPT-4.1 nano$0.10$0.40
Fast
GPT-4o$2.50$10.00
Flagship
o3$2.00$8.00
Reasoning
o4-mini$1.10$4.40
Reasoning
o3-mini$1.10$4.40
Reasoning

Start tracking in under 2 minutes

Three steps to connect OpenAI to Grafient.

1

Generate an Admin API key

Go to platform.openai.com, navigate to API keys, and create a new Admin-level key.

2

Paste into Grafient

Open Grafient, add a new OpenAI integration, and paste your Admin API key. It is encrypted and stored securely.

3

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.

Start tracking OpenAI costs today

Free plan. No credit card. Set up in under two minutes.