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

# AIsa Provider for OpenClaw

> Use AIsa as the model provider for OpenClaw.

[View on GitHub →](https://github.com/AIsa-team/agent-skills/tree/main/ai-models/aisa-provider)

**Use AIsa as an OpenClaw model provider.** Configure OpenClaw to access Qwen, DeepSeek, Kimi, GLM, and other models through one gateway.

## Install

```bash npx skills theme={null}
npx skills add AIsa-team/agent-skills --skill aisa-provider
```

```bash AIsa CLI theme={null}
npm install -g @aisa-one/cli
aisa skills install aisa-provider
```

Start a new agent session after installing so the skill loads.

## What can agents do with it?

> [card] OpenClaw setup
>
> Configure OpenClaw with the AIsa provider.

> [card] Chinese LLM routing
>
> Use Qwen, DeepSeek, GLM, and other Chinese models.

> [card] Global models
>
> Route prompts to GPT, Claude, Gemini, and more.

> [card] Agent runtime defaults
>
> Standardize model selection for OpenClaw workflows.

## Quick Setup

### Option 1: Environment Variable (fastest)

```bash theme={null}
export AISA_API_KEY="your-key-here"
```

OpenClaw auto-detects `AISA_API_KEY` and registers AIsa as a provider. No config file changes needed.

### Option 2: Interactive Onboarding

```bash theme={null}
openclaw onboard --auth-choice aisa-api-key
```

### Option 3: CLI with Key

```bash theme={null}
openclaw onboard --auth-choice aisa-api-key --aisa-api-key "your-key-here"
```

### Option 4: Manual Config in `~/.openclaw/openclaw.json`

```json theme={null}
{
  "models": {
    "providers": {
      "aisa": {
        "baseUrl": "https://api.aisa.one/v1",
        "apiKey": "${AISA_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "aisa/qwen3.7-max",
            "name": "Qwen3.7 Max",
            "reasoning": true,
            "input": ["text"],
            "contextWindow": 1000000,
            "maxTokens": 16384,
            "supportsDeveloperRole": false,
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          },
          {
            "id": "aisa/qwen-plus-2025-12-01",
            "name": "Qwen Plus",
            "reasoning": true,
            "input": ["text", "image"],
            "contextWindow": 1000000,
            "maxTokens": 16384,
            "supportsDeveloperRole": false,
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          },
          {
            "id": "aisa/qwen-mt-flash",
            "name": "Qwen MT Flash",
            "reasoning": true,
            "input": ["text"],
            "contextWindow": 1000000,
            "maxTokens": 8192,
            "supportsDeveloperRole": false,
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          },
          {
            "id": "aisa/deepseek-v4-pro",
            "name": "DeepSeek V4 Pro",
            "reasoning": true,
            "input": ["text"],
            "contextWindow": 262144,
            "maxTokens": 8192,
            "supportsDeveloperRole": false,
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          },
          {
            "id": "aisa/kimi-k2.5",
            "name": "Kimi K2.5",
            "reasoning": true,
            "input": ["text"],
            "contextWindow": 262144,
            "maxTokens": 8192,
            "supportsDeveloperRole": false,
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "aisa/qwen3.7-max"
      }
    }
  }
}
```

OpenClaw uses each model's `cost` fields only for its local spend estimates; AIsa bills from its own rates either way. The example leaves them at `0`; copy current rates from [aisa.one/models](https://aisa.one/models) if you want OpenClaw's estimates to be meaningful.

## Available Models

### Default Models (pre-configured, API-verified ✅)

| Model | Model ID | Best For | Context | Reasoning | Verified |
| - | - | - | - | - | - |
| Qwen3.7 Max | `aisa/qwen3.7-max` | Complex reasoning, flagship tasks | 1M | ✅ | ✅ |
| Qwen Plus | `aisa/qwen-plus-2025-12-01` | Main production model | 1M | ✅ | ✅ |
| Qwen MT Flash | `aisa/qwen-mt-flash` | Translation-oriented lightweight tasks | 1M | ✅ | ✅ |
| DeepSeek V4 Pro | `aisa/deepseek-v4-pro` | Stronger DeepSeek reasoning and coding | 256K | ✅ | ✅ |
| **Kimi K2.5** | `aisa/kimi-k2.5` | **Vision, visual coding, long-video understanding** | 256K | ✅ | ✅ |

Moonshot's newest generation, `aisa/kimi-k3`, and its coding-oriented `aisa/kimi-k2.7-code` route are also available — they are not pre-configured above, so add them to your config manually if you want them.

### ⭐ Kimi K2.5 — Enterprise ZDR route

Kimi K2.5 is the Moonshot route covered by AIsa's enterprise Zero Data Retention agreement.

**Key features:**

* Strong reasoning and multi-step problem solving
* Competitive performance on coding and math benchmarks
* Available through AIsa's Moonshot partnership

#### 🔒 Zero Data Retention (ZDR) — Enterprise-Grade Privacy

Accessing Kimi K2.5 through AIsa comes with **enterprise-level Zero Data Retention** guarantees. Users do not need to worry about data privacy — AIsa has executed a formal ZDR agreement with Moonshot AI.

Under the **Supplemental Enterprise Service Agreement** (dated 10 February 2026) between AIsa and Kimi (Moonshot AI PTE. LTD.):

* **Customer data is NOT retained** by Moonshot after processing
* **Generated outputs are NOT stored** on Moonshot's infrastructure
* **No data is used for model training** — your prompts and completions remain private
* Processing is governed by contractual enterprise terms, not consumer ToS

This makes AIsa the recommended path for privacy-sensitive or enterprise workloads that require access to Kimi K2.5. When calling Kimi K2.5 directly via Moonshot's consumer API, standard consumer data policies apply — by routing through AIsa, your data benefits from the negotiated ZDR protections.

**⚠️ Important: Temperature restriction**

Kimi K2.5 **only accepts `temperature=1.0`**. Using any other value will return an error:

```
Error: invalid temperature: only 1 is allowed for this model
```

If your OpenClaw config or agent sets a different temperature, override it for Kimi:

```
/model aisa/kimi-k2.5
```

OpenClaw will use the model's default temperature when not explicitly set.

> Current AIsa rates for this route: [https://aisa.one/models](https://aisa.one/models)

### Additional Models Available via AIsa

Users can add any model supported by AIsa to their config. The gateway serves **103 models** as of October 16, 2026:

**Qwen family (19 models, including Wan image/video):**

* `qwen3.8-max`, `qwen3.7-max`, `qwen3.7-max-2026-06-08`, `qwen3.7-plus`, `qwen3.7-flash`, `qwen3.7-flash-2026-07-15`, `qwen-plus-2025-12-01`, `qwen-flash`
* `qwen3-coder-flash` (coding model)
* `qwen3.6-plus`, `qwen3.6-plus-2026-04-02`
* `qwen3-vl-plus` (vision model)
* `qwen-mt-flash`, `qwen-mt-lite` (translation models)
* `wan2.7-image`, `wan2.7-image-pro`, `wan2.7-t2v`, `wan2.7-i2v`, `wan2.7-r2v` (media models)

**DeepSeek (4 models):**

* `deepseek-v4.1-flash`, `deepseek-v4-pro`, `deepseek-v4-pro-0813`, `deepseek-v4-flash-vision-exp`

**Kimi / Moonshot (4 models):**

* `kimi-k3`, `kimi-k2.7-code`, `kimi-k2.6`, `kimi-k2.5`

**Also available:** OpenAI GPT, image and embedding models (28), Claude series (14), xAI Grok (7), Zhipu GLM (6), ByteDance Seedream/Dreamina (4), MiniMax (4), Xiaomi MiMo (3), StepFun (3), Gemini (2), Tencent Hunyuan (2), Jina embeddings (2), and more.

**List all available models:**

```bash theme={null}
curl https://api.aisa.one/v1/models -H "Authorization: Bearer $AISA_API_KEY"
```

## Model ID Versioning

AIsa uses **versioned model IDs** for some models. If you encounter a `503 - No available channels` error, the model ID may need updating.

**Known model ID mappings:**

| Common Name | Correct AIsa Model ID | ❌ Does NOT work |
| - | - | - |
| Qwen Plus | `qwen-plus-2025-12-01` | `qwen3-plus`, `qwen-plus`, `qwen-plus-latest` |
| Qwen Flash | `qwen-flash` | `qwen3-flash`, `qwen-turbo`, `qwen-turbo-latest` |
| Qwen MT Flash (translation) | `qwen-mt-flash` | `qwen-mt`, `qwen-translate` |
| Qwen Max | `qwen3.7-max` | (works as-is) |
| DeepSeek V4 Pro | `deepseek-v4-pro` | (works as-is) |
| Kimi K2.5 | `kimi-k2.5` | (works as-is) |
| Kimi K3 | `kimi-k3` | `kimi-k3-latest`, `kimi-3` |

To check the latest available model IDs:

```bash theme={null}
curl https://api.aisa.one/v1/models -H "Authorization: Bearer $AISA_API_KEY"
```

## Switching Models

In chat (TUI):

```
/model aisa/qwen3.7-max
/model aisa/deepseek-v4-pro
/model aisa/kimi-k2.5
```

Via CLI:

```bash theme={null}
openclaw models set aisa/qwen3.7-max
```

## AIsa pricing for the default models

Current AIsa rates for these models are on [aisa.one/models](https://aisa.one/models); see [AI Model Pricing](https://aisa.one/docs/guides/pricing.md#models) for how each model type is billed.

## Official Partnerships

AIsa maintains verified partnerships with:

* **Alibaba Cloud** — Qwen Key Account (full model family, 3 global regions: CN, US-Virginia, Singapore)
* **BytePlus** — Doubao by ByteDance
* **DeepSeek** — via Alibaba Cloud integration
* **Moonshot** — Kimi integration (`kimi-k3`, `kimi-k2.7-code`, `kimi-k2.6`, `kimi-k2.5`), with an **enterprise Zero Data Retention (ZDR) agreement** covering Kimi K2.5 (effective Feb 10, 2026)

## Qwen Region Support

AIsa provides access to Qwen models across 3 global regions via Alibaba Cloud:

* 🇨🇳 China (default)
* 🇺🇸 US (Virginia)
* 🇸🇬 Singapore

This comes from AIsa's Key Account status with Alibaba Cloud.

## Response Latency (tested Feb 2026)

| Model | Avg Latency | Rating |
| - | - | - |
| Qwen MT Flash | \~1,918 ms | ⭐⭐⭐⭐ Fast |
| Kimi K2.5 | \~2,647 ms | ⭐⭐⭐ Medium |
| Qwen Plus | \~8,207 ms | ⭐⭐ Slower |

## Troubleshooting

### "503 - No available channels" error

The model ID may be incorrect or outdated. Check the **Model ID Versioning** section above for correct IDs. Common fixes:

* `qwen3-plus` -> use `qwen-plus-2025-12-01`
* `qwen3-flash` -> use `qwen-flash` (or `qwen-mt-flash` for translation)

### "Model not found" error

Ensure the model ID uses the `aisa/` prefix in OpenClaw config:

```
✅ aisa/qwen3.7-max
❌ qwen3.7-max
```

### Kimi K2.5 "invalid temperature" error

Kimi K2.5 only accepts `temperature=1.0`. If your config sets a different temperature, add a model-specific override or let OpenClaw use the default.

### Kimi K2.5 empty response

In rare cases Kimi K2.5 may return empty content while consuming output tokens. Retry the request — this is typically transient.

### API key not detected

1. Check env var: `echo $AISA_API_KEY`
2. Or verify in config: `openclaw config get auth.profiles`
3. Re-run onboarding: `openclaw onboard --auth-choice aisa-api-key`

### Streaming not working

AIsa uses the OpenAI-compatible API (`openai-completions`). Ensure your config has:

```json theme={null}
"api": "openai-completions"
```

### Rate limits or daily caps

AIsa has **no daily request limits** (unlike the free Qwen Portal which caps at 2,000 req/day).

## Get an API Key

1. Visit [https://console.aisa.one/](https://console.aisa.one/)
2. Sign up and create an API key
3. Set it as `AISA_API_KEY` or use the onboarding wizard

## Notes

* AIsa's endpoint is OpenAI-compatible (`https://api.aisa.one/v1`)
* All models support streaming and function calling
* `supportsDeveloperRole` is set to `false` for Qwen models
* Context windows vary per model; see the [model catalog](https://aisa.one/docs/guides/models.md) rather than assuming a default
* Reasoning (thinking) is enabled for all default models
* Kimi K2.5 requires `temperature=1.0` — other values cause API errors
* Kimi K2.5 via AIsa is covered by enterprise Zero Data Retention (ZDR) — data is not retained or used for training
* Image/Video generation models (WAN) are available but require separate configuration
* AIsa API serves 103 models as of October 16, 2026 — use the models endpoint to discover the current list

## Get started

1. Sign up at [aisa.one](https://aisa.one) and create an API key in the console.
2. Set it in your shell: `export AISA_API_KEY="your-key"`.
3. Install the skill with one of the commands under [Install](#install), then start a new agent session.

## Related

> [card] [Quick Setup: How to Use AIsa in OpenClaw](https://aisa.one/docs/guides/tutorials/use-aisa-in-openclaw.md)
>
> Recommended OpenClaw setup path.

> [card] [AIsa CN-LLM Route](https://aisa.one/docs/agent-skills/cn-llm.md)
>
> Route Chinese-language prompts to Chinese LLMs.

> [card] [AIsa LLM Router](https://aisa.one/docs/agent-skills/llm-router.md)
>
> Route prompts across supported models.


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