Monitoring OpenAI

eG Enterprise offers a specialized monitoring model for OpenAI to monitor service performance, identify errors and delays, track resource usage, and manage API keys effectively.

OpenAI Layer Model

Figure 1 : The layers of OpenAI monitoring model

Each layer is mapped to a set of tests that collect key metrics on the availability, responsiveness, API usage, token consumption, and costs of OpenAI services, models, and projects. Using these metrics, administrators can quickly find answers to the following performance and usage questions:

  • Are the OpenAI API endpoints and services available and responding to requests successfully?

  • Which OpenAI API endpoints or services are experiencing frequent request failures or errors?

  • Are any OpenAI API endpoints or services experiencing unusually high response times or delays in generating responses?

  • Which OpenAI API capabilities are handling the highest request volumes, and are there any unexpected spikes in traffic?

  • Which OpenAI models are being used the most, and how many input and output tokens are they consuming?

  • Are any OpenAI models or API capabilities processing unusually large numbers of tokens per request?

  • How effectively are OpenAI models and API capabilities reusing cached content to reduce token processing?

  • Which OpenAI projects are incurring the highest costs, and are their daily or monthly expenses increasing unexpectedly?

  • Are any OpenAI projects experiencing a sudden increase in API requests, token consumption, or cost per request?

  • Which OpenAI API capabilities, such as text generation, image generation, audio processing, and embeddings, are consuming the most resources this month?

  • How many Admin and Project API keys are active, inactive, or unused, and which credentials require review or revocation?

  • Are any Admin API keys becoming too old and requiring rotation to maintain secure access to OpenAI resources?