OpenAI
OpenAI is one of the most widely used AI providers. TokenSense supports all OpenAI models including GPT-5, reasoning (o-series), image generation, audio, and embeddings.
Connect OpenAI to TokenSense
Already have a TokenSense account? Here's how to start tracking OpenAI costs:
Step 1: Go to your dashboard → Provider Keys → Add your OpenAI API key. TokenSense stores it securely and uses it to forward requests to OpenAI on your behalf.
Step 2: In your workflow tool (n8n, Make, or your custom code), change the API base URL from https://api.openai.com/v1 to your TokenSense endpoint. Your TokenSense endpoint is shown on your dashboard home page.
Step 3:Use your TokenSense API key as the auth header (instead of your OpenAI key directly). That's it — requests flow through TokenSense and costs appear in your dashboard within seconds.
Using n8n? The TokenSense n8n node handles all of this automatically — no URL swapping needed. Install the community node and add your TokenSense credential.
Supported chat models
All pricing is per 1 million tokens (USD).
| Model | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|
| gpt-5.5 | $5.00 | $30.00 |
| gpt-5.5-pro | $30.00 | $180.00 |
| gpt-5.4 | $2.50 | $15.00 |
| gpt-5.4-mini | $0.75 | $4.50 |
| gpt-5.4-nano | $0.20 | $1.25 |
| gpt-5 | $1.25 | $10.00 |
| gpt-5-mini | $0.25 | $2.00 |
| gpt-5-nano | $0.05 | $0.40 |
| gpt-4.1 | $2.00 | $8.00 |
| gpt-4.1-mini | $0.40 | $1.60 |
| gpt-4.1-nano | $0.10 | $0.40 |
| gpt-4o | $2.50 | $10.00 |
| gpt-4o-mini | $0.15 | $0.60 |
Reasoning models
Reasoning models (o-series) think before responding, which means longer outputs and higher costs.
| Model | Input (per 1M tokens) | Output (per 1M tokens) | Notes |
|---|---|---|---|
| o3 | $2.00 | $8.00 | Standard reasoning |
| o3-mini | $1.10 | $4.40 | Cost-effective reasoning |
| o3-pro | $20.00 | $80.00 | Extended reasoning — use with budget caps |
| o4-mini | $1.10 | $4.40 | Latest efficient reasoning |
| o1 | $15.00 | $60.00 | Legacy reasoning |
| o1-mini | $0.55 | $2.20 | Legacy efficient reasoning |
Image generation
Image models are priced per image, not per token.
| Model | Cost per image | Notes |
|---|---|---|
| gpt-image-2 | ~$0.040 | Latest image generation with native reasoning. Token-based pricing. |
| gpt-image-1 | $0.040 | Previous generation, best quality |
| gpt-image-1.5 | $0.040 | Updated variant |
| gpt-image-1-mini | $0.020 | Smaller/faster, half the cost |
| dall-e-3 | $0.040 | Previous generation |
| dall-e-2 | $0.020 | Legacy, cheapest option |
Audio models
| Model | Pricing | Use case |
|---|---|---|
| whisper-1 | $0.006 / minute | Speech-to-text transcription |
| whisper-1-hd | $0.006 / minute | Higher quality transcription |
| gpt-4o-transcribe | $0.006 / minute | Improved accuracy over Whisper |
| gpt-4o-mini-transcribe | $0.003 / minute | Budget transcription |
| tts-1 | $15.00 / 1M characters | Standard text-to-speech |
| tts-1-hd | $30.00 / 1M characters | High-definition voice |
Embedding models
| Model | Cost (per 1M tokens) | Notes |
|---|---|---|
| text-embedding-3-small | $0.02 | Recommended for most use cases |
| text-embedding-3-large | $0.13 | Higher dimension, better retrieval |
| text-embedding-ada-002 | $0.10 | Legacy |
Using OpenAI in your workflows
TokenSense works with any tool that can make HTTP requests to an OpenAI-compatible endpoint:
n8n: Install the TokenSense community node. It handles authentication and endpoint routing automatically.
Make / Zapier: Use an HTTP module pointed at your TokenSense endpoint with your TokenSense API key as the Bearer token. See the Make & Zapier guide.
Custom code / cURL: Replace https://api.openai.com/v1 with your TokenSense endpoint URL. See the API reference.
