Birds soaring through a sunset sky toward Frankie the balloon and a city of smiling servers

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

A magnifying glass held over a notebook, with a friendly bug flying nearby

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

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
A globe with hot air balloons over the Americas

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
A rocket being sketched out and assembled from parts

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.

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

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