WorkBuddy custom model setup

WorkBuddy is Tencent’s desktop AI agent for office work. Add a Custom API model and it runs on TokenMilo’s Claude and GPT.

Updated 2026-11-16

1. Get an API key

Sign up in the TokenMilo console, top up and create a key under API Keys.

2. Add a custom model

  1. Open WorkBuddy and go to avatar → Settings → Models.
  2. Click Add model and choose Custom API.
  3. Fill in the fields below, tick Tool calling, click Test connection, then save.
FieldValue
Base URLhttps://api.tokenmilo.com/v1
API keyYour TokenMilo key
Model nameclaude-sonnet-5-5 (or claude-opus-5-5, gpt-6.1-sol)

Add the model several times with different names to switch between them. See the model list for all IDs and prices.

FAQ

Which base URL should I use?

Use https://api.tokenmilo.com/v1; WorkBuddy appends /chat/completions itself. If you turn on the custom-protocol switch or edit models.json by hand, use the full https://api.tokenmilo.com/v1/chat/completions with no trailing slash.

Can I use Claude if WorkBuddy only supports the OpenAI protocol?

Yes. TokenMilo serves Claude models over the OpenAI-compatible API, so just enter claude-sonnet-5-5 as the model name.

The model is greyed out or shows error 4100

The URL or key is missing. Edit the model and fill both in.

Agent tasks do nothing or fail

Tick “Tool calling” when adding the model; WorkBuddy’s agent tasks depend on it.

Related guides

Need an API key?

Sign up at TokenMilo, top up, and create a key in the console in under a minute.

Get API key See all models