> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Frequently Asked Questions

> Common questions about AIsa: how to connect an agent, OpenAI and Anthropic compatibility, billing, models, Skills versus direct APIs, and data handling.

## What is AIsa?

AIsa is the resource and payment layer for AI agents: one account and one balance to discover, call, and pay for live LLM and media models and 100+ data APIs - commerce, social, search and SEO, company and people, market data, and more. See [How It Works](https://aisa.one/docs/how-it-works.md).

## How is AIsa different from an LLM gateway?

An LLM gateway puts several models behind one API. AIsa does that, and adds the data APIs agents act on, an MCP server and Skills so agents can find and call them, and per-call billing with spend caps so agents can pay for what they use. If your workload only needs one model provider, a direct integration can be simpler; AIsa helps once an agent needs several providers.

## Which way should I connect?

* **An agent (Claude Code, Codex, Cursor, …):** [Connect via MCP](https://aisa.one/docs/agent-quickstart.md). OAuth in the browser, no key to paste.
* **A coding agent that should learn AIsa's workflow:** add the [Agent Skill](https://aisa.one/docs/get-started/agent-skill.md) on top.
* **A terminal, script, or CI job without MCP:** [Use the CLI](https://aisa.one/docs/get-started/cli.md).
* **Your own code:** an [API key](https://aisa.one/docs/guides/getting-started-with-aisa.md) over HTTP or [your existing SDK](https://aisa.one/docs/get-started/sdk-compatibility.md).

## Do I need to change my OpenAI or Anthropic code?

No. Change the base URL and the key: `https://api.aisa.one/v1` for the OpenAI SDK, `https://api.aisa.one` for the Anthropic SDK. Standard parameters and streaming work as before. See [OpenAI / Anthropic SDK](https://aisa.one/docs/get-started/sdk-compatibility.md).

## What tools does the MCP server expose?

A small set of meta tools: `search` and `list_categories` to find an operation, `get_details` (also served as `batch_get_schema`) for its full contract, `batch_quote` to price the exact calls without running them, and `batch_use` to run up to 20 calls at once. All but `batch_use` are free; `batch_use` is billed per call. `use` remains as a deprecated single-call form. Your agent reaches the whole data catalog through these tools instead of loading hundreds.

## Should my agent use a Skill or call APIs directly?

Use a Skill when an existing one already covers the outcome - it encodes which tools to call, in what order, and how to present the result. Call APIs directly (over HTTP or MCP `batch_use`) when your application needs its own sequencing, retries, or data processing. You can combine both: a Skill for the common path, direct calls for the rest.

## How is usage billed?

Models are billed per token; data APIs per request, either a fixed rate per call or metered from what the request returns. Everything draws on one prepaid balance, and discovery - docs, `/v1/models`, MCP `search`, `get_details`, and `batch_quote` - is free. The docs explain billing rules but do not list prices; see [aisa.one/models](https://aisa.one/models) and [aisa.one/api](https://aisa.one/api), and [Billing & Credits](https://aisa.one/docs/guides/pricing.md) for quotes and spend caps.

## Can I cap what an agent spends?

Yes. Give each agent its own API key with a spending limit in the Console. That limit is the hard ceiling on what the key can spend.

For a single call, endpoints that declare maximum-price support accept `X-AISA-Max-Price-USD` over HTTP: if the cost estimate exceeds your maximum, the gateway rejects the request with `402` before calling the provider. Over MCP, price the exact calls with `batch_quote` first and run them with `batch_use` only when the quote fits your budget. Both check the estimate; neither caps the final charge. Model routes such as `/v1/chat/completions` do not apply this header, so bound their cost with `max_tokens` and the key's spending limit. See [Billing & Credits](https://aisa.one/docs/guides/pricing.md#quote-review-then-execute).

## Does every endpoint support machine payments (MPP or x402)?

No. AIsa supports the Machine Payments Protocol (MPP), not x402, and only on selected read-only data endpoints. The live list is the discovery document at `https://api.aisa.one/openapi.json`; everything else needs an API key. See [Machine Payments](https://aisa.one/docs/integrations/machine-payments.md).

## Which models are available?

GPT, Claude, Gemini, Grok, DeepSeek, Qwen and Wan, Kimi, MiniMax, GLM, ByteDance Seed and Seedream, Hunyuan, MiMo, and more, plus embedding, image, and video models. The catalog changes often: `GET https://api.aisa.one/v1/models` and [aisa.one/models](https://aisa.one/models) are always current, and the [model catalog](https://aisa.one/docs/guides/models.md) lists IDs and routes.

## Does AIsa store my prompts or outputs?

No. Request content is processed transiently and discarded; AIsa keeps only operational metadata such as timestamps, key identifiers, token counts, cost, and status. See [Security & Privacy](https://aisa.one/docs/guides/security.md).

## How do I get started?

Follow [API Key & First Call](https://aisa.one/docs/guides/getting-started-with-aisa.md) for code, or [Connect via MCP](https://aisa.one/docs/agent-quickstart.md) for an agent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.