# Use your own API Key

Use this page when you want Fetch Hive to run model-backed work against your own provider credentials instead of the hosted default.

## Overview

Fetch Hive exposes two model access modes in the UI:

* **Hosted**
* **Personal**

You choose between them with **Charge Type** controls in the editor surfaces where model-backed work is configured. You can also set a workspace-wide default from **Workspace** with **Default charge type**.

When you choose **Personal**, you should expect to connect the relevant provider credentials through [Integrations](/your-workspace/integrations.md).

## How do I set the default charge type? <a href="#set-default-charge-type" id="set-default-charge-type"></a>

Open **Settings** in the sidebar, then click **Workspace**.

Find **Default charge type**.

Choose **Hosted** if you want new work to default to Fetch Hive-hosted model access.

Choose **Personal** if you want new work to default toward your own connected provider credentials.

Click **Save** to apply the workspace default.

## How do I use a personal model in prompts, workflows, and agents? <a href="#use-personal-model" id="use-personal-model"></a>

In prompt editors, open **Parameters**, then change **Charge Type** to **Personal**.

In workflow editors, open the relevant **Step settings** for a model-backed step such as **AI Prompt**, then change **Charge Type** to **Personal**.

In agent editors, open **Agent Settings**, then change **Charge Type** to **Personal**.

After you switch to **Personal**, keep using the same editor surface to choose the model and finish the rest of the configuration.

## How do I connect provider credentials? <a href="#connect-provider-credentials" id="connect-provider-credentials"></a>

Open **Tools** in the sidebar, then click **Integrations**.

Find the provider you want to connect and click **Connect**.

Complete the OAuth flow if the provider uses OAuth.

If the provider uses a direct secret instead, enter the API key in the modal and save it.

Return to your prompt, workflow, or agent after the connection is in place.

## What is the difference between Hosted and Personal? <a href="#hosted-vs-personal" id="hosted-vs-personal"></a>

Use **Hosted** when you want Fetch Hive-hosted model access.

Use **Personal** when you want the provider portion of the usage to be associated with your own connected credentials.

The current cost breakdown UI reflects that difference. When a run uses **Personal**, Fetch Hive labels the provider portion as **Provider Cost (billed to your API key)** and notes **You pay provider separately via your API key**.

When a run uses **Hosted**, Fetch Hive labels the provider portion as **Provider Cost (paid by Fetch Hive)**.

See also: [Workspace settings](/your-workspace/workspace-settings.md), [Integrations](/your-workspace/integrations.md), [Prompts](/prompts/prompts.md), [Workflows](/workflows/workflows.md), and [Agents](/api-reference/agents.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fetchhive.com/your-workspace/llm-providers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
