x402Private Beta
Machine Payment ProtocolPrivate Beta
Coming Soon
Back to Blog
TutorialsFebruary 25, 2026·AIsa Team

Getting Started with the AIsa API: A 5-Minute Quickstart

Go from zero to your first AI API call in under 5 minutes. This tutorial walks you through creating an AIsa account, getting your API key, and making your first request to the Unified Model Gateway.

quickstarttutorialapigetting-started
Share

Prerequisites

All you need is:

  • A free AIsa account (comes with $5 in credits)
  • Any HTTP client (curl, Python requests, Node.js fetch, etc.)

Step 1: Create Your Account

Head to console.aisa.one and sign up. You’ll receive $2 in free credits immediately — enough for thousands of API calls.

Step 2: Get Your API Key

After signing in, navigate to your dashboard and copy your API key. Keep this secure — it’s your authentication credential for all AIsa services.

Step 3: Make Your First Call

Using curl

bash
curl https://api.aisa.one/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {"role": "system", "content": "You are a helpful assistant."},
      {"role": "user", "content": "What is AIsa?"}
    ]
  }'

Using Python

python
import openai

client = openai.OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.aisa.one/v1"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "What is AIsa?"}
    ]
)

print(response.choices[0].message.content)

Using Node.js

javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "YOUR_API_KEY",
  baseURL: "https://api.aisa.one/v1",
});

const response = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "What is AIsa?" },
  ],
});

console.log(response.choices[0].message.content);

Step 4: Try Different Models

The beauty of AIsa is that switching models is just changing a string:

python
# Try Claude
response = client.chat.completions.create(model="claude-3.5-sonnet", messages=messages)

# Try Gemini
response = client.chat.completions.create(model="gemini-2.0-flash", messages=messages)

# Try Deepseek
response = client.chat.completions.create(model="deepseek-v3", messages=messages)

No new SDKs, no new API keys, no new billing accounts.

Step 5: Explore More

Welcome to AIsa. Start building.

Cookie Preferences

We use essential cookies to keep the site running, plus optional analytics and functional cookies to improve your experience. Read our Privacy Policy for details.