# AI Features

Tabhive includes AI-powered features to help you organize your tabs more efficiently, including smart tab save, group name suggestions, and AI tags and summaries.

## AI Search Limits by Plan

* **Free plan** - 5 AI searches per day
* **Pro plan** - Unlimited AI searches (built-in, no API key required)
* **Lifetime plan** - Unlimited AI searches with BYOK (Bring Your Own Key)

## Bring Your Own Key (BYOK)

Free and Lifetime plans use a BYOK model for AI features, which means:

* **You use your own API keys** - Supports OpenAI and OpenRouter API keys
* **Full control** - You manage your AI usage and costs directly with your own AI provider account
* **Secure storage** - Your API key is encrypted at rest in our database and only used for AI features
* **Free plan limit** - Free users are limited to 5 AI searches per day, even with BYOK
* **Note** - Pro plans have unlimited AI searches built-in and do not require BYOK

### Setting Up Your API Key (Free and Lifetime Plans)

**Note:** Free and Lifetime users can configure an API key. Free users remain limited to 5 AI searches per day, while Lifetime users get unlimited AI searches. Pro plan users have AI features built-in and do not need to configure an API key.

1. Open Tabhive settings
2. Navigate to the **AI** tab
3. Choose your AI provider:
   * **OpenAI** - Enter your OpenAI API key
   * **OpenRouter** - Enter your OpenRouter API key and model ID
4. For OpenAI, get your API key from the [OpenAI Platform](https://platform.openai.com/api-keys)
5. For OpenRouter, get your API key from [OpenRouter Keys](https://openrouter.ai/keys)
6. If you choose OpenRouter, enter the **model ID** exactly as it appears on OpenRouter
   * Example: `google/gemma-4-31b-it:free`
   * Tabhive checks that the model exists and supports the AI features used by the app
7. Click **Save Key**

Your API key will be masked for security (only the last 4 characters are visible). You can update or delete your API key at any time from the settings.

<Callout type="info">
  For Free and Lifetime plan users: Once you add your API key, AI group name suggestions will be enabled. Free users remain limited to 5 AI searches per day. You can remove the key at any time to disable this feature.
</Callout>

## Group Name Suggestions

When creating a group from open tabs, AI can automatically suggest a descriptive name based on the tabs you're grouping.

### How It Works

The AI analyzes:

* **URLs and domains** - Identifies common themes from website domains
* **Tab titles** - Considers the content of each tab
* **Context** - Determines the most appropriate category

### Using Group Name Suggestions

1. In the window tabs section, click the `+` icon
2. Click the AI suggestion button
3. The AI will analyze your selected tabs and suggest a group name
4. You can accept the suggestion or modify it

### Example Suggestions

* Tabs from news websites → "News"
* Shopping sites → "Shopping"
* Social media platforms → "Social Media"
* Development tools → "Development"

The AI suggests concise, one-word categories that best describe your tab collection. If no common theme is found, it will suggest a default name like "Session \[Date]".

## Smart Tab Save

Save tabs instantly with AI-powered organization. The smart tab save feature automatically selects the best space and group for your current tab, eliminating the need to manually browse and choose where to save it.

### How It Works

When you save a tab using the command menu, AI analyzes:

* **Tab title** - Understands the content and purpose of the page
* **URL and domain** - Identifies the website and context
* **Existing groups** - Matches the tab to the most relevant group based on themes, topics, and content
* **Space context** - Considers the organizational structure of your spaces

The AI intelligently finds the best match among your existing groups, or creates a new group if no suitable match exists.

### Using Smart Tab Save

1. Open the command menu from any tab:
   * **Mac**: `Cmd + Shift + K`
   * **Windows/Linux**: `Ctrl + Shift + K`
2. Switch to **AI mode**
3. Click **Save Tab**
4. The AI will automatically:
   * Analyze your current tab
   * Select the most appropriate space
   * Match it to the best existing group (or create a new one)
   * Save the tab instantly

### Benefits

* **Zero decision fatigue** - No need to manually browse spaces and groups
* **Intelligent matching** - AI understands context and matches tabs to related content
* **Consistent organization** - Similar tabs are automatically grouped together
* **Time saving** - Save tabs in seconds without manual navigation

<Callout type="info">
  For Free and Lifetime plan users: Smart tab save requires an API key to be configured in your settings. Free users remain limited to 5 AI searches per day. Pro plan users have this feature built-in.
</Callout>

## Smart Link Rename

Smart Link Rename uses AI to clean up saved tab titles so they are easier to scan later. It updates the saved tab title only; the URL, note, favicon, reminders, and group placement stay the same.

### What It Can Rename

* **One tab** - Rename a single saved tab from that tab's `⋮` menu
* **Selected tabs** - Select multiple tabs in a group and rename them together from the bulk actions widget
* **All tabs in a group** - Rename every saved tab title in a group from the group's `⋮` menu

### Using Smart Link Rename

To rename one tab:

1. Open the group that contains the saved tab
2. Click the tab's `⋮` menu
3. Click **Smart rename**

To rename selected tabs:

1. Select the tabs you want to rename inside a group
2. In the bulk actions widget, click **Rename**

To rename all tabs in a group:

1. Click the group's `⋮` menu
2. Click **Smart rename tabs**

The AI uses each tab's current title, URL, domain, and saved metadata to suggest a clearer title.

## AI Tags and Summaries

AI can tag a saved tab with up to three tags and write a short summary of the page, from the tab's details panel. It can also tag several selected tabs at once, or tag new tabs as you save them when **Auto-tag new tabs** is on in **Settings → AI**.

AI tags reuse tags from your most similar saved tabs, and you can limit AI to a curated list of tags. On Lifetime plans, finding similar tabs needs **AI indexing** turned on in **Settings → AI**.

AI tags and summaries are included in Pro and Team plans. Lifetime plans use your API key. They aren't available on the Free plan.

Learn more in the [Tab Details & Tags Guide](/tags).

<Cards>
  <Card title="Tab Details & Tags" href="/tags" description="Tag tabs and get AI summaries" />

  <Card title="Getting Started" href="/getting-started" description="Learn the basics of Tabhive" />

  <Card title="Groups" href="/groups" description="Organize tabs with groups" />

  <Card title="Keyboard Shortcuts" href="/keyboard-shortcuts" description="Master Tabhive shortcuts" />

  <Card title="FAQ" href="/faq" description="Common questions about AI features" />
</Cards>
