Skip to main content
Doubleword is a high-throughput, low-cost LLM inference platform serving open models such as Qwen and DeepSeek across realtime, async, and batch tiers. The endpoint at 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:
Connect your application to Phoenix with the 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 a ChatCompletion LLM span with the prompt, response, model name, token usage, and latency.

Common Issues

  • No traces in Phoenix: Confirm PHOENIX_COLLECTOR_ENDPOINT (and PHOENIX_API_KEY if 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 sure openinference-instrumentation-openai is installed so auto_instrument=True picks it up
  • 401 from 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/v1 as the base URL

Resources

Doubleword Documentation

OpenInference OpenAI Instrumentation