AIARCOASC Docs

Edge Object & SQL

Zero-egress edge object storage plus a sqlite-class SQL database at every PoP.

What it is

Edge Object stores files at the edge with zero egress fees to anywhere — perfect for serving public assets and ML artifacts to global users. Edge SQL gives you a sqlite-class relational database co-located with your edge functions. Both are accessible from edge functions in single-digit milliseconds.

When to use it

  • Serve large public files (model weights, datasets) with zero egress cost.
  • Store per-user metadata at the edge for fast reads.
  • Run analytics queries close to the data, not 100 ms away.

Quickstart

asc edge object create static
asc edge sql create app --primary-region apac
asc edge sql query app 'select * from sessions where user_id = ?' --bind usr_123
client.edge.object.create_bucket('static')
client.edge.sql.create_db('app', primary_region='apac')
client.edge.sql.query('app', 'select * from sessions where user_id = ?', bind=['usr_123'])
await client.edge.sql.query('app', 'select * from sessions where user_id = ?', { bind: ['usr_123'] });

Limits & quotas

LimitDefaultBurstNotes
Object storage$0.015 / GB-moZero egress
Object Class A ops (write)$4.50 / M
Object Class B ops (read)$0.36 / M
SQL storage$0.75 / GB-mo
SQL rows read$0.001 / 1K
SQL rows written$1.00 / M

Pricing

See pricing. Pay-as-you-go, billed monthly via Stripe.

API surface

  • PUT /v1/edge/object/{bucket}/{key}
  • POST /v1/edge/sql/{db}/query

Required scope(s): edge:read, edge:write. See Scopes.

Security

All access is authenticated and scoped. See Auth & scopes and Network controls.