AI GridDocs
Status Open the app

Quickstart

Go from a fresh account to a completed API call in about five minutes.

newUpdated 2026-08-04

1. Create your organisation#

Sign up at app.aigridapp.com/register and create an organisation — company or personal. It gets its own address on the grid:

GEThttps://your-slug.aigridapp.com

2. Fund the wallet#

From Finance → Wallet, buy a prepaid credit lot or switch on pay-as-you-go. Credits are the single currency every product on the grid is priced in.

3. Subscribe and get a key#

Subscribe your team to a product from the catalog, then register a runtime actor to hold the credential. Keys look like egw_live_… and belong to actors, not people.

4. Point your SDK at the grid#

app.py
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.aigridapp.com/v1",  # <- the only change
    api_key=os.environ["AIGRID_API_KEY"],
)

reply = client.chat.completions.create(
    model="first-party/llm-gateway",
    messages=[{"role": "user", "content": "Hello, grid."}],
)
print(reply.choices[0].message.content)

Or straight from the shell:

bash
curl https://api.aigridapp.com/v1/chat/completions \
  -H "Authorization: Bearer $AIGRID_API_KEY" \
  -d '{"model": "first-party/llm-gateway", "messages": [{"role": "user", "content": "Hello, grid."}]}'

Every call you make is metered back to its product, project and person — see Usage and metering.