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

# Together AI

> Configure PipesHub to use Together AI embedding models

# Together AI Embeddings Configuration

<img src="https://mintcdn.com/pipeshub/xDYTCu7XyGABzJ1N/images/ai-models/embedding/Together_EmbeddingConfig.png?fit=max&auto=format&n=xDYTCu7XyGABzJ1N&q=85&s=2c796eecc0c9b69496dc1ace7248e6da" alt="Together AI Embeddings Configuration Interface" width="665" height="1007" data-path="images/ai-models/embedding/Together_EmbeddingConfig.png" />

*The Together AI embeddings configuration screen in PipesHub where you'll enter your API Key, Model Name, and optional Endpoint URL*

PipesHub allows you to integrate with Together AI's embedding models to enable vector search, semantic similarity, and document retrieval in your workspace. Together AI provides access to a range of open-source embedding models with fast, scalable cloud inference.

## Required Fields

### API Key \*

The API Key is required to authenticate your requests to Together AI's services.

**How to obtain an API Key:**

1. Log in to the [Together AI Platform](https://api.together.xyz/)
2. Navigate to the "API Keys" section in your account settings
3. Click "Create API Key"
4. Copy the generated API key

**Security Note:** Your API key should be kept secure and never shared publicly. PipesHub securely stores your API key and uses it only for authenticating requests to Together AI.

### Model Name \*

The Model Name field defines which embedding model you want to use through Together AI.

**Available Together AI embedding models:**

* `togethercomputer/m2-bert-80M-32k-retrieval` - A fast, retrieval-optimised embedding model with a 32K token context window

**How to choose a model:**

* For retrieval tasks requiring long document support, select `togethercomputer/m2-bert-80M-32k-retrieval`
* Browse Together AI's [model catalog](https://api.together.xyz/models) for the full list of available embedding models
* Use the exact model identifier shown in the catalog

## Optional Fields

### Endpoint URL

The base API endpoint for Together AI. Leave blank to use the default Together AI API endpoint.

**Default:** `https://api.together.xyz/v1/`

**When to set this:**

* If you are routing traffic through a custom proxy or gateway
* For enterprise deployments with a dedicated Together AI endpoint

If left blank, PipesHub will use the standard Together AI API endpoint automatically.

## Configuration Steps

As shown in the image above:

1. Click **Configure** on the Together AI provider card
2. Enter your Together AI API Key in the designated field (marked with \*)
3. Specify your desired Model Name (marked with \*)
4. (Optional) Enter a custom Endpoint URL — leave blank to use the default
5. Click **Add Model** to save and validate your credentials

> API Key and Model Name are required fields. Endpoint URL is optional and defaults to the Together AI API if left blank.

## Usage Considerations

* API usage will count against your Together AI account's quota and billing
* Different models have different pricing — check [Together AI pricing](https://www.together.ai/pricing) for details
* Together AI provides fast, scalable cloud inference for open-source embedding models

## Troubleshooting

* If you encounter authentication errors, verify your API key is correct and has not expired
* Ensure your Together AI account has billing or credits set up
* Check that the model name uses the exact format shown in Together AI's model catalog
* If you are experiencing rate limits, check your usage in the Together AI dashboard

For additional support, refer to the [Together AI documentation](https://docs.together.ai/) or contact PipesHub support.
