| 1 | --- |
| 2 | title: "Lemonade Server" |
| 3 | description: "Configure Lemonade Server with Continue for refreshingly fast local LLM inference on GPUs and NPUs" |
| 4 | --- |
| 5 | |
| 6 | <Info> |
| 7 | Get started with [Lemonade Server](https://lemonade-server.ai/) - Refreshingly fast LLMs on GPUs and NPUs with seamless Continue integration |
| 8 | </Info> |
| 9 | |
| 10 | ## Overview |
| 11 | |
| 12 | Lemonade Server provides optimized local LLM inference with support for GPU and NPU hardware acceleration. It offers an OpenAI-compatible API that seamlessly integrates with Continue and other open-source platforms. |
| 13 | |
| 14 | ## Installation |
| 15 | |
| 16 | Download and install Lemonade Server from [lemonade-server.ai](https://lemonade-server.ai/). |
| 17 | |
| 18 | ## Configuration |
| 19 | |
| 20 | Lemonade Server is available directly in the Continue UI as a provider. You can select it from the model provider dropdown without manual configuration. |
| 21 | |
| 22 | ### Option 1: Using the Continue UI (Recommended) |
| 23 | |
| 24 | 1. Click on the model selector dropdown in Continue |
| 25 | 2. Select "Add Model" |
| 26 | 3. Choose "Lemonade Server" from the provider list |
| 27 | 4. Continue will automatically configure the connection |
| 28 | |
| 29 | ### Option 2: Manual Configuration |
| 30 | |
| 31 | If you need custom settings, you can manually configure Lemonade: |
| 32 | |
| 33 | <Tabs> |
| 34 | <Tab title="YAML"> |
| 35 | ```yaml title="config.yaml" |
| 36 | models: |
| 37 | - name: Lemonade |
| 38 | provider: lemonade |
| 39 | model: <MODEL_NAME> |
| 40 | apiBase: http://localhost:8000/api/v1/ |
| 41 | ``` |
| 42 | </Tab> |
| 43 | <Tab title="JSON (Deprecated)"> |
| 44 | ```json title="config.json" |
| 45 | { |
| 46 | "models": [ |
| 47 | { |
| 48 | "title": "Lemonade", |
| 49 | "provider": "lemonade", |
| 50 | "model": "<MODEL_NAME>", |
| 51 | "apiBase": "http://localhost:8000/api/v1/" |
| 52 | } |
| 53 | ] |
| 54 | } |
| 55 | ``` |
| 56 | </Tab> |
| 57 | </Tabs> |
| 58 | |
| 59 | ## Getting Started |
| 60 | |
| 61 | 1. **Install Lemonade Server**: Download from [lemonade-server.ai](https://lemonade-server.ai/) |
| 62 | 2. **Start the server**: Launch Lemonade Server (runs on `http://localhost:8000/api/v1/` by default) |
| 63 | 3. **Add to Continue**: Select Lemonade Server from the model provider dropdown in Continue |
| 64 | 4. **Load a model**: Choose your preferred model through the interface |
| 65 | |
| 66 | ## Hardware Support |
| 67 | |
| 68 | Lemonade Server automatically detects and optimizes for available hardware: |
| 69 | - **NPU**: Neural Processing Unit acceleration for efficient inference |
| 70 | - **GPU**: Full GPU acceleration support |
| 71 | - **CPU**: Optimized CPU fallback when accelerators are unavailable |
| 72 | |
| 73 | ## Key Features |
| 74 | |
| 75 | - OpenAI-compatible API for seamless integration |
| 76 | - Support for popular model formats |
| 77 | - Automatic hardware detection and optimization |
| 78 | - Integration with Continue, Open WebUI, Gaia, and AnythingLLM |
| 79 | - Active open-source community |
| 80 | |
| 81 | [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/Lemonade.ts) |