Skip to main content
Have an API key from the ViVi-API dashboard ready, and confirm that its group supports your chosen model. Back up any existing configuration before merging the fields below.

1. Locate the configuration file

If you configured a custom directory, use that location instead.

2. Add the ViVi-API provider

This example uses the OpenAI-compatible Chat Completions protocol. Replace apiKey with your key and keep only the models your group can access.
openclaw.json
You can configure multiple models under one provider if they all support the selected protocol. To switch models in chat, use the full model reference:

3. Understand the settings

A Gemini model does not necessarily require the native Gemini protocol. The complete example above uses OpenAI compatibility, so its URL ends in /v1. For a native protocol, add a separate provider and update api, baseUrl, and the default model reference together.

4. Restart the Gateway

Save the configuration, then run:
Send a short test message after restarting, then switch models as needed. See the Integration overview and FAQ for more help.