WuDi API Documentation
Connect your models and tools through one API gateway.
Create a key, choose an available model, then configure your application.Common addresses
Section titled “Common addresses”| Purpose | Address |
|---|---|
| OpenAI-compatible Base URL | https://wudiapi.com/v1 |
| Anthropic-compatible base address | https://wudiapi.com |
| Models available to your key | GET https://wudiapi.com/v1/models |
| Chat Completions | POST https://wudiapi.com/v1/chat/completions |
| Account dashboard | Open dashboard |
| API keys | Manage keys |
| Models and prices | Browse models |
An OpenAI Base URL field usually needs the address ending in /v1. A field requesting a complete endpoint needs the full resource path. Claude Code uses the root address for ANTHROPIC_BASE_URL. Check the address table rather than adding the same path everywhere.
Find a guide by task
Section titled “Find a guide by task”- Build an application: code examples, streaming, tool calls.
- Configure a coding assistant: Claude Code, Codex CLI, OpenCode, Pi.
- Use a desktop client: Claude Desktop, Codex desktop, WorkBuddy, Magpie.
- Connect an agent: OpenClaw, Hermes, DeepSeek Harness.
- Work with images: generation, GPT Image, Nano Banana, editing.
Before you start
Section titled “Before you start”Model names in examples are configuration examples. Current models, protocols, groups and prices are listed in the model catalog and depend on your key permissions. A listed model does not necessarily support every advanced parameter. Screenshots illustrate settings; menus vary by client version. API compatibility does not include every hosted feature of the original provider’s products.
Online recharge is available. Buy a code in your wallet, then redeem it there to add credit.
