Get an API key
PhysiClaw works with many LLM providers. Pick one, create an account, and generate an API key. Then add the key to PhysiClaw and choose a provider/model.
| Provider | Where to get the key |
|---|---|
| openai | platform.openai.com/api-keys |
| anthropic | platform.claude.com/settings/keys |
| aistudio.google.com/apikey | |
| qwen | bailian.console.aliyun.com |
| moonshot | platform.moonshot.cn |
Once you have an API key, add it and pick a model:
physiclaw models key <provider> # paste the key when promptedphysiclaw models use <provider/model>For example, run physiclaw models key anthropic, paste your API key, then run physiclaw models use anthropic/claude-sonnet-5 to start using Claude.
Use a Claude subscription
Section titled “Use a Claude subscription”If you subscribe to Claude (Pro or Max) and have Claude Code installed and logged in, you can skip the API key. PhysiClaw runs the agent through claude -p under the hood, on your subscription quota:
physiclaw models use claude-code/claude-sonnet-5Model names are the same as anthropic (e.g. claude-opus-4-8). If you’ve set an anthropic API key, physiclaw models discover claude-code shows the full list.