{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"这篇解决什么问题"}]},{"type":"text","value":"：手上有按月付费的编程订阅，从头到尾做一遍：在自己的机器上起节点，把订阅接成渠道，自己用，再挂到 "},{"type":"element","tagName":"a","properties":{"href":"token-market"},"children":[{"type":"text","value":"Token 市场"}]},{"type":"text","value":" 卖给别人。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"订阅的 Key 只放在你的节点上，Tare 不保存。调用都在这台节点上执行：你自己的、买方的都一样。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"能接哪些订阅"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"新建订阅渠道时，接入点列表里有这几项："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"thead","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"接入点"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"地址"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"GLM Coding Plan (bigmodel.cn)"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"https://open.bigmodel.cn/api/coding/paas/v4"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"GLM Coding Plan (z.ai)"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"https://api.z.ai/api/coding/paas/v4"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Kimi For Coding"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"https://api.kimi.com/coding/v1"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"MiniMax Coding Plan"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"https://api.minimaxi.com/v1"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Local address on the node"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"你在那台机器上跑的、OpenAI 兼容的本地服务，例如 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"http://127.0.0.1:8317/v1"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"列表里没有的订阅，只要按 Key 调用、接口是 OpenAI 兼容的，选 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Custom"}]},{"type":"text","value":" 手填地址。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"1. 找一台一直开着的机器，起节点"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"订阅渠道只在持有它的那台节点上执行，节点离线时这条渠道被跳过。挑一台一直开机、能上网的机器。Linux 最合适；Mac 上的节点只在有人登录时运行。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"# Linux（需要 root）\nsudo bash <(curl -fsSL https://www.jamerly.ai/tare-local-node/install.sh)\n\n# macOS（不要加 sudo）\nbash <(curl -fsSL https://www.jamerly.ai/tare-local-node/install.sh)\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在终端里运行时，脚本会显示一个码和一个链接。在任意一台已登录 jamerly.ai 的设备上打开链接、核对码、点允许，注册令牌和 Inference key 就自动生成了。无人值守安装时照旧传 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"--token \"<注册令牌>\" --key \"<API Key>\""}]},{"type":"text","value":"，令牌在控制台 → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Local Nodes"}]},{"type":"text","value":" → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Generate registration token"}]},{"type":"text","value":" 生成。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"装完后在 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Local Nodes"}]},{"type":"text","value":" 页能看到这台节点，状态 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Online"}]},{"type":"text","value":"、"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Tunnel connected"}]},{"type":"text","value":"。节点版本要 0.4.9 及以上，旧版本重跑一次安装命令即可升级。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"要卖给别人时，放行这台机器的 UDP 8091：买方节点能直接连到你的节点，调用不用经 Tare 绕一圈。连不上时照常经 Tare，不影响使用。安装细节和其它变量见 "},{"type":"element","tagName":"a","properties":{"href":"local-nodes"},"children":[{"type":"text","value":"本地节点"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"在节点上一次做完："},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"tare-local-node share"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在第 1 步那台机器上运行："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"# Linux\nsudo tare-local-node share\n\n# macOS\ntare-local-node share\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"终端里会显示一个码和一个链接。在任意一台已登录 jamerly.ai 的设备上打开链接，核对码和终端里的一致，点允许。之后终端里列出这台机器能共享的东西："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"这台机器上跑着的 OpenAI 兼容服务（Ollama、vLLM、LM Studio、llama.cpp）和它们的模型。别的地址（包括局域网里另一台机器上的服务）用 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"添加本机或局域网地址"}]},{"type":"text","value":" 加。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Coding 订阅。"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"添加订阅"}]},{"type":"text","value":"：选接入点，输入 Key。Key 只写进这台节点的 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"keys.json"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"每个模型选 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"自用"}]},{"type":"text","value":" 或 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"自用+上架"}]},{"type":"text","value":"。上架的填输入价、输出价和每个周期可卖多少 token。按 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"s"}]},{"type":"text","value":" 执行：建渠道、写钥匙、建路由、建挂牌并送审，最后经这台节点试调一次。以后再运行一次就能改价、撤掉某个模型，或者撤掉整条渠道（"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"d"}]},{"type":"text","value":"）。节点版本要 0.4.33 及以上。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"本机模型（Ollama、LM Studio 等）的完整步骤见 "},{"type":"element","tagName":"a","properties":{"href":"local-models"},"children":[{"type":"text","value":"共享本机模型"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"下面几步是在控制台里手动做同样的事。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"2. 建订阅渠道"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"控制台 → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Channels"}]},{"type":"text","value":" → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Add channel"}]},{"type":"text","value":"，顶部切到 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Self-hosted"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Node"}]},{"type":"text","value":" 选第 1 步那台节点。还没装节点的话选 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"New machine…"}]},{"type":"text","value":"，第 3 步那条命令会顺带把节点装上。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Base URL"}]},{"type":"text","value":" 左边的列表里选你的订阅，地址会自动填上。"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Name"}]},{"type":"text","value":" 起个好认的名字。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"保存。"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"这一页上没有填 Key 的地方。保存后弹框底部给出下一步要在节点机器上运行的命令，点 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Copy"}]},{"type":"text","value":" 复制。选了 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"New machine…"}]},{"type":"text","value":" 的，命令里带一个一次性注册令牌，只显示这一次，24 小时内有效；过期了就再点开这条渠道，Node 重新选 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"New machine…"}]},{"type":"text","value":" 保存。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"3. 把订阅 Key 写到节点上"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在节点那台机器上运行第 2 步复制的命令，形如（"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"123"}]},{"type":"text","value":" 是渠道 id）："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"# Linux\nsudo bash <(curl -fsSL https://www.jamerly.ai/tare/share.sh) --channel 123\n\n# macOS（不要加 sudo）\nbash <(curl -fsSL https://www.jamerly.ai/tare/share.sh) --channel 123\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"脚本在本机提问订阅 Key，写进节点的 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"keys.json"}]},{"type":"text","value":"，再让你选一个路由到这条渠道的模型、经本机节点试调一次，并说明这条渠道的结果：成功、订阅方拒绝了 Key、Key 还没被读到，或者这个模型由别的渠道接了。本机还没有节点时它先调安装脚本（加 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"--token <注册令牌>"}]},{"type":"text","value":"），节点低于 0.4.9 时先升级。"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"--remove"}]},{"type":"text","value":" 删掉这条渠道的 Key。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"也可以手动写。在那台节点上建 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"keys.json"}]},{"type":"text","value":"，按渠道 id 写进订阅 Key："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"thead","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"系统"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"文件"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Linux"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"/etc/tare-local-node/keys.json"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"macOS"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"~/.config/tare-local-node/keys.json"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"# Linux 示例，渠道 id 是 123\nsudo tee /etc/tare-local-node/keys.json >/dev/null <<'EOF'\n{\"123\": \"<你的订阅 Key>\"}\nEOF\nsudo chmod 600 /etc/tare-local-node/keys.json\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"同一台节点上有几条订阅渠道，就写几项。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"10 秒内生效，不用重启节点。以后重跑安装命令升级也不会动这个文件。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"接入点是 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Local address on the node"}]},{"type":"text","value":" 而本地服务不校验 Key 时，也要写一项，值填任意非空字符串。"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"4. 先自己用"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"给订阅配一条路由：控制台 → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Routing"}]},{"type":"text","value":" → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Add route"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"thead","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"字段"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"填什么"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Model"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"你调用时用的名字，例如 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"my-glm"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Channel"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"第 2 步的订阅渠道"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Upstream name"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"订阅方文档里给的模型名"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"订阅渠道读不到上游的模型列表（Tare 手上没有 Key），"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Upstream name"}]},{"type":"text","value":" 要手填。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在节点那台机器上试一次："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"pre","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"text","value":"curl http://127.0.0.1:8090/v1/chat/completions \\\n  -H \"Authorization: Bearer $TARE_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\": \"my-glm\", \"messages\": [{\"role\": \"user\", \"content\": \"hello\"}]}'\n"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"返回 200 就接通了。返回 503 时看节点日志：缺 Key 会有一行 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"WARNING: channel 123 skipped"}]},{"type":"text","value":"，写明缺哪个渠道 id、该写进哪个文件。日志命令见 "},{"type":"element","tagName":"a","properties":{"href":"local-nodes"},"children":[{"type":"text","value":"本地节点"}]},{"type":"text","value":" 里的「让节点一直跑着」。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"接通之后，这个模型名在哪都能用：打这台节点、打你的另一台节点（节点之间直连）、打 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"https://tare.jamerly.ai/v1"}]},{"type":"text","value":"（Tare 经隧道交给这台节点），或者在编程工具里用，见 "},{"type":"element","tagName":"a","properties":{"href":"coding-tools"},"children":[{"type":"text","value":"在编程工具里使用"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"5. 挂到市场上"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"第一次出售先开供给方身份：控制台 → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Market"}]},{"type":"text","value":" → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Selling"}]},{"type":"text","value":"，填名称、主页地址和简介，点 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Start selling"}]},{"type":"text","value":"。主页地址开通后不能改。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"然后建挂牌："}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"New listing"}]},{"type":"text","value":"，渠道选这条订阅渠道，上游模型填第 4 步的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Upstream name"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"填每百万 token 的输入价、输出价。缓存读写价可选。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Tokens for sale"}]},{"type":"text","value":" 选 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Limited"}]},{"type":"text","value":"。订阅自己有用量上限（很多按 5 小时或按周计），把每个周期的可售量设在上限以内，留出自己用的部分。周期可选每 5 小时、每天、每 7 天、每 30 天或不重置，之后随时在 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Quota"}]},{"type":"text","value":" 里改。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Submit for review"}]},{"type":"text","value":"。Tare 用这条渠道跑一次"},{"type":"element","tagName":"a","properties":{"href":"channels"},"children":[{"type":"text","value":"渠道评估"}]},{"type":"text","value":"，评估由你的节点执行，消耗的是订阅自己的额度。没有检查项不通过就上架。"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"挂牌在报价页 "},{"type":"element","tagName":"a","properties":{"href":"/zh/market"},"children":[{"type":"text","value":"/market"}]},{"type":"text","value":" 和你的供给方主页上显示，来源标为「在供给方的机器上执行」。买方的提示词和回复经过你的节点。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"6. 上架之后"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"收益"}]},{"type":"text","value":"：每次调用按挂牌价全额记给你，冻结 7 天后以「Market earning」进钱包。"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Market"}]},{"type":"text","value":" → "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Earnings"}]},{"type":"text","value":" 看冻结中和已入账的金额，按月下载 CSV 对账单。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"节点要一直在线"}]},{"type":"text","value":"：节点离线时挂牌被跳过，买方的调用由他路由里的其它候选接。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"用量对账"}]},{"type":"text","value":"：这类调用两台节点各报一份 token 数，Tare 按两边的数对账。上报数和实际收发的内容对不上会按 Tare 的数计费，反复出现挂牌会被暂停。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"调价"}]},{"type":"text","value":"：降价立即生效，涨价 7 天后生效。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"下架"}]},{"type":"text","value":"："},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Delist"}]},{"type":"text","value":" 之后立即不再接新流量，已记的收益照常结算。订阅到期或不想卖了，先下架，再删 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"keys.json"}]},{"type":"text","value":" 里那一项。"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"相关："},{"type":"element","tagName":"a","properties":{"href":"token-market"},"children":[{"type":"text","value":"Token 市场"}]},{"type":"text","value":"、"},{"type":"element","tagName":"a","properties":{"href":"local-nodes"},"children":[{"type":"text","value":"本地节点"}]},{"type":"text","value":"、"},{"type":"element","tagName":"a","properties":{"href":"routing"},"children":[{"type":"text","value":"路由"}]},{"type":"text","value":"。"}]}]}