Bring Your Own Key (BYOK) to Claude Code, Codex CLI, OpenClaw & WorkBuddy — AI Agent Key Setup Malaysia | Bigdomain.my
AI Agent Key Setup Malaysia · Bring Your Own Key

AI Agent Key Setup Malaysia.
Bring your own key to Claude Code, Codex CLI, OpenClaw & WorkBuddy.

BYOK — paste any API key you own (OpenAI, Anthropic, DeepSeek, OpenRouter, Gemini, BD Token Hub) into the agents you already run: Claude Code, Codex CLI, OpenClaw, Claude Cowork and WorkBuddy. This page detects your provider, generates the exact config and tests the key live. You pay the provider directly — full cost control, no middleman.

OpenAI-compatible /v1/chat/completions Anthropic-compatible /v1/messages BYOK — your key, your bill, your models CC Switch GUI or manual config New to WorkBuddy? 350 free points with code UWAJM9H2
Pre-launch · October 2026

BD LLM Token Hub is pre-launching to selected users in October 2026.

One prepaid key that speaks both the OpenAI and Anthropic protocols — live models bd-ds41-flash, bd-glm53-flash and bd-kimi-k25, with bd-auto-fast auto-routing to the most cost-efficient one. We are onboarding a first group of selected users in October 2026; join the waiting list and we will contact you when your slot opens. Already have a key from another provider? Everything on this page works with it today.

Join the waiting list →
BD LLM Token Hub customer portal sign-in screen showing credit balance, usage and API keys, with a waiting list for early access
The Token Hub customer portal. Access is released in batches — join the waiting list and your key is issued there.

One key. Every agent. Two protocols.

You add the hub once per tool and your key never changes again. Claude Code and Claude Desktop speak the Anthropic surface; Codex, OpenClaw, OpenCode, Grok Build and Hermes speak the OpenAI surface — both land on the same prepaid wallet.

Diagram: one bd-sk- key reaches BD LLM Token Hub, which exposes the OpenAI surface (/v1/chat/completions, /v1/responses) to Codex, OpenClaw, OpenCode, Grok Build, Hermes, Zed and Cline, and the Anthropic surface (/v1/messages) to Claude Code, Claude Desktop and Claude Cowork, plus WorkBuddy, browser agents and your own SDK

Gemini CLI is the one exception — the gateway has no Google Gemini surface, so it cannot be pointed at Token Hub today. Use any OpenAI-compatible client instead.

Why bring your own key (BYOK) to your AI agents?

Claude Code, Codex CLI, OpenClaw and WorkBuddy all support bring your own key — your agent calls the model provider directly with your API key instead of going through a bundled or shared one. That is not a hack; it is how these tools are designed to work. Here is why it matters:

🔑

Cost you actually control

Agentic workflows burn tokens fast — Claude Code and OpenClaw can run thousands of calls a day. BYOK means you pay the provider directly at source rates: no middleman markup, no bundled credits that expire, no subscription seat you don't use. The bill follows your real usage.

⇆

Any model, swap anytime

Use Claude for hard reasoning, DeepSeek or GPT for volume work, Groq for speed. Your key decides — one config change switches the model behind the same agent. No re-login, no new subscription, no vendor lock-in.

🛡

Your key, your data, your quota

Usage lands on your own provider dashboard, rate limits are yours alone — not a shared pool that throttles at 6pm. The key lives in your terminal and config files, not in somebody else's cloud wallet.

🧩

One key, many agents

Agents speak two open protocols — OpenAI-compatible and Anthropic-compatible. The same key configures Claude Code, Codex CLI, OpenClaw, Claude Cowork and WorkBuddy, so you set up once and reuse everywhere.

Built into the agents you already use: Claude Code points at any Anthropic-compatible endpoint via three environment variables · Codex CLI supports custom model providers in ~/.codex/config.toml · OpenClaw is BYOK-native — per-provider keys in its config, with no silent fallback to shared pools · WorkBuddy accepts your key as a custom model · Claude Cowork, browser agents and MCP servers all follow the same pattern.

Bring your own key — start here

Paste any AI provider key below. The page detects where it belongs and fills every guide with the exact endpoints, headers and config for your provider. The key never leaves your browser except in the optional live test you trigger.

Recognised prefixes: bd-sk- BD Token Hub · sk-ant- Anthropic · sk-or-v1- OpenRouter · sk- OpenAI / DeepSeek / SiliconFlow · AIza Google Gemini · gsk_ Groq · anything else — pick a provider manually.

—

No key yet? Two ways in. BD LLM Token Hub — one key for OpenAI and Anthropic tools — is pre-launching to selected users in October 2026. Want to start today instead? Grab WorkBuddy free and claim 350 free points with redemption code UWAJM9H2 — that bonus belongs to the WorkBuddy / CodeBuddy sign-up offer, not to Token Hub.
Request Token Hub access →

