OAuth vs API key whats the difference

OpenClaw supports both:
OAuth often leverages subscription access (where applicable).
API keys use pay‑per‑token billing.
The wizard explicitly supports Anthropic setup-token and OpenAI Codex OAuth and can store API keys for you.