---
title: "Vector Database"
description: "Upstash Vector on Fly.io: a managed, pay-as-you-go vector database on your private network, with built-in embedding models. In public beta in iad and fra."
---

# Vector Database

![Birds soaring through a sunset sky toward Frankie the balloon and a city of smiling servers](https://fly.io/phx/ui/images/vector-database-hero-abd3f0157258965699515c1b9c48851d.webp?vsn=d)

# *Vector Database* on Fly.io

Your embeddings belong in the same region as the code that searches them. Upstash Vector gives you a managed, pay-as-you-go vector index on your Fly.io private network, in iad or fra, with embedding models built in and no cluster to size.

[Try It Now](https://fly.io/app/sign-up?s=vector-database)

---

![A magnifying glass held over a notebook, with a friendly bug flying nearby](https://fly.io/phx/ui/images/monitoring_2-3a454cfeaf70e796262a7afd6df0e341.webp?vsn=d)

## Vector Search the Fly.io Way

Upstash Vector is a fully managed vector database for your embeddings. It takes care of:

- Running your index on Fly.io infrastructure
- Private access, limited to your organization
- Turning text into embeddings, if you want it to

- Pay-as-you-go billing, with nothing to provision
- Usage on your Fly.io bill, updated through the day
- A web console for per-index usage

[Try Vector Database](https://fly.io/app/sign-up?s=vector-database)

## What You Get With Upstash Vector

A vector index reachable only over your organization's private IPv6 network

Your choice of similarity function, such as Euclidean distance

Built-in embedding models like **WhereIsAI/UAE-Large-V1** , or your own vectors at whatever dimension count you set

An endpoint, a token and a read-only token, ready to set as secrets

Upstash's REST API and example apps to build on

This service is in public beta in the `iad` and `fra` regions.

![Hot air balloons drifting over an open book on a cloud](https://fly.io/phx/ui/images/better-together-1809a808f6af7667884324f09e9a8cfe.webp?vsn=d)

![A globe with hot air balloons over the Americas](https://fly.io/phx/ui/images/globe-29fe4e854651f76af62b8b65213702c7.png?vsn=d)

## Where is Upstash Vector Available?

Ashburn, Virginia, USA ( **iad** )

Frankfurt, Germany ( **fra** )

Create your index in the region your app runs in for the lowest latency. Choose carefully: an index's primary region can't be changed after it's created.

## Built for Trying Things

**Prototype now:** semantic search, RAG, recommendations

**Not for production yet:** while it's in beta, we advise against running production workloads on it

Managed entirely from flyctl, with your existing Fly.io account

[See more in our docs](https://docs.fly.io/upstash/vector/)

![A rocket being sketched out and assembled from parts](https://fly.io/phx/ui/images/launch-demo-67cb9ed2d80d449295c01fe6dd7470b0.png?vsn=d)

## Pay as You Go

No plans to pick and no capacity to guess at. You pay Upstash's usage-based rates, and they show up on your regular Fly.io bill.

### Usage-based

Billed for what you use. Nothing to size up front.

### One bill

Usage lands on your Fly.io invoice and updates through the day.

### Per-index detail

See exactly where usage comes from in the Upstash console.

[See Upstash Vector pricing](https://upstash.com/pricing/vector)

## Getting Started

Create an index and pick a similarity function, an embedding model and a region. You'll get back **VECTOR_ENDPOINT** , **VECTOR_TOKEN** and **VECTOR_READONLY_TOKEN** : set them as secrets on your app.

```
fly ext vector create
fly ext vector list
```

For usage and index details, run `fly ext vector dashboard -o your-org` to open the Upstash console.

[Read the full walkthrough in our docs](https://docs.fly.io/upstash/vector/)

## Frequently Asked Questions

What is Upstash Vector on Fly.io? +

Upstash Vector is a fully managed, pay-as-you-go vector database for your embeddings. Your index runs on Fly.io infrastructure and is reachable over a private IPv6 address on your Fly.io organization's network.

Is Upstash Vector ready for production? +

Not yet. Upstash Vector on Fly.io is in public beta, and we advise against production use for now. We'd love your feedback while it's in beta.

Which regions is Upstash Vector available in? +

During the beta, Ashburn, Virginia (iad) and Frankfurt, Germany (fra). Create your index in the same region as your app for the lowest latency: the primary region can't be changed after the index is created.

How do I create a vector index on Fly.io? +

Run fly ext vector create. It asks for your organization, a similarity function, an embedding model, an index name and a primary region, then prints VECTOR_ENDPOINT, VECTOR_TOKEN and VECTOR_READONLY_TOKEN to set as secrets on your app.

Do I need to generate my own embeddings? +

No. You can choose one of Upstash's built-in embedding models when you create the index, such as WhereIsAI/UAE-Large-V1, and send it text. If you'd rather bring your own vectors, specify the index's dimension count instead.

How does my app connect to Upstash Vector? +

With the endpoint and tokens you set as secrets on the app, over your organization's private network. Upstash documents the REST API and has example apps to start from.

How is Upstash Vector billed? +

By usage, pay-as-you-go, at the rates on Upstash's Vector pricing page. Usage appears on your Fly.io bill and updates periodically through the day, and fly ext vector dashboard opens the Upstash console with per-index details.

## Embeddings Next to Your Compute.

[Try Vector Database](https://fly.io/app/sign-up?s=vector-database)
