Skip to content

Open WebUI

Open WebUI can connect to OpenAI-compatible APIs. You can configure DDTokens as an external OpenAI service.

Configure Environment Variables

When running Open WebUI with Docker, configure the OpenAI-compatible address:

bash
docker run -d \
  -p 3000:8080 \
  -e OPENAI_API_KEY="$DDDT_API_KEY" \
  -e OPENAI_API_BASE_URL="https://apiddt.com/v1" \
  ghcr.io/open-webui/open-webui:main

If your Open WebUI version uses different variable names, follow that version's official documentation.

Configure in the Interface

You can also add an OpenAI-compatible connection in the administrator settings:

SettingValue
API Base URLhttps://apiddt.com/v1
API KeyYour DDTokens API key
ModelsModels available in the dashboard

Verify

Open Open WebUI, select a DDTokens model, and send a test message. After it succeeds, check the DDTokens dashboard log to confirm that the request was recorded.

Production Recommendations

  • Create a separate API key for Open WebUI.
  • Set quota and rate limits for that key.
  • Review logs regularly for unexpected usage.

© 2026 DDTokens