> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Brave Leo

> Connect Brave Leo's Bring Your Own Model settings to Venice's chat completions endpoint for private, browser-native AI chat and page summaries.

[Brave Leo](https://brave.com/leo/) is the AI assistant built into Brave Browser. Leo's Bring Your Own Model (BYOM) feature can connect directly to Venice's OpenAI-compatible chat completions endpoint, letting you use Venice models for chat and page-aware assistance without installing an extension.

> [card] Browser Native
>
> Chat, summarize pages, and explain selected text in Brave

> [card] Direct Connection
>
> Send BYOM requests directly from Brave to Venice

> [card] Privacy Choice
>
> Choose a Venice model with the privacy tier you need

## Prerequisites

* Brave Browser 1.69 or later on Windows, macOS, or Linux
* A Venice API key from [venice.ai/settings/api](https://venice.ai/settings/api?utm_source=venice-api-documentation)
* A model ID from the [Venice text model catalog](https://docs.venice.ai/models/text.md)

> [!NOTE]
>
> Brave's BYOM feature is available on desktop. The model ID must match a Venice model ID exactly.

## Setup

**1. Open Leo settings**

Open `brave://settings/leo-ai`, or open Leo from Brave's sidebar, select the settings icon, and navigate to **Leo**.

**2. Add a custom model**

Scroll to **Bring your own model** and select **Add new model**.

**3. Configure the Venice endpoint**

Enter the following values:

| Field | Value |
| - | - |
| Label | `Venice AI` |
| Model request name | A model ID from the [text model catalog](https://docs.venice.ai/models/text.md) |
| Server endpoint | `https://api.venice.ai/api/v1/chat/completions` |
| API key | Your Venice API key |

If Brave displays **Context size**, set it to the context window supported by your selected model. You can also add an optional system prompt.

Enter the API key itself without a `Bearer` prefix. Brave adds the authorization header to each request.

**4. Save and select Venice**

Select **Add model**, then set **Venice AI** as the default model for new conversations or choose it from Leo's model selector.

**5. Test the connection**

Open Leo on a webpage and send a prompt such as:

```txt theme={"system"}
Summarize this page in five bullet points.
```

Leo sends the conversation and relevant page content directly to the Venice endpoint.

## Enable Venice web search

Brave does not expose Venice-specific request-body parameters in BYOM. To enable Venice web search, append a [model feature suffix](https://docs.venice.ai/api-reference/endpoint/chat/model_feature_suffix.md) to the model ID in **Model request name**:

```txt theme={"system"}
<model-id>:enable_web_search=auto
```

To always enable search and include citations, use:

```txt theme={"system"}
<model-id>:enable_web_search=on&enable_web_citations=true
```

> [!NOTE]
>
> Web search has additional usage-based pricing. See [web search pricing](https://docs.venice.ai/pricing#web-search-and-tools) for current rates.

## Privacy

When you use a remote BYOM endpoint, Brave connects directly to that provider. Requests bypass Brave's servers, so Brave's proxy and server-side retention protections do not apply to those requests.

Venice does not store or log prompt and response content at its proxy. The selected model determines the runtime privacy tier:

* **Private** models use zero-data-retention infrastructure.
* **Anonymized** models hide identifying information from the upstream provider, but the provider can process the prompt.
* **TEE** and **E2EE** models add hardware-backed isolation or client-side encryption where supported.

Check the model's privacy label in the [text model catalog](https://docs.venice.ai/models/text.md) and read [Venice privacy](https://docs.venice.ai/overview/privacy.md) before sending sensitive information.

Brave may keep Leo chat history in local browser storage. You can clear Leo data, use a temporary chat, or disable local chat history in Brave's Leo settings.

## Configuration notes

* Brave requires the full endpoint path: `https://api.venice.ai/api/v1/chat/completions`.
* Model IDs and availability change over time. Copy the current ID from the [text model catalog](https://docs.venice.ai/models/text.md).
* Context size should not exceed the selected model's supported context window.
* Page summaries can send page content to Venice as part of the prompt.
* Remote Venice requests require an internet connection and consume Venice credits or your available DIEM allowance.

## Troubleshooting

> [accordion] 401 or authentication error
>
> Confirm that the key comes from [venice.ai/settings/api](https://venice.ai/settings/api?utm_source=venice-api-documentation). Paste the raw key without `Bearer` and remove any leading or trailing spaces.

> [accordion] Model not found
>
> Copy the model ID exactly from the [text model catalog](https://docs.venice.ai/models/text.md). If you added a feature suffix, first test the model without the suffix.

> [accordion] Network error or no streamed response
>
> Confirm that the server endpoint includes `/api/v1/chat/completions`. Brave Leo expects an OpenAI-compatible streaming response.

> [accordion] Page summaries lack page context
>
> Check Leo's permission to use page content and make sure the current page is accessible to the browser. Internal Brave pages and some protected pages cannot be summarized.

## Resources

> [card] [Brave BYOM Guide](https://support.brave.com/hc/en-us/articles/34070140231821-How-do-I-use-the-Bring-Your-Own-Model-BYOM-with-Brave-Leo)
>
> Official Brave setup and privacy details

> [card] [Venice Text Models](https://docs.venice.ai/models/text.md)
>
> Browse current model IDs and privacy tiers

> [card] [Model Feature Suffixes](https://docs.venice.ai/api-reference/endpoint/chat/model_feature_suffix.md)
>
> Enable web search and other Venice features

> [card] [Generate an API Key](https://docs.venice.ai/guides/getting-started/generating-api-key.md)
>
> Create and securely store a Venice API key


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.