# Compute: serverless functions, jobs and endpoints

> Fantasti Compute is planned: Python functions, long jobs and HTTPS endpoints on serverless compute, each with the GPU it needs and the budget it may spend.

Source: https://fantasti.ai/compute
Reviewed: 2026-11-17
Platform: We are not taking access requests yet. Ask us a question, or propose a partnership.

Fantasti Compute [Planned]

## Run AI functions, jobs and endpoints on serverless compute. A function declares the GPU it needs and the budget it may spend. It scales with its queue, and to zero when nothing calls it.

[Ask a question](https://fantasti.ai/contact) [See how it works](https://fantasti.ai/compute#walk)

Planned. This page describes what we are building. Details may change before early access.

[Figure: Illustrative preview of Compute. A Python function named embed in embed.py declares the GPU it needs, a timeout and a daily budget of $5.00. Its endpoint served 2,140 calls today: a cold start took 2.3 s, a warm call 41 ms. Replicas rose to three and went back to zero 4 min ago.]

### What Compute is built to do.

- #### Functions
  A Python function with the GPU it needs, a timeout and a budget. Call it and it runs. When nobody calls it, nothing runs.
- #### Jobs
  Long work goes to a queue. A job retries, checkpoints and cancels cleanly, and it leaves its artifacts and its log behind.
- #### Endpoints
  The same function behind an HTTPS address, with a key. It scales with its traffic, and to zero when it has none.

### From a function to an address. There is no machine in the story: you write the function, and the platform finds where it runs.

1. 01
   #### Write
   A function, its dependencies, the GPU class it needs and the budget it may spend.
2. 02
   #### Deploy
   One command builds the environment and gives the function a version.
3. 03
   #### Call
   From code, from a schedule, from an agent, or over HTTPS as an endpoint.
4. 04
   #### Watch
   Every call has a log, a duration and a cost. A cold start is counted and shown as one.

### Three shapes of the same code. A function you call, a job you queue, an endpoint you publish.

Illustrative

**Function**

embed.py

```
import fantasti

app = fantasti.App("docs-search")

# the GPU it needs, how long it may run, what it may spend
@app.function(gpu="any-24gb", timeout=600, budget=5.00)
def embed(texts: list[str]) -> list[list[float]]:
    return model.encode(texts)

vectors = embed.call(["Where is my refund?"])
```

**Job**

reindex.py

```
import fantasti

app = fantasti.App("docs-search")

# long work: queued, retried, resumed from its checkpoint
@app.job(gpu="any-24gb", retries=2, checkpoint_every=500)
def reindex(pages: list[str]):
    for batch in fantasti.batched(pages, 64):
        index.add(embed(batch))
    return index.save("artifacts/index-v8")

run = reindex.submit(pages)
print(run.id, run.status)            # queued
```

**Endpoint**

search.py

```
import fantasti

app = fantasti.App("docs-search")

# the same function behind an address; no traffic, no worker
@app.endpoint(method="POST", scale_to_zero=True)
def search(query: str):
    return index.nearest(embed([query])[0])
```

The SDK and the CLI are published when the first cohort opens.

### On one platform. Compute does not bring its own accounts, budgets or storage. It uses the layer the four products share.

[Platform Orchestrator Roles, quotas and budgets, the queue, the artifacts and the trace of every run.](https://fantasti.ai/orchestrator) [Platform MCP server An agent can run Compute with tools, inside the scopes and the budget you give it.](https://fantasti.ai/mcp) [Billing How it is billed What each product is designed to meter, and how an estimate comes before a charge.](https://fantasti.ai/pricing)

### Questions. Asked before anyone should trust a page about a product that is not out yet.

#### Can I use Compute today?

No. It is planned: this page describes what we are building, and details may change before early access.

#### Can I rent a GPU or get a machine?

No. Compute runs functions, jobs and endpoints. It does not rent machines by the hour, and it gives no SSH or root access.

#### Can I bring my own container?

Not at first. Compute starts from Python functions with declared dependencies, on images we maintain. Custom images are considered later, within what each backend allows.

#### Which GPUs can I choose?

A function asks for a class of GPU by memory. A class is listed once it is tested on a backend. No GPU model and no region is promised before that.

#### Does it really scale to zero?

That is the design: an endpoint with no traffic keeps no worker running and costs nothing while it is idle. It is announced as a fact when a test shows it, and until then this page says Planned.

#### How will it be billed?

By use: CPU-seconds and GPU-seconds of functions and jobs, and the requests of endpoints. Every call carries its cost. Prices are not published yet.

### The other three.

[(Planned) Managed AI Deploy, evaluate and manage models without managing infrastructure.](https://fantasti.ai/managed-ai) [(Planned) AI Studio Create and automate image, video and audio workflows.](https://fantasti.ai/studio) [(Planned) Flows Build reproducible, scalable AI and ML pipelines.](https://fantasti.ai/flows)

### Requests are not open yet. Questions are.

Ask a question about the platform.

[Ask a question](https://fantasti.ai/contact)
