Most observability tools sit above the model client. Keep your tracing setup the same, then point the underlying OpenAI-compatible or Anthropic-compatible client at Phaseo.
Langfuse with OpenAI SDK
LangSmith with LangChain
Use the LangChain setup and enable LangSmith through the usual LangChain environment variables:
OpenTelemetry
If your framework emits OpenTelemetry spans, Phaseo does not require a special exporter. Add useful request context yourself:
- model id
- endpoint, such as
responses or chat.completions
- Phaseo request id from response metadata or logs
- selected provider when response metadata is enabled
Notes
- Do not send Phaseo API keys to observability tools as attributes.
- If the observability library wraps the OpenAI SDK, configure the wrapped client with
base_url: "https://api.phaseo.app/v1".
- For LangChain traces, pair the tracing callback with the Phaseo
ChatOpenAI configuration.
Last modified on July 26, 2026