OpenClaw × Byoky

Run Claude Code in OpenClaw — on your own keys.

Claude Code
Codex
Gemini CLI

Use the API keys in your wallet or your Claude Pro/Max subscription.
Keys never leave the wallet.

Start Setupor
Requires the Byoky browser extension v0.9.0+ for Chrome or Firefox.
Two ways to power OpenClaw

The API keys in your wallet

Any of the 13 cloud providers you've added to Byoky — Anthropic, OpenAI, Gemini, xAI and more. OpenClaw calls them through your wallet, so the keys never land in a config file on disk.

You pay your provider directly. Byoky runs no servers.

Your Claude Pro/Max subscription

Already paying for Claude Pro or Max? Connect it to Byoky with a setup token and OpenClaw runs on the same subscription credits you already use in claude.ai. No API credits, no per-token billing.

Anthropic-only — uses your existing plan.

1

Install the Byoky wallet

The browser extension holds your API keys and proxies every request.

Pick your browser:

Open the wallet, set a password, and you're ready. No accounts, no email. OpenClaw reaches the wallet through the local bridge and native messaging, so it needs the desktop browser extension.

2

Add a credential

Two options — pick whichever fits.

Claude Pro/Max setup token — run claude setup-token in your terminal and paste it into Byoky.
Your own API key — add it directly in the wallet.
3

Install Byoky for OpenClaw

One command installs the plugin and its bridge dependency.

openclaw plugins install @byoky/openclaw-plugin

The plugin registers all 15 Byoky providers with OpenClaw and pulls in @byoky/bridge, the tiny local HTTP proxy that lets OpenClaw talk to your wallet. The native messaging host is registered on the next step when you first connect — no extra command.

4

Connect OpenClaw to your wallet

One command connects every provider you have in the wallet.

openclaw models auth login --provider byoky

First run: OpenClaw asks to register the native messaging host (press Enter to accept), then opens your browser so the wallet can approve the connection. Every provider you have in the wallet — Anthropic, OpenAI, Gemini, whatever — gets configured in one shot. The plugin also hands OpenClaw the bridge token from ~/.byoky-bridge/token, which the bridge requires on every request, so there's no key to paste.

Want just one provider? Use --provider byoky-anthropic (or byoky-openai, byoky-gemini, byoky-xai, etc.) instead.

Verify the bridge:

curl -H "x-api-key: $(cat ~/.byoky-bridge/token)" http://127.0.0.1:19283/health
# → {"status":"ok","providers":["anthropic","openai",...]}

Subsequent runs skip the browser tab if the bridge is already live — they just re-use the session.

5

Pick your default model

OpenClaw's onboarding picks a non-Byoky default. Point it at a Byoky model so chat works out of the box.

openclaw models set byoky-anthropic/claude-sonnet-4-6

Swap the model for whichever you actually have a key for: byoky-openai/gpt-5.5, byoky-gemini/gemini-3.6-flash, byoky-xai/grok-3, etc. openclaw models list --all shows every option.

6

Use OpenClaw

That's the whole setup. Run OpenClaw as you normally would — every LLM call routes through your wallet.

Inside OpenClaw, the /byoky command shows bridge status and lists every connected provider:

/byoky

Token usage is tracked in your wallet's Sessions view.

If something doesn't work

Chat hangs on "..." forever

The bridge session got out of sync with the extension (happens after a browser restart or wallet re-lock). Re-run openclaw models auth login --provider byoky — plugin 0.7.7+ detects this and forces a fresh wallet connection.

HTTP 401 "Missing or invalid bridge token"

OpenClaw's Byoky providers don't carry the current bridge token (setups from older plugin versions sent a placeholder). Re-run openclaw models auth login --provider byoky to write it.

"No API key found for provider \"openai\""

OpenClaw is still pointing at the direct openai plugin's default. Run openclaw models set byoky-anthropic/claude-sonnet-4-6 (or another Byoky model) to fix. Optionally openclaw plugins disable openai if you never plan to use it directly.

"invalid x-api-key" from Anthropic (or OpenAI)

The key saved in your wallet is wrong or revoked. Grab a fresh one from the provider's console and paste it into the wallet.

I added a key to the wallet but the chat still says "provider not available"

The bridge snapshotted your providers before you added the key. Re-run openclaw models auth login --provider byoky to refresh the session with the updated provider list.

Fixed the bad credential, but OpenClaw still won’t use that provider

After a credential fails (bad key, expired token, rate limit), OpenClaw puts the provider profile in an in-memory cooldown that persists until the gateway restarts. Restart it with openclaw gateway restart and try again.

Anthropic keeps returning 429 rate_limit_error

Your Anthropic key or Pro/Max subscription is being throttled upstream (the limit is on your Anthropic account, not on Byoky). Switch the chat model to a non-Anthropic Byoky provider, or wait for the window to clear.

Inside OpenClaw, /byoky prints bridge status and connected providers.openclaw logs --follow shows the raw errors if you need to dig deeper.

Available providers

The plugin registers all 15 Byoky providers with OpenClaw:

ProviderOpenClaw IDModels
Anthropicbyoky-anthropicClaude Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.1, Opus 4.7, Sonnet 4.6, Haiku 4.5
OpenAIbyoky-openaiGPT-5.5, GPT-5.4, GPT-5.4 Mini, GPT-5.4 Nano
Google Geminibyoky-geminiGemini 3.6 Flash, 3.8 Flash (2.5 Pro and 2.5 Flash for past users)
xAIbyoky-xaiGrok 3, Grok 3 Mini
DeepSeekbyoky-deepseekDeepSeek V3, R1
Mistralbyoky-mistralMistral Large
Groqbyoky-groqLlama 3.3 70B
Coherebyoky-cohereSet model manually
Perplexitybyoky-perplexitySet model manually
Together AIbyoky-togetherSet model manually
Fireworks AIbyoky-fireworksSet model manually
OpenRouterbyoky-openrouterSet model manually
Azure OpenAIbyoky-azure_openaiSet your deployment name as the model
Ollamabyoky-ollamaSet model manually
LM Studiobyoky-lm_studioSet model manually

How it works

OpenClaw → HTTP → Bridge (localhost:19283) → Native Messaging → Extension → LLM API
                                                                ↑
                                                       Keys live here. Always.
  1. The plugin registers each Byoky provider in OpenClaw, pointing at http://127.0.0.1:19283/<provider>. That bridge is OpenClaw's own: Claude Code's, from byoky-bridge connect, runs beside it on 19280 with its own session.
  2. OpenClaw sends an LLM request to the local bridge, with the bridge token as its API key.
  3. The bridge checks the token and relays the request to your Byoky extension via native messaging.
  4. The extension injects the real API key and calls the provider directly.
  5. The response streams back through the same path.

Everything runs on your machine. No Byoky server sits anywhere in the path.

Ready to try it?

Install the wallet, add a key, and you'll be running Claude or GPT inside OpenClaw in under five minutes.

Run OpenClaw with Byoky — your keys stay in your wallet — Byoky