Connect your tools — same key, every agent

Pick a tool — paste your BYOK key above first and every block below fills itself in.

Test your key live

One click confirms the key works — against your own provider, right from this page.

  • A success lists your available models — the same list your tools will see
  • 401 means the key is wrong or expired — generate a fresh one
  • Some providers block direct browser calls (CORS) — if so, use the curl block above from a terminal; the key itself is fine
Connection check
Paste your key above — the check command appears here.
Paste a key above, then test it live.

Frequently asked

Short answers to the questions we get most about connecting keys and apps.

What does BYOK (bring your own key) mean for AI agents?
BYOK means your AI agent — Claude Code, Codex CLI, OpenClaw, Claude Cowork or WorkBuddy — uses your own provider API key instead of a bundled or shared one. You pay the provider directly at source rates, usage shows on your own dashboard, and you can swap models anytime. All of these tools support it by design; this page sets it up in minutes.
Which keys work with this page?
Any key from an OpenAI-compatible or Anthropic-compatible provider: OpenAI, Anthropic, DeepSeek, SiliconFlow, OpenRouter, Groq, Google Gemini, and BD LLM Token Hub (keys start with bd-sk-). Unknown provider? Choose Custom and give the base URL — anything that speaks the OpenAI protocol works.
Is my key safe here?
The key is held in this page's memory only — it fills the config blocks below so you can copy them. It is sent nowhere except the optional live test you click. Refreshing the page clears it. Never paste your key into shared documents or screenshots.
Can I use DeepSeek in Claude Code?
Yes. DeepSeek ships an Anthropic-compatible endpoint (https://api.deepseek.com/anthropic), so a DeepSeek key runs Claude Code natively: set ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN and ANTHROPIC_MODEL and start claude. Paste a DeepSeek key above and this page generates the exact exports for you — same workflow, pay-per-token DeepSeek billing.
Can OpenClaw use my own API key?
Yes — OpenClaw is BYOK-native. Pick your provider during openclaw onboard, or set models.providers.<provider>.apiKey in the OpenClaw config (the tab above generates this for your key). Once one of your keys is set, OpenClaw routes everything through your account and refuses to fall back to a shared pool.
Why does Claude Code reject my OpenAI key?
Claude Code speaks the Anthropic protocol, so a pure OpenAI-protocol key won't work. But several OpenAI-protocol providers — including DeepSeek — also expose an Anthropic-compatible surface; paste such a key above and the Claude Code tab generates the right config automatically. Want one key that covers both protocols with no juggling? BD LLM Token Hub exposes an OpenAI surface and an Anthropic surface under the same key.
What is BD LLM Token Hub?
BigDomain’s own API hub: one prepaid key (prefix bd-sk-) that speaks both the OpenAI surface (/v1/chat/completions, /v1/responses) and the Anthropic surface (/v1/messages), with usage billed in one portal. Live models are bd-ds41-flash, bd-glm53-flash and bd-kimi-k25, plus bd-auto-fast which auto-routes to the most cost-efficient one. Base URL: https://tokenhub-api.bigdomain.my. It is pre-launching to selected users in October 2026 — request early access at bigdomain.my/tokenhub.
What is CC Switch, and do I have to use it?
CC Switch is a macOS menu-bar app that writes the correct config into Claude Code, Claude Desktop, Codex, Grok Build, OpenCode, OpenClaw and Hermes for you — you pick the app, click + Add Provider, choose the Custom preset, paste your base URL, key and model, then hit Add (and ▶ Enable for one-active-at-a-time apps). No, you do not have to use it — every tool here can also be configured by hand-editing its own config file, and this page generates both. Just don’t do both on the same client: CC Switch rewrites the whole config file on every switch, so hand-edits are silently lost. Pick one owner per client.
Where exactly do I get the 350 free points?
From WorkBuddy (Tencent’s AI agent desktop app), not from BD LLM Token Hub. New users who register with the BigDomain code UWAJM9H2 get 350 bonus points on top of the free plan. Download WorkBuddy, sign up, enter the code — that is a WorkBuddy / CodeBuddy promotion. BD LLM Token Hub is a separate product with its own prepaid billing, currently pre-launching to selected users in October 2026.

No key yet? Two ways in.

BD LLM Token Hub — one prepaid key for OpenAI and Anthropic tools, auto-routed models — is pre-launching to selected users in October 2026. Or start today with WorkBuddy free and claim 350 bonus points using code UWAJM9H2.

Request Token Hub access → Bring your own key · OpenAI-compatible · Anthropic-compatible · one prepaid wallet · customer portal for keys & usage
BD LLM Token Hub product page — one API, every flagship LLM, one bill, launching soon with early access
bigdomain.my/tokenhub — one API, every flagship LLM, one bill.