AIARCO logoASC Docs

Functions

CPU functions run on AWS Lambda; GPU functions (Phase E.2) on a warm EC2 spot pool with cold-start under 60 s.

Create

client.functions.create("my-fn", runtime="python3.12", handler="handler.main")

Invoke

client.functions.invoke(fn_id, payload={"key": "value"})

Each invocation returns the function result, the raw AWS cost, and the billed customer cost.