更新AI模型列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>更新AI模型列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>` <a href="https://admincp.92exam.cn/Instructions/getailist">https://admincp.92exam.cn/Instructions/getailist</a></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;status&quot;: 0,
&quot;message&quot;: &quot;ok&quot;,
&quot;result&quot;: [
{
&quot;id&quot;: 1,
&quot;form&quot;: &quot;m2&quot;,
&quot;module&quot;: &quot;xy-openai-gpt35-16k&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00600&quot;,
&quot;outputs&quot;: &quot;0.00800&quot;,
&quot;rate&quot;: 300
},
{
&quot;id&quot;: 2,
&quot;form&quot;: &quot;m2&quot;,
&quot;module&quot;: &quot;xy-openai-gpt4&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.06000&quot;,
&quot;outputs&quot;: &quot;0.12000&quot;,
&quot;rate&quot;: 240
},
{
&quot;id&quot;: 3,
&quot;form&quot;: &quot;m2&quot;,
&quot;module&quot;: &quot;xy-openai-gpt4-32k&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.12000&quot;,
&quot;outputs&quot;: &quot;0.24000&quot;,
&quot;rate&quot;: 240
},
{
&quot;id&quot;: 4,
&quot;form&quot;: &quot;m2&quot;,
&quot;module&quot;: &quot;xy-openai-gpt35&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00300&quot;,
&quot;outputs&quot;: &quot;0.00400&quot;,
&quot;rate&quot;: 300
},
{
&quot;id&quot;: 5,
&quot;form&quot;: &quot;m2&quot;,
&quot;module&quot;: &quot;gpt-4-1106-preview&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.02000&quot;,
&quot;outputs&quot;: &quot;0.06000&quot;,
&quot;rate&quot;: 240
},
{
&quot;id&quot;: 6,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;anthropic/claude-3-haiku&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00025&quot;,
&quot;outputs&quot;: &quot;0.00125&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 7,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;openai/gpt-3.5-turbo&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00050&quot;,
&quot;outputs&quot;: &quot;0.00150&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 8,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;openai/gpt-4-turbo&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.01000&quot;,
&quot;outputs&quot;: &quot;0.03000&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 9,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;anthropic/claude-3-opus&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.01500&quot;,
&quot;outputs&quot;: &quot;0.07500&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 10,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;google/gemma-7b-it:free&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00000&quot;,
&quot;outputs&quot;: &quot;0.00000&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 11,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;openchat/openchat-7b&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00018&quot;,
&quot;outputs&quot;: &quot;0.00018&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 12,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;openai/gpt-4o-mini&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00011&quot;,
&quot;outputs&quot;: &quot;0.00420&quot;,
&quot;rate&quot;: 128
},
{
&quot;id&quot;: 13,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;anthropic/claude-3-sonnet&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00300&quot;,
&quot;outputs&quot;: &quot;0.01500&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 14,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;google/palm-2-chat-bison&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00025&quot;,
&quot;outputs&quot;: &quot;0.00050&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 15,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;google/palm-2-chat-bison-32k&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00025&quot;,
&quot;outputs&quot;: &quot;0.00050&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 16,
&quot;form&quot;: &quot;ora&quot;,
&quot;module&quot;: &quot;ernie-speed-128k&quot;,
&quot;used&quot;: &quot;n&quot;,
&quot;inputs&quot;: &quot;0.00000&quot;,
&quot;outputs&quot;: &quot;0.00000&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 18,
&quot;form&quot;: &quot;gemini&quot;,
&quot;module&quot;: &quot;gemini-1.5-flash&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00000&quot;,
&quot;outputs&quot;: &quot;0.00000&quot;,
&quot;rate&quot;: 15
},
{
&quot;id&quot;: 19,
&quot;form&quot;: &quot;gemini&quot;,
&quot;module&quot;: &quot;gemini-1.5-pro&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00000&quot;,
&quot;outputs&quot;: &quot;0.00000&quot;,
&quot;rate&quot;: 2
},
{
&quot;id&quot;: 20,
&quot;form&quot;: &quot;gemini&quot;,
&quot;module&quot;: &quot;gemini-1.0-pro&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00000&quot;,
&quot;outputs&quot;: &quot;0.00000&quot;,
&quot;rate&quot;: 2
},
{
&quot;id&quot;: 21,
&quot;form&quot;: &quot;openai&quot;,
&quot;module&quot;: &quot;gpt-4o-mini&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00017&quot;,
&quot;outputs&quot;: &quot;0.00066&quot;,
&quot;rate&quot;: 150
},
{
&quot;id&quot;: 22,
&quot;form&quot;: &quot;openai&quot;,
&quot;module&quot;: &quot;gpt-35-turbo-16k&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00050&quot;,
&quot;outputs&quot;: &quot;0.00050&quot;,
&quot;rate&quot;: 35
},
{
&quot;id&quot;: 23,
&quot;form&quot;: &quot;openai&quot;,
&quot;module&quot;: &quot;gpt-4o&quot;,
&quot;used&quot;: &quot;y&quot;,
&quot;inputs&quot;: &quot;0.00500&quot;,
&quot;outputs&quot;: &quot;0.01500&quot;,
&quot;rate&quot;: 35
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>0正常,1token丢失,2token错误,3token禁用</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">int</td>
<td>序号</td>
</tr>
<tr>
<td style="text-align: left;">form</td>
<td style="text-align: left;">string</td>
<td>供应商</td>
</tr>
<tr>
<td style="text-align: left;">module</td>
<td style="text-align: left;">string</td>
<td>Ai模型</td>
</tr>
<tr>
<td style="text-align: left;">used</td>
<td style="text-align: left;">enum</td>
<td>y可用,n不可用</td>
</tr>
<tr>
<td style="text-align: left;">inputs</td>
<td style="text-align: left;">float</td>
<td>请求每token费用</td>
</tr>
<tr>
<td style="text-align: left;">outputs</td>
<td style="text-align: left;">float</td>
<td>回应每token费用</td>
</tr>
<tr>
<td style="text-align: left;">rate</td>
<td style="text-align: left;">intval</td>
<td>每秒请求令牌数(单词)</td>
</tr>
</tbody>
</table>