---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Integrations](/integrations)
3.  [Together AI](/integrations/together-ai)

All Integrations

embedding

![Together AI logo](/integrations/together-ai.svg)

# Together AI

Generate embeddings with Together AI's open-source models and upsert directly to MVS

Generate embeddings with 50+ open-source models hosted on Together AI (BGE, Llama, Mistral, and more) then upsert directly to MVS. No GPUs to manage. Swap models by changing one parameter. Go from text to searchable vectors in three API calls.

[Read the Docs](https://mixpeek.com/docs/vector-store/overview)[Start Building](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=integration_onramp&utm_campaign=mvs_onramp)[Schedule Walkthrough](/book-demo)

Together AI walkthrough

Video coming soon

## Measurable impact from day one

What teams see after connecting Together AI to Mixpeek

$0

GPU infrastructure cost

Together AI hosts the models: no GPU provisioning, no autoscaling, no model serving to manage

50+

Open-source models available

Access BGE, Llama, Mistral, and dozens of other embedding models from a single API

<5 min

Time to first search

Generate embeddings, upsert to MVS, configure a retriever, and run your first query in under 5 minutes

<100ms

End-to-end query latency

Together AI embedding generation plus MVS vector search in under 100ms for production workloads

0

Infrastructure to manage

No GPUs, no vector database ops, no index rebuilds: Together AI and MVS handle everything

1 param

To swap models

Change the model name in your Together AI call to test a new embedding model: same pipeline, same MVS collection schema

## The Problem

Teams building semantic search need to generate embeddings, store them, index them, and wire up retrieval: all as separate infrastructure problems. Running open-source embedding models means provisioning GPUs, managing model versions, and handling autoscaling. Even after generating embeddings, you still need a vector database, an indexing pipeline, and a query layer. The result is a fragile stack of services that takes weeks to stand up and constant maintenance to keep running.

## The Solution

Together AI handles embedding generation with hosted open-source models: no GPUs to manage, no model serving to configure. [Mixpeek Vector Store](/mvs) handles everything after: vector storage, indexing, metadata filtering, and retrieval. Generate embeddings with a single Together AI API call, upsert them to MVS, and query through Mixpeek [retriever](/retrievers)s. The entire pipeline from text to searchable vector takes three API calls and zero infrastructure setup.

## Pipeline Architecture

Hover over each step to see how the components connect

Integration Architecture DiagramTogether AI EmbeddingModel SelectionVector UpsertMVS CollectionIndex ConfigurationAutomatic IndexingRetriever SetupFeature SearchQuery PipelineSearch APIModel IterationA/B Testing

1

Together AI Embedding

Model Selection

Choose from open-source embedding models hosted on Together AI: BGE, Llama embeddings, Mistral embed, and more. Generate vectors via a single API call with the OpenAI-compatible format.

2

Vector Upsert

MVS Collection

Upsert the embedding vector along with metadata (document ID, source, timestamps, custom fields) into a [Mixpeek Vector Store](/mvs) collection. MVS handles indexing automatically.

3

Index Configuration

Automatic Indexing

MVS builds and maintains vector indexes as you upsert. No manual index creation, no rebuild triggers: vectors are searchable within seconds of upsert.

4

Retriever Setup

Feature Search

Configure a Mixpeek [retriever](/retrievers) with [feature search](/retrievers) stages that query the MVS collection. Add [metadata filters](/docs/integrations/object-storage/mux#metadata-filtering), full-text search, or reranking stages as needed.

5

Query Pipeline

Search API

Send a query to the Mixpeek [retriever](/retrievers). The query is embedded using the same Together AI model, then searched against the MVS index with configurable similarity thresholds and filters.

6

Model Iteration

A/B Testing

Swap Together AI models by changing a single parameter. Upsert to separate MVS collections and compare retrieval quality across models without changing infrastructure.

## Together AI Integration Deep Dive

Use the Together AI Python SDK or REST API to generate embeddings from any supported model: BGE-large, Llama-based embeddings, Mistral embed, or any new model Together adds to their platform. The response returns a vector array that you upsert directly to a [Mixpeek Vector Store](/mvs) collection along with metadata (source document ID, timestamps, content type, custom fields). MVS indexes the vectors automatically and makes them available through Mixpeek [retriever](/retrievers)s configured with [feature search](/retrievers) stages. Because Together AI uses the OpenAI-compatible format, you can swap models by changing a single model parameter: no pipeline changes, no re-indexing logic. For batch workloads, iterate over your corpus, call Together AI embeddings in parallel, and bulk upsert to MVS. Mixpeek handles deduplication, versioning, and lineage tracking so you always know which model and version produced each vector.

## Quick Start

together\_ai\_mvs.py

import together
from mixpeek import Mixpeek

# 1. Generate embedding with Together AI
response = together.Embeddings.create(
    model="BAAI/bge-large-en-v1.5",
    input="quarterly revenue presentation"
)
vector = response.data\[0\].embedding

# 2. Upsert to Mixpeek Vector Store
client = Mixpeek(api\_key="YOUR\_API\_KEY")
client.vector\_store.upsert(
    namespace="documents",
    vectors=\[{
        "id": "doc\_001",
        "values": vector,
        "metadata": {"source": "earnings", "quarter": "Q1"}
    }\]
)

# 3. Search
results = client.vector\_store.search(
    namespace="documents",
    vector=query\_vector,
    top\_k=10,
    filters={"source": "earnings"}
)

See the full API reference in the [Vector Store docs](https://mixpeek.com/docs/vector-store/overview).

## Mixpeek Components Used

[

Mixpeek Vector Store

](/mvs)[

Retrievers

](/retrievers)[

Feature Search

](/docs/retrievers/feature-search)[

Collections

](/docs/collections)[

Metadata Filtering

](/docs/retrievers/filters)

embedding

open-source

llama

mistral

bge

semantic-search

vectors

## Ready to integrate?

Get started with Mixpeek + Together AI in minutes. Read the docs, create a free account, or schedule a walkthrough with our team.

[Read the Docs](https://mixpeek.com/docs/vector-store/overview)[Create Account](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=integration_onramp&utm_campaign=mvs_onramp)[Schedule Walkthrough](/book-demo)