Skip to content

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.

ProviderWhere to get the key
openaiplatform.openai.com/api-keys
anthropicplatform.claude.com/settings/keys
googleaistudio.google.com/apikey
qwenbailian.console.aliyun.com
moonshotplatform.moonshot.cn

Once you have an API key, add it and pick a model:

bash
physiclaw models key <provider> # paste the key when prompted
physiclaw 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.

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:

bash
physiclaw models use claude-code/claude-sonnet-5

Model 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.