https://api.doubleword.ai/v1 mirrors OpenAI’s schema, so any OpenAI client works with base_url set to Doubleword. Phoenix captures every Doubleword call through the openinference-instrumentation-openai package, the same instrumentor that covers OpenAI’s hosted API.
Install
Setup
Add your Doubleword API key from the API Keys dashboard at app.doubleword.ai, along with your Phoenix connection details, as environment variables:register function:
Run Doubleword
Observe
Now that you have tracing set up, all invocations of the OpenAI client pointed at Doubleword will be streamed to your running Phoenix for observability and evaluation. Each request appears as aChatCompletion LLM span with the prompt, response, model name, token usage, and latency.
Common Issues
- No traces in Phoenix: Confirm
PHOENIX_COLLECTOR_ENDPOINT(andPHOENIX_API_KEYif your Phoenix requires one) is set in the same shell that runs your app - Doubleword spans missing: Call
register()before you create the OpenAI client, and make sureopeninference-instrumentation-openaiis installed soauto_instrument=Truepicks it up 401from Doubleword: Use your Doubleword API key from the Doubleword dashboard, not your OpenAI key- Model not found: Use a model identifier from the Doubleword model catalog (e.g.
deepseek-ai/DeepSeek-V4-Flash). Identifiers are case-sensitive and include the publisher prefix - Base URL: Ensure you’re using
https://api.doubleword.ai/v1as the base URL

