Skip to main content
This guide covers how to send OpenAI usage data to Fenra.

Chat Completions (GPT-4, GPT-3.5, o1, o3)

Prompt Caching

When the response includes prompt_tokens_details.cached_tokens, include it:

Reasoning Models (o1, o3)

OpenAI’s reasoning models include reasoning_tokens. Include them for accurate cost tracking:

Batch and Priority Tiers

OpenAI offers different pricing tiers. Specify the tier using model_tier:

Multimodal Tokens (Realtime API)

For realtime and multimodal models, track separate token types:

Image Generation (DALL-E)

GPT Image Models

For GPT Image 1.5 and GPT Image 1, include quality and dimensions:

Audio (Whisper, TTS)

For Whisper transcription:
For TTS:

Supported Models

Fenra supports all OpenAI models. Common models include:

Next Steps