xCloudxCloudDownload
Configuration

API Keys

Connect model providers, Codex, Copilot, and remote auth profiles.

xCloud uses OpenClaw for model providers. Some providers use API keys. Others use a login profile.

The most important distinction: an OpenAI API key and an OpenAI Codex login are not the same thing.

Provider Types

Provider typeExampleHow it authenticates
API key providerAnthropic, OpenAI API, Google, GroqPaste an API key
Account login providerOpenAI Codex, GitHub CopilotBrowser/login flow
Local providerOllamaLocal server, usually no key
Remote engine providerAny of the aboveStored on the active engine

OpenAI API vs OpenAI Codex

OptionUse whenNotes
OpenAI APIYou have an OpenAI platform API keyBilled through API usage
OpenAI CodexYou want to use your Codex/ChatGPT account accessUses an auth profile, not the API key field

If a user connects OpenAI API, they should select OpenAI API models. If they connect OpenAI Codex, they should select OpenAI Codex models.

Add An API Key

  1. Go to Settings > API Keys.
  2. Select the provider.
  3. Paste the key.
  4. Save.
  5. Go to Settings > Models and choose a model from that provider.

Keys are written into the OpenClaw config for the active engine.

Remote Engines

When using a PC or VPS engine, keys and auth profiles need to be available to that engine.

That means:

  • A key saved while Local is active belongs to Local.
  • A key saved while VPS is active belongs to the VPS engine.
  • Switching engines changes which keys and auth profiles are visible.

Verify A Provider

After saving credentials:

  1. Open Settings > Models.
  2. Search for the provider.
  3. Select a model.
  4. Send a short test message.

If the request fails, check the active engine, key value, provider balance, and model name.

Common Problems

ProblemCauseFix
Model appears but failsKey is missing or invalid on the active engineSave the key again while that engine is active
Codex does not use OpenAI API keyCodex uses account auth, not API key authUse the OpenAI Codex login flow
Works locally but not on VPSCredentials were saved only locallySave credentials while VPS is active
Provider says unauthorizedWrong key, expired key, or wrong provider selectedRe-create the key and select the matching model provider