You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Serverless PostgresML database can be created in less than 5 seconds and provides immediate access to modern GPU acceleration, the entire HuggingFace library of LLMs, and dozens of supervised learning algorithms like XGBoost, LightGBM, Catboost, and everything from Scikit-learn.
3
+
A Serverless PostgresML database can be created in less than 5 seconds and provides immediate access to modern GPU acceleration, a predefined set of state-of-the-art large language models that should satisfy most use cases, and dozens of supervised learning algorithms like XGBoost, LightGBM, Catboost, and everything from Scikit-learn.
4
+
With a Serverless database, storage and compute resources dynamically adapt to your application's needs, ensuring it can scale down or handle peak loads without overprovisioning.
4
5
5
-
Serverless databases start at $0 and have a generous free tier. A free tier user will be able to access the GPUs and 5GB of disk storage for their hobby projects, or to just try PostgresML for the first time, without having to provide a credit card. The free tier has no other limits and can be used to power personal projects without having to worry about being shut down or scaled down.
6
+
Serverless databases are billed on a pay-per-use basis and we offer $100 in free credits to get you started!
6
7
7
8
### Create a Serverless database
8
9
@@ -14,24 +15,43 @@ Once logged in, select "New Database" from the left menu and choose the Serverle
14
15
15
16
<figure><imgsrc="../../.gitbook/assets/image (2).png"alt=""><figcaption><p>Choose the Serverless plan</p></figcaption></figure>
16
17
17
-
### Configuring the database
18
18
19
-
Serverless databases have three (3) configuration options: GPU Cache, Storage, and GPU Concurrency.
20
-
21
-
<figure><imgsrc="../../.gitbook/assets/image (3).png"alt=""><figcaption><p>The three (3) configuration options for a Serverless database</p></figcaption></figure>
22
-
23
-
#### GPU Cache
24
-
25
-
GPU Cache is the amount of GPU memory that will be reserved and guaranteed for your database to use in case you want to use GPU accelerated LLMs. Models like Llama 2, Mistral, and GPT-3 require a GPU to generate text at a reasonable speed, usable in production applications. This setting, if set to the correct amount of GPU RAM required by the such models, will ensure that the model you use remains in the GPU cache for as long as you need it.
26
-
27
-
If you don't provision any GPU Cache capacity, you can still use GPU acceleration for running LLMs and other models. However, this capacity won't be guaranteed and if we need to evict your model from the cache to serve another request, we may have to do so, and you'll have to wait until that request is complete to use your model again.
28
-
29
-
#### Storage
30
-
31
-
Disk storage is used by your database to store data in your tables. This storage metric only applies to PostgreSQL tables. Storage of LLM models used by your database is free. You can scale your storage up at any time, but you can't scale it down without deleting your data. The free tier includes 5GB of storage.
32
-
33
-
#### GPU Concurrency
34
-
35
-
GPU Concurrency is the amount of concurrent queries (executed at the same time) that your serverless database can serve. If you're using LLMs, they will be loaded on one or more GPUs, so for the duration of the request, your database will have access to the entire GPU. However, if you need to execute more than one request at a time, which will happen if your application starts getting some more traffic in production, you might need to increase your GPU Concurrency to accommodate that new traffic.
36
-
37
-
If you don't provision additional GPU Concurrency, requests that can't be served immediately with your current capacity will wait in a queue until your in-flight request completes and a GPU is available to serve them.
19
+
### Serverless Pricing
20
+
Storage is charged per GB/mo, and all requests by CPU or GPU millisecond of compute required to perform them.
21
+
22
+
#### Vector & Relational Database
23
+
| NAME | PRICING |
24
+
| :--- | ---: |
25
+
| Tables & Index Storage | $0.20 GB per month |
26
+
| Retrieval, Filtering, Ranking & other Queries | $7.50 per hour |
27
+
| Embeddings | Included w/ Queries |
28
+
| LLMs | Included w/ Queries |
29
+
| Fine Tuning | Included w/ Queries |
30
+
| Machine Learning | Included w/ Queries |
31
+
32
+
33
+
### Serverless Models
34
+
35
+
Serverless AI engines come with predefined models and a flexible pricing structure
36
+
37
+
#### Embedding Models
38
+
| NAME | PARAMETERS (M) | MAX INPUT TOKENS | DIMENSIONS | STRENGTHS |
0 commit comments