Back to Resources

WealthGuide / Resources

FreeLLMAPI Usage Guide

Chat using your own model provider API key through the WealthGuide hosted gateway.

Start configuring

1. Configure your own model key

Go to Chat → Model menu → Manage models:

  1. Select a supported provider and enter your own API key.
  2. Enable the provider and the models you want to use.
  3. Check “Allow the hosted gateway to use my saved key for this provider”.
  4. Click “Save configuration”.

2. Add the hosted gateway

In model management:

  1. Click “Add provider / local model”.
  2. Select “Add hosted BYOK gateway”.
  3. Enable it and save.
  4. Refresh the gateway status, confirm the available models, then test the connection.

In-app use does not require a gateway URL or an access key. Testing the connection calls a model and consumes quota.

3. Use it in Chat

Choose from the model menu:

  • BYOK Auto: automatically selects from the models you have authorized.
  • BYOK Fast: favors faster responses.
  • BYOK Smart: favors complex analysis.

You can also use system Auto / AutoList, which selects from all enabled candidates. To use only your own gateway model pool, explicitly choose BYOK Auto.

4. Connect external applications

Generate an access key in the gateway panel:

  • The key is shown only once. Store it securely.
  • Keys generated in the interface expire after 30 days and can be revoked at any time.
  • Base URL: your website backend URL plus /api/byok-gateway/v1.
  • Only non-streaming text requests are currently supported. POST requests must include Idempotency-Key.

Do not send access keys or upstream API keys in chat.

Current support and limitations

  • The isolated FreeLLMAPI engine supports Gemini, OpenAI, DeepSeek, Qwen, and Moonshot.
  • The panel shows the engines actually enabled by the administrator.
  • Full catalog auto-sync, external streaming output, tool calling, and media generation are not yet supported.
  • Credentials are isolated by account; the gateway does not automatically use another user’s or the platform’s keys.
  • Free plans and commercial usage rights are subject to each provider’s terms.