Oregami
Repositories/oxedyne/daimond

oxedyne/daimond/www/guide/zh-Hans/models.html

7.4 KiB, 1 run

created by r2519314175:1313, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1<!DOCTYPE html>
2<html lang="zh-Hans" data-guide-locale="zh-Hans" data-guide-locales="en de es fr ja ko pt-BR zh-Hans">
3<head>
4<meta charset="UTF-8">
5<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
6<title>模型与额度 — Daimond 使用指南</title>
7<link rel="icon" type="image/svg+xml" href="../../assets/daimond_mark.svg">
8<link rel="stylesheet" href="../../css/variables.css">
9<link rel="stylesheet" href="../../css/guide.css">
10<script src="../frame.js"></script>
11<script src="search-index.js"></script>
12<script src="../search.js"></script>
13</head>
14<body>
15
16<header class="site-head">
17 <div class="site-head-inner">
18 <a class="brand" href="index.html" aria-label="Daimond 使用指南,首页">
19 <img class="wordmark wm-dark" src="../../assets/daimond_word.svg" alt="Daimond" translate="no">
20 <img class="wordmark wm-light" src="../../assets/daimond_word_dark.svg" alt="Daimond" translate="no">
21 <span class="brand-sub">使用指南</span>
22 </a>
23 <nav class="site-nav" aria-label="指南页面">
24 <a href="index.html">开始使用</a>
25 <a href="interface.html">界面</a>
26 <a href="models.html" aria-current="page">模型与额度</a>
27 <a href="chats-and-diamonds.html">聊天与 Diamonds</a>
28 <a href="../capps.html">Capps</a>
29 <a href="email-web-files.html">邮件、网页与文件</a>
30 <a href="accounts.html">账户</a>
31 <a href="sync.html">跨设备同步</a>
32 <a href="spending.html">支出</a>
33 <a href="../machine-operations.html">在本机运行命令</a>
34 <a href="../social.html">社交</a>
35 </nav>
36 </div>
37</header>
38
39<main>
40 <h1>模型与额度</h1>
41 <p class="lede">daimon 用一个模型来思考。你可以带上自己的提供商密钥,直接付钱给那家提供商;也可以买额度,让 Daimond 替你跑模型。这一页两条都讲,还讲怎么让额度不断档。</p>
42
43 <h2 id="s1">给 daimon 供能的两条路</h2>
44 <div class="cards">
45 <div class="card">
46 <h3 id="s2">带上你自己的密钥</h3>
47 <p>把你已经有的模型提供商账户接进来。你的消息直接去那家提供商;Daimond 不在这条路上,我们也不收你任何钱。</p>
48 </div>
49 <div class="card">
50 <h3 id="s3">买额度</h3>
51 <p>没有提供商账户要管。Daimond 替你跑模型,从你买下的额度里扣。没有订阅:买到的一直是你的。</p>
52 </div>
53 </div>
54 <p>任意一条都足以开始。两条也可以都走 —— 日常干活用自己的密钥,不想管密钥的时候用额度。</p>
55
56 <h2 id="s4">连接一家提供商</h2>
57 <p>打开 <span class="ui">模型</span> 行,它在左下角的管理面板里。你用到的每一家提供商在这里各有一把密钥,也列出新聊天从哪个模型开始。要添加一家,选择 <span class="ui">+ 添加提供商</span> ,然后回答同样的三个问题 —— 不管提供商是哪一家。</p>
58
59 <figure class="shot" data-shot="models-form">
60 <img alt="添加提供商的表单:一个提供商下拉框、一个 API 密钥框、一个默认模型下拉框,还有一个保存并开始的按钮。" src="../shots/models-form.png" loading="lazy">
61 <figcaption>添加一家提供商:选好提供商,粘贴密钥,给一个默认模型加星,然后保存并开始。</figcaption>
62 </figure>
63
64 <ol class="steps">
65 <li>
66 <h3 id="s5">选一家提供商</h3>
67 <p>从列表里挑: <strong translate="no">Anthropic</strong>, <strong translate="no">Fireworks AI</strong>, <strong translate="no">OpenRouter</strong>, <strong translate="no">Together AI</strong>, <strong translate="no">Groq</strong>, <strong translate="no">DeepInfra</strong>,或者 <strong>自定义</strong> 用于任何别的、说同一套 chat-completions API 的服务。选了自定义,会露出一个 <strong>基础 URL</strong> 框,把 Daimond 指向那个服务。</p>
68 </li>
69 <li>
70 <h3 id="s6">粘贴你的 API 密钥</h3>
71 <p>把你提供商账户里的密钥粘进 <strong>API 密钥</strong> 框。它只存在这台设备上,用你的密码短语包住,也只发给你选的那家提供商。</p>
72 </li>
73 <li>
74 <h3 id="s7">给一个默认模型加星</h3>
75 <p>从列表里选一个 <strong>默认模型</strong> (自定义提供商则打一个模型 ID)。新的聊天和 Diamond 都从这一个模型开始。然后选择 <span class="ui">保存并开始</span>.</p>
76 </li>
77 </ol>
78
79 <div class="note"><strong>一切都留在这台设备上。</strong> 你的密钥、聊天和文件只存在于这个浏览器里。什么都不会发给我们 —— 你添加的提供商密钥只跟那家提供商说话,不跟任何别人。</div>
80
81 <h3 id="s8">默认模型,以及给某一场聊天换一个</h3>
82 <p>有一个模型是默认的,新的聊天和 Diamond 都从它开始。任何一个已连接的模型都可以只用于某一场聊天:用中间面板右上角、聊天头部里的那个选择器切换,默认设置不动。Diamond 还可以给它派出的工人单独指定一个模型。</p>
83
84 <h2 id="s9">购买额度</h2>
85 <p>打开 <span class="ui">额度</span> 行,它在管理面板里。它显示你的余额,以及一组可以买的额度包。没有订阅:买到的一直是你的,除非你打开自动充值,否则不会再有任何扣费。</p>
86
87 <figure class="shot" data-shot="credits">
88 <img alt="额度视图:当前余额、一行可以买的额度包,下面是自动充值的设置。" src="../shots/credits.png" loading="lazy">
89 <figcaption>额度:你的余额、可以买的额度包,下面是自动充值的设置。</figcaption>
90 </figure>
91
92 <p>付款在支付服务商自己的托管页面上完成。卡号、有效期和安全码从来不会输进 Daimond,所以这里没有什么可泄露的。</p>
93
94 <h2 id="s10">自动充值</h2>
95 <p>自动充值是一条常设指令:额度快用完时买入,好让一件长活不至于做到一半停下。这是 Daimond 唯一可能在你不在场时扣一张已保存的卡的地方,所以它被刻意做得直白。三个数字定下它,就在额度视图里额度包的下面:</p>
96 <ul>
97 <li><strong>当余额低于</strong>:触发一次充值的余额。</li>
98 <li><strong>每次买这么多</strong>:一次充值加多少。</li>
99 <li><strong>每月最多花</strong>:一个自然月里所有充值加起来的硬上限。这个数要仔细定。它是天花板,不是目标;它和扣费走同一条代码路径,所以什么都绕不过去。</li>
100 </ul>
101
102 <div class="note">没有保存过卡,自动充值就打不开 —— 一个打开之后悄悄失败的开关,比一个禁用着并说明原因的开关更糟。保存一张卡会跳转到支付服务商的托管页面;Daimond 从不看到卡的信息。</div>
103
104 <div class="next">
105 <a href="interface.html">&larr; 界面</a>
106 <a href="chats-and-diamonds.html">下一页:聊天与 Diamonds &rarr;</a>
107 </div>
108</main>
109
110<footer class="site-foot">
111 <span>Daimond 在你的浏览器里运行。这里的东西不会发给我们。</span>
112 <nav aria-label="指南页面">
113 <a href="index.html">开始使用</a>
114 <a href="interface.html">界面</a>
115 <a href="models.html">模型</a>
116 <a href="chats-and-diamonds.html">聊天与 Diamonds</a>
117 <a href="../capps.html">Capps</a>
118 <a href="email-web-files.html">邮件、网页与文件</a>
119 <a href="accounts.html">账户</a>
120 <a href="sync.html">跨设备同步</a>
121 <a href="spending.html">支出</a>
122 <a href="../machine-operations.html">在本机运行命令</a>
123 <a href="../social.html">社交</a>
124 </nav>
125</footer>
126</body>
127</html>