Integrations / OpenAI
To trace OpenAI calls with Tracify, wrap your OpenAI client with the Tracify SDK. Each request is then recorded as a span with the model, token counts, latency, cost and any error.
Your code
OpenAI
Tracify
One run.
Setup
import OpenAI from "openai";
import { wrapOpenAI } from "tracify-sdk";
const openai = wrapOpenAI(new OpenAI());
const reply = await openai.responses.create({
model: process.env.OPENAI_MODEL!,
input: "Hello",
});Full details in the documentation. All integrations are listed on the integrations page.
