✳PRODUCT

More AI, for whatever you’re building.

Haoduo AI is an AI API relay and prepaid credit platform for individual developers, startups, content creators and enterprise customers.

01

Multiple models. One way to connect.

Access OpenAI, Anthropic, Gemini and other model services through an OpenAI-compatible interface. Check the console for available models.

02

Prepay. Build. Pay for what you use.

Purchase prepaid AI API credits. Inference charges are deducted according to actual usage, with records available in the console.

03

Keys, usage and billing in one place.

Manage API Keys and review Token consumption, account balances and billing in the console.

FROM IDEA TO API

Three steps from idea to API.

01

Create an account

Register at haoduo.ai and open your console.

02

Add prepaid credits

Confirm your order and pay. Credits are added instantly to your account.

03

Create a key and connect

Get an API Key, configure the endpoint and start making requests.

Digital delivery. Instant account credit.

Your purchase is prepaid AI API service credit, not a physical product, model ownership or financial asset. After successful payment, credits are added instantly to the associated account and deducted as you use model inference.

Credits that fit your AI workflow.

01

Individual developers

Test an idea, build a tool and connect personal projects to AI.

02

Startups

Build AI-powered products and monitor usage and charges centrally.

03

Content creators

Connect writing, ideation and creative workflows to model capabilities.

04

Enterprise customers

Integrate model inference into internal tools and business applications.

DEVELOPER FIRST.

Use a familiar, OpenAI-compatible format.

Find your actual API Base URL, API Key and available model IDs in the console, then replace the placeholders in this example. Supported parameters and capabilities vary by model.

This example illustrates the request format and does not call an API. Never expose a real key in frontend code or a public repository.

hello-ai.jsJavaScript
// Replace placeholders with values from your console.
const baseUrl = "YOUR_API_BASE_URL".replace(/\/$/, "");
const apiKey = "YOUR_API_KEY";

const response = await fetch(
  `${baseUrl}/chat/completions`, {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${apiKey}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "YOUR_MODEL_ID",
      messages: [{ role: "user", content: "Hello, AI." }]
    })
  }
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();
OpenAI-compatibleServer-side example

Understand the service before you build.

LET’S BUILD SOMETHING.

Your next idea.
One API call away.

Explore a more flexible way to bring AI models to your product.

Explore the product