API do modelo aion-labs/aion-3.5-mini na OpenRouter, $0.7 / $1.4 por milhão de tokens, contexto 262.144 tokens. Exemplos em curl, Python e JavaScript, teste ao vivo.
Aion 3.5 Mini is a multi-model roleplaying and storytelling system from AionLabs, built on the GLM family of models. It is the smaller, lower-cost sibling of Aion 3.5 and uses...
- Tipo
- Modelo
- Provedor
- OpenRouter
- ID do modelo
aion-labs/aion-3.5-mini- Preço
- Pago
- Preço entrada / saída
- $0.7 / $1.4 por milhão de tokens
- Acesso sem chave
- Não
- Variável da chave
OPENROUTER_API_KEY- URL base (compatível com OpenAI)
https://openrouter.ai/api/v1- Contexto
- 262.144 tokens
- Entradas
- Texto
- Recursos
- Raciocínio, Saída JSON, Chamada de ferramentas
- Avaliação dos desenvolvedores
- Ainda sem avaliação
- Documentação
- https://openrouter.ai/aion-labs/aion-3.5-mini
Exemplos de código
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.5-mini","messages":[{"role":"user","content":"Olá, apresente-se em uma frase."}]}'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.5-mini",
messages=[{"role": "user", "content": "Olá, apresente-se em uma frase."}],
)
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.5-mini',
messages: [{ role: 'user', content: 'Olá, apresente-se em uma frase.' }],
})
console.log(r.choices[0].message.content)
Gerar o código de integração →
Buscas populares
Perguntas frequentes
A API do AionLabs: Aion 3.5 Mini é gratuita?
Não: o AionLabs: Aion 3.5 Mini é uma API paga ($0.7 / $1.4 por milhão de tokens).
Como chamar o AionLabs: Aion 3.5 Mini no meu código?
O AionLabs: Aion 3.5 Mini oferece uma API compatível com OpenAI em https://openrouter.ai/api/v1: use qualquer SDK da OpenAI (Python, JavaScript…) com essa URL base. Identificador do modelo: aion-labs/aion-3.5-mini. Há código pronto (streaming, JSON, novas tentativas) na caixa de ferramentas do desenvolvedor.
Qual é a janela de contexto do AionLabs: Aion 3.5 Mini?
O AionLabs: Aion 3.5 Mini aceita até 262.144 tokens de contexto (mensagem e histórico).
Quais são as alternativas ao AionLabs: Aion 3.5 Mini?
APIs semelhantes no catálogo: AionLabs: Aion 3.5, AionLabs: Aion-3.0-Mini, AionLabs: Aion-3.0, AionLabs: Aion-2.0, AionLabs: Aion-RP 1.0 (8B).
Alternativas
- AionLabs: Aion 3.5 — Pago
- AionLabs: Aion-3.0-Mini — Pago
- AionLabs: Aion-3.0 — Pago
- AionLabs: Aion-2.0 — Pago
- AionLabs: Aion-RP 1.0 (8B) — Pago