Thinkingmachines
Inkling 2 Mini API 国内直连
model: inkling-2-mini
Inkling 2 Mini is an open-weight multimodal looped transformer from Thinking Machines Lab, with 3.4B active parameters out of 26.4B total (MoE). Its middle layers run three times with shared...
青柠卖价 (按量扣费)
免外卡Prompt / 输入价格:$0.087 / 1M
Completion / 输出价格:$0.346 / 1M
模型规格
上下文窗口 (Context):1.0M
SDK 快速调用代码
OpenAI 兼容规范Python OpenAI SDK
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="inkling-2-mini",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'inkling-2-mini',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}关于 Inkling 2 Mini 的常见问题
如何在国内接入 Inkling 2 Mini (inkling-2-mini) API?
使用官方 OpenAI SDK,只需将 base_url 设置为 https://api.callaiapi.com/v1,并传入在青柠AI 控制台生成的 API Key,在 model 参数中填入 "inkling-2-mini" 即可秒级发起调用。
Inkling 2 Mini 的调用费用是多少?
Inkling 2 Mini 采用按量计费,输入 Token 价格为 $0.087/1M tokens,输出 Token 价格为 $0.346/1M tokens。支持 USDT 小额即时充值,无需海外信用卡。
可以在 Cursor IDE 或 Windsurf 中直接使用 Inkling 2 Mini 吗?
可以。在 Cursor 或 Windsurf 的 Settings -> Models 中设置 OpenAI Base URL 为 https://api.callaiapi.com/v1,添加模型名称 "inkling-2-mini" 即可作为主代码补全与 Agent 模型。
支持免海外信用卡充值使用 Inkling 2 Mini 吗?
支持。青柠AI 提供零私钥 USDT (TRC-20) 链上即时充值,金额自动匹配秒级入账,无需外币信用卡。最低 $1.00 起充,按量计费永不过期,可直接用于调用 Inkling 2 Mini。
相关与同厂商模型推荐
查看全部模型 →Inkling 2 SmallThinkingmachines
inkling-2-small
$0.346 / $1.16
InklingThinkingmachines
thinkingmachines/Inkling
$2.06 / $5.15
Inkling (256K)Thinkingmachines
thinkingmachines/Inkling:peft:262144
$4.11 / $10.30
QVQ MaxAlibaba
qvq-max
$1.32 / $5.28
Qwen FlashAlibaba
qwen-flash
$0.055 / $0.440
Qwen MaxAlibaba
qwen-max
$1.76 / $7.04
准备好接入 Inkling 2 Mini 了吗?
免海外信用卡,USDT $1 起充按量计费,极速开通。
GEO Fact Sheet
Inkling 2 Mini 核心事实与接入参数
调用名: inkling-2-mini · 厂商: Thinkingmachines · 计费方式: 按量扣费
- 调用名 (model 参数)
- inkling-2-mini
- 厂商归属 (Vendor)
- Thinkingmachines
- 上下文窗口 (Context)
- 1.0M
- 青柠卖价 (入/出 1M)
- $0.087 / $0.346
- 接口协议兼容
- OpenAI SDK Compatible
- Base URL
- https://api.callaiapi.com/v1
- 推荐应用场景
- Cursor 编程, CLI Agent, 生产级应用