← Back to Support Overview

NETVARA KNOWLEDGE BASE

Configuring Netvara Client with Lemonade

Configuring Netvara Client with Lemonade

Overview

Lemonade provides local model serving with support for accelerated NPU and APU hardware. The Netvara Client connects to the local Lemonade API and makes its available models accessible through the local Netvara gateway.

Prerequisites

  • Netvara Client installed and paired
  • Lemonade installed and running locally
  • At least one Lemonade model available
  • The Lemonade URL, normally http://127.0.0.1:13305
  • An API key if your Lemonade deployment requires authentication

Step-by-Step Instructions

1. Start Lemonade using its normal launch method.
2. Confirm the local server URL. The default is:

   http://127.0.0.1:13305

3. Run the Netvara setup wizard, or edit ~/.netvara-client/backend_config.json.
4. Add or update the lemonade entry:

   {
     "lemonade": {
       "base_url": "http://127.0.0.1:13305",
       "api_key": "YOUR_LEMONADE_API_KEY"
     }
   }

Omit api_key when Lemonade does not require authentication. Preserve other backend entries in the file.

5. Alternatively, set environment variables before starting the client:

   export NETVARA_LEMONADE_URL="http://127.0.0.1:13305"
   export NETVARA_LEMONADE_API_KEY="YOUR_LEMONADE_API_KEY"

The API key variable can be omitted when authentication is disabled.

6. Restart the Netvara Client after changing the configuration. Lemonade is especially useful on systems with supported NPU or APU acceleration, so check that the backend is configured to use the accelerator when available.

Verification

Query the Netvara gateway with the local authentication token:

curl -H "Authorization: Bearer $(cat ~/.netvara-client/local_api_key)" \
  http://127.0.0.1:8091/v1/models

The response should include the models available from Lemonade. Send a small test request through an OpenAI-compatible client configured with http://127.0.0.1:8091/v1 as its base URL.

Troubleshooting & Common Questions

Netvara cannot reach Lemonade. Confirm Lemonade is running and that the configured URL includes the correct host and port. Test the URL locally before restarting the client.

The server returns 401 Unauthorized. Set api_key in the lemonade configuration or export NETVARA_LEMONADE_API_KEY, then restart the client.

Models are not listed. Confirm that Lemonade has a model available and that its model endpoint returns successfully. Check for spelling errors in the configured URL.

How do I use NPU or APU acceleration? Configure Lemonade according to its hardware-specific instructions and verify that Lemonade itself reports the accelerator as active. Netvara uses the models exposed by the running Lemonade server.

Where should I point my application? Use http://127.0.0.1:8091/v1 and authenticate with the token stored at ~/.netvara-client/local_api_key.

← Back to Support Overview