Skip to main content

Config File Location

OpenClaw uses a JSON configuration file located at ~/.openclaw/openclaw.json.

Basic Configuration

Create or edit the configuration file ~/.openclaw/openclaw.json:

Configuration Reference

Multi-Model Configuration

Configure multiple models and switch between them using /model <id> in chat:

Complete Configuration Example

Full example with model configuration and Telegram channel:
After modifying the config file, restart the Gateway service for changes to take effect: