Configure BYOK

BYOK keeps billing and compliance with your provider. WriteX forwards requests from your machine.

Before you start

Obtain an API key or gateway URL; ensure your network allows the endpoint. Provider walkthroughs: Docs · Get an API Key.

Steps

  1. Open Settings → Model / Provider.
  2. Choose an official provider (e.g. DeepSeek, Xiaomi MiMo, OpenAI) or OpenAI-compatible / custom with your Base URL.
  3. Paste the API key and save (encrypted locally).
  4. Send a test prompt in the agent.
  5. Set assistant output language separately from UI language if needed.

Tips and best practices

Never commit keys to Git. Rotate keys in the provider console when staff changes.