Custom Models
YouClaw currently supports Claude-format custom model APIs only. You can use the official Anthropic endpoint directly, or any proxy or gateway that is compatible with the Claude Messages API.
Supported Scope
- Claude-format APIs only
- Use a Claude model ID such as
claude-sonnet-4-6 - OpenAI Chat Completions, Responses, and Gemini-style APIs are not supported yet
How to Fill Base URL
Fill in the Base URL prefix only. Do not include /v1/messages.
Correct examples:
https://api.anthropic.comhttps://your-proxy.example.com
Incorrect examples:
https://api.anthropic.com/v1/messageshttps://your-proxy.example.com/v1/messages
Configure It in YouClaw
- Open YouClaw Settings > Models
- Click Add Custom Model
- Enter a display name
- Enter a model ID such as
claude-sonnet-4-6 - Enter your API Key
- Enter the
Base URLprefix; if you use Anthropic directly, you can also leave it empty - Save it and set it as the default model
Why /v1/messages Must Not Be Included
YouClaw automatically appends the Claude request path. If /v1/messages is already included in the Base URL, the final request URL becomes duplicated and the call will fail.
FAQ
Can I use OpenAI-compatible APIs?
Not at the moment. Custom models support Claude-format APIs only.
Can I use a proxy service?
Yes, as long as the service is compatible with the Claude Messages API and follows Anthropic's request format.