TensaHub › OpenRouter

AionLabs: Aion-3.0

OpenRouter 提供的 aion-labs/aion-3.0 模型 API,$3 / $6 每百万 token,上下文 131,072 token。提供 curl、Python、JavaScript 示例及在线测试。

在目录中测试并评分

Aion-3.0 is a multi-model roleplaying and storytelling system from AionLabs, built on the GLM family of models. It uses a collaborative generation process in which multiple specialized models each contribute...

类型
模型
服务商
OpenRouter
模型 ID
aion-labs/aion-3.0
价格
付费
输入 / 输出价格
$3 / $6 每百万 token
无需密钥访问
否
密钥环境变量
OPENROUTER_API_KEY
Base URL(兼容 OpenAI)
https://openrouter.ai/api/v1
上下文
131,072 token
输入
文本
功能
推理, JSON 输出, 工具调用
开发者评分
暂无评分
文档
https://openrouter.ai/aion-labs/aion-3.0

代码示例

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"aion-labs/aion-3.0","messages":[{"role":"user","content":"你好,请用一句话介绍你自己。"}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
    model="aion-labs/aion-3.0",
    messages=[{"role": "user", "content": "你好,请用一句话介绍你自己。"}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
  model: 'aion-labs/aion-3.0',
  messages: [{ role: 'user', content: '你好,请用一句话介绍你自己。' }],
})
console.log(r.choices[0].message.content)

生成集成代码 →

热门搜索

常见问题

AionLabs: Aion-3.0 API 免费吗?

否:AionLabs: Aion-3.0 是付费 API($3 / $6 每百万 token)。

如何在代码中调用 AionLabs: Aion-3.0?

AionLabs: Aion-3.0 在 https://openrouter.ai/api/v1 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 模型标识:aion-labs/aion-3.0。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。

AionLabs: Aion-3.0 的上下文窗口有多大?

AionLabs: Aion-3.0 最多支持 131,072 个令牌的上下文(提示词和历史记录)。

AionLabs: Aion-3.0 有哪些替代方案?

目录中的类似 API:AionLabs: Aion 3.5 Mini, AionLabs: Aion 3.5, AionLabs: Aion-3.0-Mini, AionLabs: Aion-2.0, AionLabs: Aion-RP 1.0 (8B)。

替代方案