OpenRouter 提供的 stealth/tinsel-alpha 模型 API,免费,上下文 1,048,576 token。提供 curl、Python、JavaScript 示例及在线测试。
Tinsel Alpha is a small model for high-volume coding and tool-use tasks. Use it for focused code edits, tool calls, and pulling key information from documents. In a larger workflow,...
- 类型
- 模型
- 服务商
- OpenRouter
- 模型 ID
stealth/tinsel-alpha- 价格
- 免费
- 无需密钥访问
- 否
- 密钥环境变量
OPENROUTER_API_KEY- Base URL(兼容 OpenAI)
https://openrouter.ai/api/v1- 上下文
- 1,048,576 token
- 输入
- 文本, 图像, 视频, 文件, 音频
- 功能
- 推理, JSON 输出, 工具调用
- 开发者评分
- 暂无评分
- 文档
- https://openrouter.ai/stealth/tinsel-alpha
- 最近检查
- 2026-12-05T01:26:39+00:00
代码示例
cURL
curl https://openrouter.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model":"stealth/tinsel-alpha","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="stealth/tinsel-alpha",
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: 'stealth/tinsel-alpha',
messages: [{ role: 'user', content: '你好,请用一句话介绍你自己。' }],
})
console.log(r.choices[0].message.content)
热门搜索
常见问题
Tinsel Alpha API 免费吗?
是的:Tinsel Alpha 可凭 API 密钥免费使用,但受服务商的速率限制。
如何在代码中调用 Tinsel Alpha?
Tinsel Alpha 在 https://openrouter.ai/api/v1 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 模型标识:stealth/tinsel-alpha。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。
Tinsel Alpha 的上下文窗口有多大?
Tinsel Alpha 最多支持 1,048,576 个令牌的上下文(提示词和历史记录)。
Tinsel Alpha 有哪些替代方案?
目录中的类似 API:Glyph Cluster, Tinsel Alpha。
替代方案
- Glyph Cluster — 免费, 无需密钥
- Tinsel Alpha — 免费, 无需密钥