# FAQ: providers, hardware, and hosting

> FAQ: provider auth and limits, model choice, hardware, and where to run the Gateway

- 网址：https://funcoding.ai/agents/openclaw/help/faq-first-run/providers-and-hosting/
- 来源：OpenClaw 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.openclaw.ai/zh-CN/help/faq-first-run/providers-and-hosting

---
Provider auth, model, hardware, and hosting Q&A. For install, onboarding, and
first-run failures see
[FAQ: quick start and first-run setup](https://funcoding.ai/agents/openclaw/help/faq-first-run/quick-start/).

<a id="why-am-i-seeing-http-429-ratelimiterror-from-anthropic"></a>

<details>
<summary>Why am I seeing HTTP 429 rate_limit_error from Anthropic?</summary>

Your **Anthropic quota/rate limit** is exhausted for the current window. On **Claude
CLI**, wait for the window to reset or upgrade your plan. On an **Anthropic API key**,
check usage/billing in the Anthropic Console and raise limits as needed.

If the message is specifically `Extra usage is required for long context requests`,
the request is trying to use Anthropic's 1M context window (a GA-capable 1M Claude 4.x
model, or legacy `params.context1m: true` config), and your current credential is not
eligible for long-context billing.

Set a **fallback model** so OpenClaw keeps replying while a provider is rate-limited.
See [Models](https://funcoding.ai/agents/openclaw/cli/models/), [OAuth](https://funcoding.ai/agents/openclaw/concepts/oauth/), and
[Anthropic 429 extra usage required for long context](https://funcoding.ai/agents/openclaw/gateway/troubleshooting/#anthropic-429-extra-usage-required-for-long-context).

</details>

<details>
<summary>Is AWS Bedrock supported?</summary>

Yes. OpenClaw has a bundled **Amazon Bedrock (Converse)** provider. With AWS env
markers present (`AWS_ACCESS_KEY_ID`, `AWS_PROFILE`, `AWS_BEARER_TOKEN_BEDROCK`),
OpenClaw auto-enables the implicit Bedrock provider for model discovery; otherwise
set `plugins.entries.amazon-bedrock.config.discovery.enabled: true` or add a manual
provider entry. See [Amazon Bedrock](https://funcoding.ai/agents/openclaw/providers/bedrock/) and [Model providers](https://funcoding.ai/agents/openclaw/providers/models/).
An OpenAI-compatible proxy in front of Bedrock is still a valid option if you prefer a managed key flow.

</details>

<details>
<summary>How does Codex auth work?</summary>

OpenClaw supports **OpenAI Codex** via OAuth (ChatGPT sign-in). A fresh
setup with no primary model uses exact `openai/gpt-6-astra` for
ChatGPT/Codex subscription auth plus native Codex app-server execution.
Reauthentication preserves an existing explicit model, including
`openai/gpt-5.5`. If the Codex workspace does not expose GPT-5.6, select
`openai/gpt-5.5` explicitly; OpenClaw does not silently downgrade. Legacy
Codex-prefixed model refs are legacy config repaired by `openclaw doctor
--fix`. Direct OpenAI API-key access remains available for non-agent OpenAI
API surfaces and, through an ordered `openai` API-key profile, for agent
models too. See [Model providers](https://funcoding.ai/agents/openclaw/concepts/model-providers/) and
[Onboarding (CLI)](https://funcoding.ai/agents/openclaw/start/wizard/).

</details>

<details>
<summary>Why does OpenClaw still mention legacy OpenAI Codex prefix?</summary>

`openai` is the current provider and auth-profile id for both OpenAI API keys and
ChatGPT/Codex OAuth - OpenAI Codex is folded into it. You may still see a legacy
`openai-codex` prefix in older config and migration warnings:

- `openai/gpt-6-astra` = fresh ChatGPT/Codex subscription setup with the native Codex runtime for agent turns.
- `openai/gpt-5.5` = explicit supported selection for existing config or accounts without GPT-5.6 access.
- Legacy `openai-codex/*` model refs = legacy route repaired by `openclaw doctor --fix`.
- `openai/gpt-5.5` plus an ordered `openai` API-key profile = API-key auth for an OpenAI agent model.
- Legacy `openai-codex` auth profile ids = legacy ids migrated by `openclaw doctor --fix`.

Want direct OpenAI Platform billing? Set `OPENAI_API_KEY`. Want ChatGPT/Codex
subscription auth? Run `openclaw models auth login --provider openai`. Keep
model refs under the canonical `openai/*` provider. Fresh subscription
setup uses exact `openai/gpt-6-astra`; doctor repairs legacy Codex-prefixed
refs without upgrading an explicit `openai/gpt-5.5` selection.

</details>

<details>
<summary>Why can Codex OAuth limits differ from ChatGPT web?</summary>

Codex OAuth uses OpenAI-managed, plan-dependent quota windows that can differ from the
ChatGPT website/app experience, even on the same account.

`openclaw models status` shows the currently visible provider usage/quota windows, but
does not invent or normalize ChatGPT-web entitlements into direct API access. For the
direct OpenAI Platform billing/limit path, use `openai/*` with an API key.

</details>

<details>
<summary>Do you support OpenAI subscription auth (Codex OAuth)?</summary>

Yes, fully. OpenAI explicitly allows subscription OAuth usage in external
tools/workflows like OpenClaw. Onboarding can run the OAuth flow for you.

See [OAuth](https://funcoding.ai/agents/openclaw/concepts/oauth/), [Model providers](https://funcoding.ai/agents/openclaw/concepts/model-providers/), and [Onboarding (CLI)](https://funcoding.ai/agents/openclaw/start/wizard/).

</details>

<details>
<summary>Can I use Gemini CLI or Antigravity OAuth?</summary>

OpenClaw does not offer new Gemini CLI OAuth or Antigravity OAuth setup.
Connect Google with an AI Studio API key or Vertex AI instead.

The optional `google-gemini-cli` runtime remains available for advanced
setups using a supported Google API-key profile. Existing valid legacy
Gemini CLI OAuth profiles remain executable for compatibility, but OpenClaw
cannot create or repair them.

Details: [Google](https://funcoding.ai/agents/openclaw/providers/google/), [Model providers](https://funcoding.ai/agents/openclaw/concepts/model-providers/).

</details>

<details>
<summary>Is a local model OK for casual chats?</summary>

Usually no. OpenClaw needs large context + strong safety; small cards truncate context
and skip provider-side safety filters. If you must, run the **largest** model build you
can locally (LM Studio) - see [Local models](https://funcoding.ai/agents/openclaw/gateway/local-models/). Smaller/quantized
models raise prompt-injection risk - see [Security](https://funcoding.ai/agents/openclaw/gateway/security/).

</details>

<details>
<summary>How do I keep hosted model traffic in a specific region?</summary>

Pick region-pinned endpoints. OpenRouter exposes US-hosted options for MiniMax, Kimi,
and GLM; choose the US-hosted variant to keep data in-region. You can still list
Anthropic/OpenAI alongside these with `models.mode: "merge"` so fallbacks stay
available while respecting the regioned provider you select.

</details>

<details>
<summary>Do I have to buy a Mac Mini to install this?</summary>

No. OpenClaw runs on macOS or Linux (Windows via WSL2). A Mac mini is a popular
always-on host choice, but a small VPS, home server, or Raspberry Pi-class box works too.

You only need a Mac **for macOS-only tools**. For iMessage, use [iMessage](https://funcoding.ai/agents/openclaw/channels/imessage/)
with `imsg` on any Mac signed into Messages - if the Gateway runs on Linux or elsewhere,
set `channels.imessage.cliPath` to an SSH wrapper that runs `imsg` on that Mac. For other
macOS-only tools, run the Gateway on a Mac or pair a macOS node.

Docs: [iMessage](https://funcoding.ai/agents/openclaw/channels/imessage/), [Nodes](https://funcoding.ai/agents/openclaw/nodes/), [Mac remote mode](https://funcoding.ai/agents/openclaw/platforms/mac/remote/).

</details>

<details>
<summary>Do I need a Mac mini for iMessage support?</summary>

You need **some macOS device** signed into Messages - not necessarily a Mac mini, any
Mac works. Use [iMessage](https://funcoding.ai/agents/openclaw/channels/imessage/) with `imsg`; the Gateway can run on that
Mac, or elsewhere with an SSH wrapper `cliPath`.

Common setups:

- Gateway on Linux/VPS, `channels.imessage.cliPath` set to an SSH wrapper that runs `imsg` on a Mac signed into Messages.
- Everything on one Mac for the simplest single-machine setup.

Docs: [iMessage](https://funcoding.ai/agents/openclaw/channels/imessage/), [Nodes](https://funcoding.ai/agents/openclaw/nodes/), [Mac remote mode](https://funcoding.ai/agents/openclaw/platforms/mac/remote/).

</details>

<details>
<summary>If I buy a Mac mini to run OpenClaw, can I connect it to my MacBook Pro?</summary>

Yes. The **Mac mini can run the Gateway**, and your MacBook Pro connects as a **node**
(companion device). Nodes do not run the Gateway - they add capabilities like
screen/camera and `system.run` on that device. A Mac node can also present
hosted widgets in its native panel.

Common pattern: Gateway on the always-on Mac mini; MacBook Pro runs the macOS app or a
node host and pairs to the Gateway. Check with `openclaw nodes status` / `openclaw nodes list`.

Docs: [Nodes](https://funcoding.ai/agents/openclaw/nodes/), [Nodes CLI](https://funcoding.ai/agents/openclaw/cli/nodes/).

</details>

<details>
<summary>Can I use Bun?</summary>

Yes. Node remains the primary, default, and recommended runtime, but Bun 1.4+
with WAL-reset-safe `node:sqlite` can run the CLI, Gateway, and managed node
host as an explicit opt-in. Bun can also run package scripts; use
`pnpm install` for dependency installation.

</details>

<details>
<summary>Telegram: what goes in allowFrom?</summary>

`channels.telegram.allowFrom` is the **human sender's Telegram user ID** (numeric),
not the bot username. Setup asks for numeric user IDs only; `openclaw doctor --fix`
can try to resolve legacy `@username` entries.

Safer (no third-party bot): DM your bot, run `openclaw logs --follow`, read `from.id`.

Official Bot API: DM your bot, call `https://api.telegram.org/bot<bot_token>/getUpdates`, read `message.from.id`.

Third-party (less private): DM `@userinfobot` or `@getidsbot`.

See [Telegram access control](https://funcoding.ai/agents/openclaw/channels/telegram/#access-control-and-activation).

</details>

<details>
<summary>Can multiple people use one WhatsApp number with different OpenClaw instances?</summary>

Yes, via **multi-agent routing**. Bind each sender's WhatsApp DM (`peer: { kind: "direct", id: "+15551234567" }`) to a different `agentId`, giving each person their own workspace and session store. Replies still come from the **same WhatsApp account**; DM access control (`channels.whatsapp.dmPolicy` / `channels.whatsapp.allowFrom`) is global per account. See [Multi-Agent Routing](https://funcoding.ai/agents/openclaw/concepts/multi-agent/) and [WhatsApp](https://funcoding.ai/agents/openclaw/channels/whatsapp/).

</details>

<details>
<summary>Can I run a "fast chat" agent and an "Opus for coding" agent?</summary>

Yes. Use multi-agent routing: give each agent its own default model, then bind inbound
routes (provider account or specific peers) to each agent. Example config:
[Multi-Agent Routing](https://funcoding.ai/agents/openclaw/concepts/multi-agent/). See also [Models](https://funcoding.ai/agents/openclaw/concepts/models/) and
[Configuration](https://funcoding.ai/agents/openclaw/gateway/configuration/).

</details>

<details>
<summary>Does Homebrew work on Linux?</summary>

Yes, via Linuxbrew:

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install <formula>
```

Running OpenClaw via systemd: make sure the service PATH includes
`/home/linuxbrew/.linuxbrew/bin` (or your brew prefix) so `brew`-installed tools
resolve in non-login shells. Recent builds also prepend common user bin dirs on Linux
systemd services (for example `~/.local/bin`, `~/.npm-global/bin`,
`~/.local/share/pnpm`, `~/.bun/bin`) and honor `PNPM_HOME`, `NPM_CONFIG_PREFIX`,
`BUN_INSTALL`, `VOLTA_HOME`, `ASDF_DATA_DIR`, `NVM_DIR`, and `FNM_DIR` when set.

</details>

<details>
<summary>Difference between the hackable git install and npm install</summary>

- **Hackable (git) install:** full source checkout, editable, best for contributors. You build locally and can patch code/docs.
- **npm install:** global CLI install, no repo, best for "just run it." Updates come from npm dist-tags.

Docs: [Getting started](https://funcoding.ai/agents/openclaw/start/getting-started/), [Updating](https://funcoding.ai/agents/openclaw/install/updating/).

</details>

<details>
<summary>Can I switch between npm and git installs later?</summary>

Yes, with `openclaw update --channel ...` on an existing install. This does **not
delete your data** - only the OpenClaw code install changes. State (`~/.openclaw`) and
workspace (`~/.openclaw/workspace`) stay untouched.

npm to git:

```bash
openclaw update --channel dev
```

git to npm:

```bash
openclaw update --channel stable
```

Add `--dry-run` to preview the planned mode switch first. The updater runs Doctor
follow-ups, refreshes plugin sources for the target channel, and restarts the gateway
unless you pass `--no-restart`.

The installer can force either mode too:

```bash
curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install.sh | bash -s -- --install-method git
curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install.sh | bash -s -- --install-method npm
```

Backup tips: [Where things live on disk](https://funcoding.ai/agents/openclaw/help/faq/#where-things-live-on-disk).

</details>

<details>
<summary>Should I run the Gateway on my laptop or a VPS?</summary>

Want 24/7 reliability? Use a **VPS**. Want the lowest friction and you are OK with
sleep/restarts? Run it locally.

**Laptop (local Gateway)**

- **Pros:** no server cost, direct access to local files, a live browser window.
- **Cons:** sleep/network drops disconnect it, OS updates/reboots interrupt it, must stay awake.

**VPS / cloud**

- **Pros:** always-on, stable network, no laptop sleep issues, easier to keep running.
- **Cons:** often headless (use screenshots), remote file access only, SSH needed for updates.

WhatsApp/Telegram/Slack/Mattermost/Discord all work fine from a VPS - the real
trade-off is headless browser vs a visible window. See [Browser](https://funcoding.ai/agents/openclaw/tools/browser/).

Default recommendation: VPS if you have had gateway disconnects before; local is great
when you are actively using the Mac and want local file access or visible-browser UI
automation.

</details>

<details>
<summary>How important is it to run OpenClaw on a dedicated machine?</summary>

Not required, but recommended for reliability and isolation.

- **Dedicated host (VPS/Mac mini/Raspberry Pi):** always-on, fewer sleep/reboot interruptions, cleaner permissions, easier to keep running.
- **Shared laptop/desktop:** fine for testing and active use, but expect pauses when the machine sleeps or updates.

Best of both worlds: keep the Gateway on a dedicated host and pair your laptop as a
**node** for local screen/camera/exec tools. See [Nodes](https://funcoding.ai/agents/openclaw/nodes/) and [Security](https://funcoding.ai/agents/openclaw/gateway/security/).

</details>

<details>
<summary>What are the minimum VPS requirements and recommended OS?</summary>

- **Absolute minimum:** 1 vCPU, 1 GB RAM, ~500 MB disk.
- **Recommended:** 1-2 vCPU, 2 GB+ RAM for headroom (logs, media, multiple channels). Node tools and browser automation can be resource hungry.

OS: **Ubuntu LTS** (or any modern Debian/Ubuntu) - the best-tested Linux install path.

Docs: [Linux](https://funcoding.ai/agents/openclaw/platforms/linux/), [VPS hosting](https://funcoding.ai/agents/openclaw/vps/).

</details>

<details>
<summary>Can I run OpenClaw in a VM and what are the requirements?</summary>

Yes. Treat a VM like a VPS: it needs to be always on, reachable, and have enough RAM
for the Gateway and any channels you enable.

- **Absolute minimum:** 1 vCPU, 1 GB RAM.
- **Recommended:** 2 GB+ RAM for multiple channels, browser automation, or media tools.
- **OS:** Ubuntu LTS or another modern Debian/Ubuntu.

On Windows, use **Windows Hub** for desktop setup, or WSL2 for a Linux-style Gateway VM
with broad tooling compatibility. See [Windows](https://funcoding.ai/agents/openclaw/platforms/windows/), [VPS hosting](https://funcoding.ai/agents/openclaw/vps/).
Running macOS in a VM: see [macOS VM](https://funcoding.ai/agents/openclaw/install/macos-vm/).

</details>
