Use Cherry Studio with TokenMaster

Cherry Studio is a desktop AI chat client for Windows, macOS and Linux. Add TokenMaster as a custom provider to chat with any model on your TokenMaster balance.

You will need

  • An API key starting with tm- (Console → API keys) — Get an API key
  • Base URL: https://tokenmaster.store/v1
  • A model ID, e.g. anthropic/claude-sonnet-5.5 (see the model list)

Setup

  1. Open Settings → Model Services → Add Provider. Enter a name such as TokenMaster and set Provider Type to OpenAI.
  2. Paste your tm-… key into API Key and enter https://tokenmaster.store in API Host. The preview line below should show https://tokenmaster.store/v1/chat/completions.
  3. Click Check to test the connection.
  4. Click Sync models to load the model list from TokenMaster, or Add Model and type an ID such as anthropic/claude-sonnet-5.5. Keep each model's Endpoint Type on OpenAI, not OpenAI-Response.
  5. Switch the provider on, start a chat and pick a TokenMaster model at the top.

Good to know

  • Both https://tokenmaster.store and https://tokenmaster.store/v1 work — Cherry Studio adds /v1 when it is missing. Ending the address with # tells it to use the address exactly as typed.
  • For the knowledge base, add baai/bge-m3 (multilingual) as a model and choose it as the embedding model in the knowledge base settings. Image generation needs a different provider.
  • Not available through TokenMaster: image generation, speech, rerank, the Assistants API, and OpenAI-hosted tools. Chat Completions, the Responses API (stateless), the Anthropic Messages API and embeddings are available.

Checked against Cherry Studio 2.1 on 2026-10-19. Menu names can change between versions.

Troubleshooting

  • 401 / invalid API key — check the key was copied in full and has not been deleted in the console.
  • 404 — the base URL is wrong. It must end in /v1 unless the guide says otherwise.
  • Model not found / not available — use the exact ID from the model list (vendor/model, lowercase). Some vendors are not available in every region.
  • Errors mentioning /responses — the tool is using OpenAI's Responses API. TokenMaster accepts it, but statelessly (no previous_response_id) and without OpenAI-hosted tools; if the tool relies on those, switch it to Chat Completions as noted above.
  • 402 / insufficient balance — top up in the console; requests are refused rather than run up a debt.

Chat apps

All integration guides → · All model prices →