Skip to main content
Fhddos is a unified AI model gateway that gives you a single API key and base URL to call OpenAI, Gemini, Claude, Doubao, Kling, Vidu, MiniMax, GLM, Jimeng, and more — all through an OpenAI-compatible interface. This guide walks you through registration, key creation, and your first successful API call.
1

Register and log in

Create your Fhddos account at aiapi.fhddos.com, verify your email address, and sign in to the Console.
Sign up with your email address or a supported third-party provider. After submitting the form, check your inbox for a verification email and click the confirmation link before logging in.
Teams let you share API keys, quotas, and usage data across multiple members. Create a new team from the Console and invite colleagues by email, or ask a team owner for an invitation link to join an existing team.
2

Create an API key

Navigate to Tokens (/panel/token) in the Console sidebar and generate a new API key.
Click Create Token, give it a descriptive name (for example, dev-local or prod-backend), and confirm. Fhddos immediately displays the full key — it starts with oh- and looks like oh-xxxxxxxxxxxxxxxx.Copy the key now. You will not be able to view it again after closing this dialog.
Store the key in an environment variable or a secrets manager — never hard-code it in source files or commit it to version control. Fhddos keys are for server-side use only; exposing them in client-side code or public repositories can result in unexpected charges.
If you suspect a key has been compromised, disable it immediately from the Tokens page and generate a replacement. Disabling a key takes effect within seconds.
3

Make your first API call

Point your HTTP client or OpenAI SDK at https://aiapi.fhddos.com/v1, pass your Fhddos token as the Bearer credential, and call /v1/chat/completions with any supported model name.
Fhddos’s API is fully OpenAI-compatible. If you already use the openai Python or Node.js SDK, the only changes needed are api_key and base_url — everything else stays the same.
curl
export BASE_URL="https://aiapi.fhddos.com"
export TOKEN="oh-xxxxxxxxxxxxxxxx"

curl "$BASE_URL/v1/chat/completions" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello!"}]}'
Python (openai SDK)
import openai

client = openai.OpenAI(
    api_key="oh-xxxxxxxxxxxxxxxx",
    base_url="https://aiapi.fhddos.com/v1"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)
After the call completes, open Logs (/panel/log) in the Console to confirm the request appears with a 200 status. If the call fails, check that your token is correctly formatted and that you’re targeting /v1/chat/completions — not the upstream provider’s URL.

What’s next?

Console Guide

Learn every section of the Fhddos Console — dashboards, logs, billing, and team management.

OpenAI Compatibility

Explore the full API surface, supported models, and request/response examples.

Account & Billing

Manage your subscription, view invoices, and monitor quota consumption.