> ## 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

# Claude API - Access Anthropic Claude Models via AIsa

> AIsa guide to Anthropic Claude model IDs and endpoints: Claude Opus, Sonnet, Haiku, and Fable through the Anthropic-compatible Messages API.

AIsa gives you access to Anthropic's Claude models with one AIsa API key, the same prepaid balance, and the same usage logs as your other models. Claude models use the Anthropic-compatible `POST /v1/messages` endpoint, so the Anthropic SDK works after you change its base URL.

## Supported Claude models

| Model ID | Type | Endpoints |
| - | - | - |
| `claude-fable-5` | Text | `/v1/messages` |
| `claude-fable-5-1` | Text | `/v1/messages` |
| `claude-haiku-4-5-20251001` | Text | `/v1/messages` |
| `claude-haiku-5-5` | Text | `/v1/messages` |
| `claude-opus-4-5-20251101` | Text | `/v1/messages` |
| `claude-opus-4-6` | Text | `/v1/messages` |
| `claude-opus-4-7` | Text | `/v1/messages` |
| `claude-opus-4-8` | Text | `/v1/messages` |
| `claude-opus-5` | Text | `/v1/messages` |
| `claude-opus-5-5` | Text | `/v1/messages` |
| `claude-sonnet-4-5-20250929` | Text | `/v1/messages` |
| `claude-sonnet-4-6` | Text | `/v1/messages` |
| `claude-sonnet-5` | Text | `/v1/messages` |
| `claude-sonnet-5-5` | Text | `/v1/chat/completions`, `/v1/messages`, `/v1/responses` |

Current prices for these models are on [aisa.one/models](https://aisa.one/models).

## Quickstart

The Anthropic SDK appends `/v1/messages` itself, so the base URL has no `/v1`.

```python theme={null}
import anthropic

client = anthropic.Anthropic(api_key="YOUR_AISA_API_KEY", base_url="https://api.aisa.one")

message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Review this pull request for security and correctness."}],
)
print("".join(block.text for block in message.content if block.type == "text"))
```

To run Claude Code on AIsa, see [Use AIsa in Claude](https://aisa.one/docs/guides/tutorials/use-aisa-in-claude.md#claude-code).

## Next

* [OpenAI / Anthropic SDK](https://aisa.one/docs/get-started/sdk-compatibility.md)
* [Model Catalog](https://aisa.one/docs/guides/models.md)
* [AI model pricing](https://aisa.one/docs/guides/pricing.md#models)


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