{"id":256,"date":"2026-10-05T02:13:54","date_gmt":"2026-10-05T02:13:54","guid":{"rendered":"https:\/\/ntokenx.com\/blog\/index.php\/2026\/10\/05\/cherry-studio-api\/"},"modified":"2026-10-09T09:47:55","modified_gmt":"2026-10-09T09:47:55","slug":"cherry-studio-api","status":"publish","type":"post","link":"https:\/\/ntokenx.com\/blog\/index.php\/2026\/10\/05\/cherry-studio-api\/","title":{"rendered":"Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\uff1a\u53c2\u6570\u3001\u6b65\u9aa4\u4e0e\u6392\u9519\u6307\u5357"},"content":{"rendered":"<p><em>\u4f5c\u8005\uff1anTokenX\uff5c\u53d1\u5e03\u65e5\u671f\uff1a2026-10-05\uff5c\u66f4\u65b0\u65e5\u671f\uff1a2026-10-05<\/em><\/p>\n<p>Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\uff0c\u6838\u5fc3\u4e0d\u662f\u7b80\u5355\u7c98\u8d34\u5bc6\u94a5\uff0c\u800c\u662f\u8ba9<strong>\u63a5\u53e3\u534f\u8bae\u3001API \u5730\u5740\u3001API Key \u4e0e\u6a21\u578b ID<\/strong>\u56db\u9879\u5b8c\u5168\u5bf9\u5e94\u3002\u53ea\u8981\u5148\u786e\u8ba4\u670d\u52a1\u5546\u91c7\u7528\u7684\u534f\u8bae\uff0c\u518d\u6309\u201c\u6dfb\u52a0\u670d\u52a1\u5546\u2014\u5bfc\u5165\u6a21\u578b\u2014\u8fde\u63a5\u68c0\u6d4b\u2014\u771f\u5b9e\u5bf9\u8bdd\u201d\u9a8c\u8bc1\uff0c\u901a\u5e38\u51e0\u5206\u949f\u5373\u53ef\u5b8c\u6210\u3002<\/p>\n<figure class=\"wp-block-image size-large\" style=\"margin:1.5em 0;\"><img decoding=\"async\" src=\"https:\/\/ntokenx.com\/blog\/wp-content\/uploads\/2026\/10\/backend-5187-1.jpg\" alt=\"Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\u7684\u56db\u9879\u53c2\u6570\u793a\u610f\u56fe\" style=\"max-width:100%;height:auto;\"><\/figure>\n<h2>Cherry Studio \u7b2c\u4e09\u65b9 API \u914d\u7f6e\u9700\u8981\u51c6\u5907\u4ec0\u4e48\uff1f<\/h2>\n<p><strong>\u7b2c\u4e09\u65b9 API \u914d\u7f6e\u662f\u628a Cherry Studio \u4f5c\u4e3a\u672c\u5730\u5ba2\u6237\u7aef\uff0c\u8fde\u63a5\u6a21\u578b\u5382\u5546\u3001\u7edf\u4e00\u7f51\u5173\u6216\u6a21\u578b\u4e2d\u8f6c\u670d\u52a1<\/strong>\u3002\u5f00\u59cb\u524d\u9700\u8981\u51c6\u5907\u56db\u9879\u4fe1\u606f\uff0c\u7f3a\u5c11\u4efb\u610f\u4e00\u9879\u90fd\u53ef\u80fd\u51fa\u73b0\u68c0\u6d4b\u5931\u8d25\u6216\u65e0\u6cd5\u5bf9\u8bdd\u3002<\/p>\n<div style=\"overflow-x:auto;\">\n<table style=\"width:100%;border-collapse:collapse;margin:1.5em 0;font-size:0.95em;\">\n<thead>\n<tr>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u53c2\u6570<\/th>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u5e94\u586b\u5199\u7684\u5185\u5bb9<\/th>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u5e38\u89c1\u9519\u8bef<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u63a5\u53e3\u534f\u8bae<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">OpenAI\u3001Anthropic \u6216 Gemini \u517c\u5bb9\u534f\u8bae<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u6309\u6a21\u578b\u540d\u79f0\u731c\u534f\u8bae<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">API \u5730\u5740<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u670d\u52a1\u5546\u6587\u6863\u63d0\u4f9b\u7684 Base URL \u6216\u6839\u5730\u5740<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u91cd\u590d\u586b\u5199 <code>\/v1\/chat\/completions<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">API Key<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u5f53\u524d\u6709\u6548\u4e14\u6709\u6743\u9650\u7684\u5bc6\u94a5<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u5e26\u7a7a\u683c\u3001\u5df2\u8fc7\u671f\u6216\u4f59\u989d\u4e0d\u8db3<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u6a21\u578b ID<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u63a5\u53e3\u5b9e\u9645\u8bc6\u522b\u7684\u6a21\u578b\u6807\u8bc6<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u586b\u5199\u5c55\u793a\u540d\u79f0\u800c\u975e\u6a21\u578b ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Cherry Studio \u7684<a href=\"https:\/\/cherryai.com.cn\/docs\/zh-cn\/pre-basic\/providers\/\">\u5b98\u65b9\u6a21\u578b\u670d\u52a1\u914d\u7f6e\u6587\u6863<\/a>\u5c06\u670d\u52a1\u5546\u5206\u4e3a OpenAI \u517c\u5bb9\u3001Anthropic \u517c\u5bb9\u3001Gemini\u3001Azure OpenAI\u3001\u672c\u5730\u63a8\u7406\u53ca\u7279\u6b8a\u7f51\u5173\u7b49\u7c7b\u578b\u3002\u9009\u62e9\u670d\u52a1\u5546\u65f6\uff0c<strong>\u534f\u8bae\u6bd4\u6a21\u578b\u54c1\u724c\u66f4\u91cd\u8981<\/strong>\uff1a\u540c\u4e00\u4e2a Claude \u6a21\u578b\uff0c\u53ef\u80fd\u901a\u8fc7 Anthropic \u534f\u8bae\u8c03\u7528\uff0c\u4e5f\u53ef\u80fd\u7531\u7f51\u5173\u8f6c\u6362\u4e3a OpenAI \u517c\u5bb9\u534f\u8bae\u3002<\/p>\n<h2>\u5e94\u8be5\u9009\u62e9\u5185\u7f6e\u670d\u52a1\u5546\u8fd8\u662f\u81ea\u5b9a\u4e49\u670d\u52a1\u5546\uff1f<\/h2>\n<p><strong>\u5217\u8868\u4e2d\u5df2\u6709\u5bf9\u5e94\u5e73\u53f0\u65f6\u4f18\u5148\u4f7f\u7528\u5185\u7f6e\u670d\u52a1\u5546\uff1b\u627e\u4e0d\u5230\u5e73\u53f0\uff0c\u6216\u9700\u8981\u586b\u5199\u72ec\u7acb\u7f51\u5173\u5730\u5740\u65f6\uff0c\u518d\u6dfb\u52a0\u81ea\u5b9a\u4e49\u670d\u52a1\u5546<\/strong>\u3002\u5185\u7f6e\u6a21\u677f\u901a\u5e38\u5df2\u7ecf\u9884\u8bbe\u534f\u8bae\u548c\u8bf7\u6c42\u8def\u5f84\uff0c\u53ef\u51cf\u5c11 Base URL \u62fc\u63a5\u9519\u8bef\u3002<\/p>\n<p>\u7b2c\u4e09\u65b9\u5e73\u53f0\u901a\u5e38\u5206\u4e3a\u4e24\u7c7b\uff1a<\/p>\n<ol>\n<li><strong>\u6b63\u89c4 API \u805a\u5408\u6216\u7f51\u5173<\/strong>\uff1a\u7528\u6237\u7ed1\u5b9a\u81ea\u5df1\u7684\u6a21\u578b\u5382\u5546 Key\uff0c\u5e73\u53f0\u8d1f\u8d23\u7edf\u4e00\u8f6c\u53d1\u3001\u8ba1\u8d39\u3001\u76d1\u63a7\u6216\u8def\u7531\u3002<\/li>\n<li><strong>\u7b2c\u4e09\u65b9\u6a21\u578b\u4e2d\u8f6c<\/strong>\uff1a\u5e73\u53f0\u91c7\u8d2d\u6216\u4ee3\u7406\u6a21\u578b\u989d\u5ea6\uff0c\u518d\u5411\u7528\u6237\u63d0\u4f9b\u7edf\u4e00 API\uff0c\u5176\u6388\u6743\u65b9\u5f0f\u3001\u7a33\u5b9a\u6027\u548c\u6570\u636e\u5904\u7406\u89c4\u5219\u53ef\u80fd\u5b58\u5728\u5dee\u5f02\u3002<\/li>\n<\/ol>\n<p>\u9009\u62e9\u7b2c\u4e8c\u7c7b\u670d\u52a1\u524d\uff0c\u5e94\u68c0\u67e5\u8fd0\u8425\u4e3b\u4f53\u3001\u9690\u79c1\u6761\u6b3e\u3001\u65e5\u5fd7\u4fdd\u5b58\u65b9\u5f0f\u3001\u6a21\u578b\u6765\u6e90\u53ca\u6545\u969c\u54cd\u5e94\u3002\u9700\u8981\u96c6\u4e2d\u8c03\u7528\u591a\u4e2a\u6a21\u578b\u65f6\uff0c\u4e5f\u53ef\u4e86\u89e3<a href=\"https:\/\/ntokenx.com\/blog\/index.php\/2026\/09\/23\/domestic-ai-api-aggregation\/\">\u591a\u6a21\u578b API \u805a\u5408\u5e73\u53f0\u7684\u9009\u578b\u65b9\u6cd5<\/a>\u3002\u4f8b\u5982 nTokenX \u7528\u6237\u53ea\u7533\u8bf7\u4e00\u4e2a API Key\uff0c\u5373\u53ef\u8c03\u7528 GPT\u3001Claude\u3001Gemini\u3001Grok \u7b49\u591a\u4e2a\u6a21\u578b\uff0c\u4f46\u5177\u4f53\u534f\u8bae\u3001\u5730\u5740\u548c\u6a21\u578b ID \u4ecd\u5e94\u4ee5\u8d26\u6237\u5185\u5b9e\u9645\u4fe1\u606f\u4e3a\u51c6\u3002<\/p>\n<h2>\u5982\u4f55\u5b8c\u6210 Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\uff1f<\/h2>\n<p><strong>\u6700\u7a33\u59a5\u7684\u914d\u7f6e\u987a\u5e8f\u662f\u5148\u786e\u5b9a\u534f\u8bae\uff0c\u518d\u586b\u5199\u5730\u5740\u548c\u5bc6\u94a5\uff0c\u6700\u540e\u6dfb\u52a0\u6a21\u578b\u5e76\u53d1\u9001\u771f\u5b9e\u8bf7\u6c42<\/strong>\u3002\u4e0d\u8981\u53ea\u770b\u201c\u68c0\u6d4b\u6210\u529f\u201d\uff0c\u56e0\u4e3a\u8fde\u63a5\u68c0\u6d4b\u4e0d\u4e00\u5b9a\u8986\u76d6\u6a21\u578b\u6743\u9650\u3001\u6d41\u5f0f\u8f93\u51fa\u548c\u957f\u5bf9\u8bdd\u3002<\/p>\n<ol>\n<li>\u6253\u5f00 Cherry Studio\uff0c\u8fdb\u5165 <strong>\u8bbe\u7f6e \u2192 \u6a21\u578b\u670d\u52a1<\/strong>\u3002<\/li>\n<li>\u67e5\u627e\u76ee\u6807\u670d\u52a1\u5546\uff1b\u6ca1\u6709\u5bf9\u5e94\u6a21\u677f\u65f6\uff0c\u70b9\u51fb <strong>\u6dfb\u52a0\u670d\u52a1\u5546<\/strong>\u3002<\/li>\n<li>\u8f93\u5165\u5bb9\u6613\u8bc6\u522b\u7684\u670d\u52a1\u5546\u540d\u79f0\uff0c\u4f8b\u5982\u201c\u56e2\u961f\u7edf\u4e00 API\u201d\u3002<\/li>\n<li>\u6839\u636e\u670d\u52a1\u5546\u6587\u6863\u9009\u62e9 OpenAI\u3001Anthropic \u6216 Gemini \u517c\u5bb9\u7aef\u70b9\u3002<\/li>\n<li>\u7c98\u8d34 API Key\uff0c\u68c0\u67e5\u9996\u5c3e\u662f\u5426\u5e26\u6709\u7a7a\u683c\u6216\u6362\u884c\u3002<\/li>\n<li>\u586b\u5199\u670d\u52a1\u5546\u63d0\u4f9b\u7684 API \u5730\u5740\uff0c\u4e0d\u81ea\u884c\u731c\u6d4b\u8def\u5f84\u3002<\/li>\n<li>\u70b9\u51fb <strong>\u83b7\u53d6\u6a21\u578b\u5217\u8868<\/strong>\uff1b\u65e0\u6cd5\u83b7\u53d6\u65f6\uff0c\u624b\u52a8\u6dfb\u52a0\u51c6\u786e\u7684\u6a21\u578b ID\u3002<\/li>\n<li>\u6253\u5f00\u670d\u52a1\u5546\u542f\u7528\u5f00\u5173\uff0c\u6267\u884c\u8fde\u63a5\u68c0\u6d4b\u3002<\/li>\n<li>\u8fd4\u56de\u5bf9\u8bdd\u9875\uff0c\u9009\u62e9\u521a\u6dfb\u52a0\u7684\u6a21\u578b\uff0c\u53d1\u9001\u4e00\u6761\u77ed\u95ee\u9898\u5b8c\u6210\u9a8c\u8bc1\u3002<\/li>\n<\/ol>\n<figure class=\"wp-block-image size-large\" style=\"margin:1.5em 0;\"><img decoding=\"async\" src=\"https:\/\/ntokenx.com\/blog\/wp-content\/uploads\/2026\/10\/backend-5187-2.jpg\" alt=\"Cherry Studio\u6a21\u578b\u670d\u52a1\u4e2d\u7684API\u5730\u5740\u3001\u5bc6\u94a5\u548c\u6a21\u578bID\u914d\u7f6e\u4f4d\u7f6e\" style=\"max-width:100%;height:auto;\"><\/figure>\n<p>\u5b98\u65b9\u7684<a href=\"https:\/\/cherryai.com.cn\/docs\/zh-cn\/pre-basic\/providers\/zi-ding-yi-fu-wu-shang\/\">\u81ea\u5b9a\u4e49\u670d\u52a1\u5546\u8bf4\u660e<\/a>\u663e\u793a\uff0c\u81ea\u5b9a\u4e49\u7aef\u70b9\u53ef\u5206\u522b\u914d\u7f6e OpenAI\u3001Anthropic\uff0c\u5e76\u53ef\u5728\u66f4\u591a\u8bbe\u7f6e\u4e2d\u6dfb\u52a0 Responses\u3001Gemini\u3001\u56fe\u50cf\u751f\u6210\u7b49\u5730\u5740\u3002\u82e5\u670d\u52a1\u5546\u540c\u65f6\u652f\u6301\u591a\u79cd\u534f\u8bae\uff0c\u5e94\u4f18\u5148\u91c7\u7528\u5176\u660e\u786e\u63a8\u8350\u7684\u7aef\u70b9\u3002<\/p>\n<h2>API \u5730\u5740\u5e94\u8be5\u586b\u5199\u6839\u5730\u5740\u8fd8\u662f\u5b8c\u6574\u8def\u5f84\uff1f<\/h2>\n<p><strong>\u9ed8\u8ba4\u5e94\u586b\u5199\u670d\u52a1\u5546\u6587\u6863\u6307\u5b9a\u7684 Base URL\uff1b\u53ea\u6709\u5bf9\u65b9\u660e\u786e\u8981\u6c42\u56fa\u5b9a\u5b8c\u6574\u8def\u5f84\u65f6\uff0c\u624d\u586b\u5199\u5177\u4f53\u63a5\u53e3\u8def\u5f84<\/strong>\u3002\u5730\u5740\u5c42\u7ea7\u586b\u9519\uff0c\u662f Cherry Studio \u7b2c\u4e09\u65b9\u63a5\u53e3\u51fa\u73b0 404 \u7684\u4e3b\u8981\u914d\u7f6e\u539f\u56e0\u4e4b\u4e00\u3002<\/p>\n<p>\u4ee5\u5e38\u89c1 OpenAI \u517c\u5bb9\u63a5\u53e3\u4e3a\u4f8b\uff0c\u670d\u52a1\u5546\u53ef\u80fd\u8981\u6c42\u586b\u5199\uff1a<\/p>\n<pre><code class=\"language-text\">https:\/\/api.example.com\n<\/code><\/pre>\n<p>\u4e5f\u53ef\u80fd\u8981\u6c42\uff1a<\/p>\n<pre><code class=\"language-text\">https:\/\/api.example.com\/v1\n<\/code><\/pre>\n<p>\u4e0d\u8981\u5728\u672a\u6838\u5b9e\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u586b\u5199\uff1a<\/p>\n<pre><code class=\"language-text\">https:\/\/api.example.com\/v1\/chat\/completions\n<\/code><\/pre>\n<p>Cherry Studio \u5bf9\u90e8\u5206\u670d\u52a1\u5546\u4f1a\u81ea\u52a8\u62fc\u63a5\u7248\u672c\u6216\u8bf7\u6c42\u8def\u5f84\u3002\u5b98\u65b9 NewAPI \u6587\u6863\u8fd8\u8bf4\u660e\uff0c\u53ea\u6709\u7f51\u5173\u660e\u786e\u8981\u6c42\u4e0d\u518d\u81ea\u52a8\u62fc\u63a5\u8def\u5f84\u65f6\uff0c\u624d\u5e94\u4f7f\u7528 <code>#<\/code> \u7ed3\u5c3e\u56fa\u5b9a\u5730\u5740\u3002<strong>\u662f\u5426\u4fdd\u7559 <code>\/v1<\/code>\u3001\u672b\u5c3e\u659c\u6760\u6216 <code>#<\/code>\uff0c\u5fc5\u987b\u4ee5\u5f53\u524d\u670d\u52a1\u5546\u6587\u6863\u548c\u6240\u9009\u6a21\u677f\u4e3a\u51c6\u3002<\/strong><\/p>\n<h2>\u600e\u6837\u786e\u8ba4\u914d\u7f6e\u5df2\u7ecf\u771f\u6b63\u53ef\u7528\uff1f<\/h2>\n<p><strong>\u53ef\u9760\u9a8c\u6536\u5e94\u8986\u76d6\u8fde\u63a5\u3001\u6a21\u578b\u3001\u751f\u6210\u548c\u8fde\u7eed\u5bf9\u8bdd\u56db\u4e2a\u73af\u8282\uff0c\u5b8c\u6210\u6807\u51c6\u4e3a 4\/4 \u901a\u8fc7<\/strong>\u3002\u8fd9\u662f\u6bd4\u201c\u68c0\u6d4b\u6309\u94ae\u663e\u793a\u6210\u529f\u201d\u66f4\u4e25\u683c\u7684\u6700\u5c0f\u9a8c\u6536\u6846\u67b6\uff0c\u4e5f\u4fbf\u4e8e\u5feb\u901f\u5b9a\u4f4d\u6545\u969c\u6240\u5728\u5c42\u7ea7\u3002<\/p>\n<div style=\"overflow-x:auto;\">\n<table style=\"width:100%;border-collapse:collapse;margin:1.5em 0;font-size:0.95em;\">\n<thead>\n<tr>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u9a8c\u6536\u9879<\/th>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u6d4b\u8bd5\u65b9\u6cd5<\/th>\n<th style=\"border:1px solid #e3e6ea;padding:8px 12px;background:#f6f8fa;text-align:left;font-weight:600;\">\u901a\u8fc7\u6807\u51c6<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u8fde\u63a5\u9a8c\u8bc1<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u70b9\u51fb\u68c0\u6d4b\u6216\u83b7\u53d6\u6a21\u578b<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u65e0\u9274\u6743\u3001\u5730\u5740\u9519\u8bef<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u6a21\u578b\u9a8c\u8bc1<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u9009\u62e9\u76ee\u6807\u6a21\u578b\u53d1\u9001\u201c\u53ea\u56de\u590d OK\u201d<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u8fd4\u56de\u5185\u5bb9\u4e14\u6a21\u578b ID \u6b63\u786e<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u8f93\u51fa\u9a8c\u8bc1<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u8981\u6c42\u751f\u6210\u7ea6 200 \u5b57\u6587\u672c<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u65e0\u4e2d\u65ad\u3001\u4e71\u7801\u6216\u7a7a\u54cd\u5e94<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u4f1a\u8bdd\u9a8c\u8bc1<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u8fde\u7eed\u53d1\u9001 5 \u8f6e\u5173\u8054\u95ee\u9898<\/td>\n<td style=\"border:1px solid #e3e6ea;padding:8px 12px;vertical-align:top;\">\u4e0a\u4e0b\u6587\u8fde\u7eed\uff0c5\/5 \u8bf7\u6c42\u6210\u529f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u5982\u679c\u5355\u6b21\u77ed\u5bf9\u8bdd\u6210\u529f\u3001\u8fde\u7eed\u8bf7\u6c42\u5374\u9891\u7e41\u5931\u8d25\uff0c\u95ee\u9898\u901a\u5e38\u4e0d\u5728 API Key\uff0c\u800c\u5728\u9650\u6d41\u3001\u989d\u5ea6\u3001\u4e0a\u6e38\u6ce2\u52a8\u6216\u5e76\u53d1\u7b56\u7565\u3002\u9047\u5230 429 \u65f6\uff0c\u53ef\u53c2\u8003<a href=\"https:\/\/ntokenx.com\/blog\/index.php\/2026\/10\/04\/llm-429-retry\/\">\u5927\u6a21\u578b\u63a5\u53e3 429 \u81ea\u52a8\u91cd\u8bd5\u7b56\u7565<\/a>\uff0c\u91c7\u7528\u6307\u6570\u9000\u907f\u3001\u968f\u673a\u6296\u52a8\u548c\u5907\u7528\u6a21\u578b\u964d\u7ea7\uff0c\u800c\u4e0d\u662f\u7acb\u5373\u9ad8\u9891\u91cd\u8bd5\u3002<\/p>\n<h2>401\u3001404\u3001429 \u548c\u6a21\u578b\u5217\u8868\u4e3a\u7a7a\u600e\u4e48\u6392\u67e5\uff1f<\/h2>\n<p><strong>\u5148\u6309\u72b6\u6001\u7801\u5224\u65ad\u6545\u969c\u5c42\u7ea7\uff0c\u518d\u4fee\u6539\u5bf9\u5e94\u53c2\u6570\uff0c\u907f\u514d\u53cd\u590d\u66f4\u6362\u6240\u6709\u914d\u7f6e<\/strong>\u3002401 \u901a\u5e38\u6307\u5411\u9274\u6743\uff0c404 \u591a\u4e0e\u8def\u5f84\u6216\u6a21\u578b\u6709\u5173\uff0c429 \u5219\u901a\u5e38\u8868\u793a\u989d\u5ea6\u6216\u8bf7\u6c42\u9891\u7387\u53d7\u9650\u3002<\/p>\n<h3>401 \u6216 Unauthorized<\/h3>\n<p>\u68c0\u67e5 API Key \u662f\u5426\u5b8c\u6574\u3001\u662f\u5426\u8fc7\u671f\uff0c\u4ee5\u53ca\u5bc6\u94a5\u662f\u5426\u62e5\u6709\u76ee\u6807\u6a21\u578b\u6743\u9650\u3002\u590d\u5236\u5bc6\u94a5\u540e\u5e94\u5220\u9664\u9996\u5c3e\u7a7a\u683c\uff0c\u4e0d\u8981\u628a\u63a7\u5236\u53f0\u4e2d\u7684\u5bc6\u94a5\u540d\u79f0\u8bef\u5f53\u6210\u5bc6\u94a5\u672c\u8eab\u3002<\/p>\n<h3>404 \u6216 Not Found<\/h3>\n<p>\u68c0\u67e5 Base URL\u3001<code>\/v1<\/code> \u548c\u5b8c\u6574\u8bf7\u6c42\u8def\u5f84\u662f\u5426\u91cd\u590d\u3002\u82e5\u8fde\u63a5\u68c0\u6d4b\u6210\u529f\u4f46\u5bf9\u8bdd\u8fd4\u56de 404\uff0c\u8fd8\u8981\u6838\u5bf9\u6a21\u578b ID\uff0c\u56e0\u4e3a\u5c55\u793a\u540d\u79f0\u4e0e\u63a5\u53e3\u6807\u8bc6\u53ef\u80fd\u4e0d\u540c\u3002<\/p>\n<h3>429 \u6216 Too Many Requests<\/h3>\n<p>\u786e\u8ba4\u8d26\u6237\u989d\u5ea6\u3001\u6bcf\u5206\u949f\u8bf7\u6c42\u6570\u548c\u5e76\u53d1\u9650\u5236\u3002\u6682\u505c\u8bf7\u6c42\u540e\u518d\u6d4b\u8bd5\uff1b\u751f\u4ea7\u4f7f\u7528\u5e94\u8bbe\u7f6e\u9000\u907f\u91cd\u8bd5\u4e0e\u8def\u7531\u964d\u7ea7\uff0c\u800c\u4e0d\u662f\u65e0\u9650\u5faa\u73af\u91cd\u53d1\u3002<\/p>\n<h3>\u83b7\u53d6\u6a21\u578b\u5217\u8868\u4e3a\u7a7a<\/h3>\n<p>\u90e8\u5206\u670d\u52a1\u5546\u672a\u5f00\u653e\u6a21\u578b\u5217\u8868\u63a5\u53e3\uff0c\u4f46\u4ecd\u5141\u8bb8\u624b\u52a8\u914d\u7f6e\u3002\u6b64\u65f6\u4ece\u670d\u52a1\u5546\u6587\u6863\u6216\u63a7\u5236\u53f0\u590d\u5236\u6a21\u578b ID\uff0c\u624b\u52a8\u6dfb\u52a0\u540e\u518d\u53d1\u9001\u77ed\u8bf7\u6c42\u9a8c\u8bc1\u3002<\/p>\n<h3>\u68c0\u6d4b\u901a\u8fc7\u4f46\u804a\u5929\u5931\u8d25<\/h3>\n<p>\u786e\u8ba4\u670d\u52a1\u5546\u5df2\u542f\u7528\uff0c\u5e76\u68c0\u67e5\u5bf9\u8bdd\u9875\u662f\u5426\u9009\u4e2d\u4e86\u8be5\u670d\u52a1\u5546\u4e0b\u7684\u6a21\u578b\u3002\u5de5\u5177\u8c03\u7528\u3001\u56fe\u7247\u7406\u89e3\u548c\u5d4c\u5165\u6a21\u578b\u8fd8\u9700\u8981\u5bf9\u5e94\u63a5\u53e3\u80fd\u529b\uff0c\u4e0d\u80fd\u4ec5\u51ed\u666e\u901a\u6587\u672c\u68c0\u6d4b\u63a8\u65ad\u5168\u90e8\u529f\u80fd\u53ef\u7528\u3002<\/p>\n<h2>\u914d\u7f6e\u7b2c\u4e09\u65b9 API \u65f6\u5982\u4f55\u4fdd\u62a4\u5bc6\u94a5\u548c\u6570\u636e\uff1f<\/h2>\n<p><strong>API Key \u5e94\u89c6\u4e3a\u8d26\u6237\u5bc6\u7801\u7ba1\u7406\uff0c\u8f93\u5165\u5185\u5bb9\u5219\u4f1a\u6309\u6240\u9009\u670d\u52a1\u5546\u7684\u6570\u636e\u653f\u7b56\u5904\u7406<\/strong>\u3002\u4e0d\u8981\u5728\u622a\u56fe\u3001\u5de5\u5355\u3001\u804a\u5929\u8bb0\u5f55\u6216\u516c\u5f00\u4ed3\u5e93\u4e2d\u66b4\u9732\u5b8c\u6574\u5bc6\u94a5\uff0c\u53d1\u751f\u6cc4\u9732\u540e\u5e94\u7acb\u5373\u64a4\u9500\u5e76\u91cd\u65b0\u521b\u5efa\u3002<\/p>\n<p>Cherry Studio \u7684\u9690\u79c1\u8bf4\u660e\u6307\u51fa\uff0c\u81ea\u884c\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u65f6\uff0c\u5ba2\u6237\u7aef\u4f1a\u8fde\u63a5\u7528\u6237\u6240\u914d\u7f6e\u7684\u670d\u52a1\u5546\uff0c\u6570\u636e\u5904\u7406\u89c4\u5219\u7531\u76f8\u5e94\u7b2c\u4e09\u65b9\u51b3\u5b9a\u3002\u56e0\u6b64\uff0c\u4f01\u4e1a\u6216\u654f\u611f\u573a\u666f\u8fd8\u5e94\u6838\u67e5\u6570\u636e\u4fdd\u7559\u3001\u65e5\u5fd7\u6743\u9650\u3001\u4f20\u8f93\u52a0\u5bc6\u548c\u5220\u9664\u673a\u5236\u3002<\/p>\n<p>\u5efa\u8bae\u91c7\u7528\u4e09\u9879\u57fa\u7840\u63aa\u65bd\uff1a<\/p>\n<ul>\n<li>\u4e3a\u4e0d\u540c\u8bbe\u5907\u3001\u6210\u5458\u6216\u9879\u76ee\u521b\u5efa\u72ec\u7acb Key\uff1b<\/li>\n<li>\u8bbe\u7f6e\u989d\u5ea6\u3001\u8c03\u7528\u8303\u56f4\u548c\u7528\u91cf\u544a\u8b66\uff1b<\/li>\n<li>\u79bb\u804c\u3001\u8bbe\u5907\u4e22\u5931\u6216\u5bc6\u94a5\u7591\u4f3c\u6cc4\u9732\u65f6\u7acb\u5373\u8f6e\u6362\u3002<\/li>\n<\/ul>\n<h2>\u5e38\u89c1\u95ee\u9898<\/h2>\n<h3>\u4e00\u4e2a API Key \u53ef\u4ee5\u6dfb\u52a0\u591a\u4e2a\u6a21\u578b\u5417\uff1f<\/h3>\n<p>\u53ef\u4ee5\uff0c\u524d\u63d0\u662f\u8be5 Key \u62e5\u6709\u76f8\u5e94\u6a21\u578b\u6743\u9650\uff0c\u4e14\u670d\u52a1\u5546\u901a\u8fc7\u540c\u4e00\u7aef\u70b9\u63d0\u4f9b\u8fd9\u4e9b\u6a21\u578b\u3002\u6dfb\u52a0\u65f6\u5fc5\u987b\u4f7f\u7528\u63a5\u53e3\u5b9e\u9645\u8bc6\u522b\u7684\u6a21\u578b ID\u3002<\/p>\n<h3>OpenAI \u517c\u5bb9\u63a5\u53e3\u80fd\u8c03\u7528 Claude \u6216 Gemini \u5417\uff1f<\/h3>\n<p>\u53ef\u4ee5\uff0c\u4f46\u9700\u8981\u7f51\u5173\u5df2\u7ecf\u628a\u8fd9\u4e9b\u6a21\u578b\u8f6c\u6362\u4e3a OpenAI \u517c\u5bb9\u534f\u8bae\u3002\u6a21\u578b\u54c1\u724c\u4e0d\u7b49\u4e8e\u63a5\u53e3\u534f\u8bae\uff0c\u5e94\u4ee5\u670d\u52a1\u5546\u6587\u6863\u4e3a\u51c6\u3002<\/p>\n<h3>\u4e3a\u4ec0\u4e48\u6a21\u578b\u80fd\u5bf9\u8bdd\uff0c\u5374\u4e0d\u80fd\u8bc6\u56fe\u6216\u8c03\u7528\u5de5\u5177\uff1f<\/h3>\n<p>\u6587\u672c\u5bf9\u8bdd\u6210\u529f\u53ea\u8bc1\u660e\u57fa\u7840\u751f\u6210\u63a5\u53e3\u53ef\u7528\u3002\u89c6\u89c9\u3001\u5de5\u5177\u8c03\u7528\u3001\u8054\u7f51\u548c\u5d4c\u5165\u5206\u522b\u4f9d\u8d56\u6a21\u578b\u80fd\u529b\u3001\u7aef\u70b9\u7c7b\u578b\u53ca\u5ba2\u6237\u7aef\u9002\u914d\uff0c\u9700\u9010\u9879\u6d4b\u8bd5\u3002<\/p>\n<h3>\u66f4\u6362 API \u5730\u5740\u540e\u4ecd\u7136\u8bf7\u6c42\u65e7\u5730\u5740\u600e\u4e48\u529e\uff1f<\/h3>\n<p>\u5148\u4fdd\u5b58\u914d\u7f6e\u5e76\u91cd\u65b0\u68c0\u6d4b\uff0c\u5fc5\u8981\u65f6\u5220\u9664\u65e7\u670d\u52a1\u5546\u540e\u91cd\u65b0\u6dfb\u52a0\u3002\u4f7f\u7528 NewAPI \u7b49\u591a\u534f\u8bae\u6a21\u677f\u65f6\uff0c\u8fd8\u5e94\u68c0\u67e5\u5176\u4ed6\u7aef\u70b9\u4e2d\u662f\u5426\u6b8b\u7559\u65e7\u5730\u5740\u3002<\/p>\n<h3>Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\u540e\u9700\u8981\u91cd\u542f\u5417\uff1f<\/h3>\n<p>\u591a\u6570\u914d\u7f6e\u4fdd\u5b58\u540e\u5373\u53ef\u4f7f\u7528\u3002\u82e5\u6a21\u578b\u9009\u62e9\u5668\u672a\u5237\u65b0\uff0c\u53ef\u5207\u6362\u9875\u9762\u3001\u91cd\u65b0\u542f\u7528\u670d\u52a1\u5546\u6216\u91cd\u542f\u5ba2\u6237\u7aef\uff0c\u518d\u786e\u8ba4\u9ed8\u8ba4\u6a21\u578b\u662f\u5426\u6307\u5411\u65b0\u670d\u52a1\u3002<\/p>\n<p><script type=\"application\/ld+json\">\n{\"@context\":\"https:\/\/schema.org\",\"@type\":\"Article\",\"author\":{\"@type\":\"Organization\",\"name\":\"nTokenX\"},\"dateModified\":\"2026-10-05\",\"datePublished\":\"2026-10-05\",\"description\":\"Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\u9700\u8981\u6b63\u786e\u5339\u914d\u534f\u8bae\u3001API \u5730\u5740\u3001\u5bc6\u94a5\u4e0e\u6a21\u578b ID\u3002\u6587\u7ae0\u4ecb\u7ecd\u6dfb\u52a0\u670d\u52a1\u5546\u3001\u9a8c\u8bc1\u5bf9\u8bdd\u3001\u56db\u9879\u9a8c\u6536\u65b9\u6cd5\u53ca\u5e38\u89c1\u9519\u8bef\u6392\u67e5\u3002\",\"headline\":\"Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\uff1a\u53c2\u6570\u3001\u6b65\u9aa4\u4e0e\u6392\u9519\u6307\u5357\",\"image\":\"https:\/\/ntokenx.com\/blog\/wp-content\/uploads\/2026\/10\/art-8784-cover.jpg\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"nTokenX\"}}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cherry Studio\u914d\u7f6e\u7b2c\u4e09\u65b9\u670d\u52a1\u5546API\u7684\u5173\u952e\u662f\u5339\u914d\u534f\u8bae\u3001API \u5730\u5740\u3001\u5bc6\u94a5\u4e0e\u6a21\u578b ID\u3002\u672c\u6587\u6309\u5f53\u524d\u754c\u9762\u6f14\u793a\u6dfb\u52a0\u670d\u52a1\u5546\u3001\u9a8c\u8bc1\u5bf9\u8bdd\u53ca\u5b9a\u4f4d 401\u3001404\u3001429 \u7b49\u9519\u8bef\uff0c\u5e76\u63d0\u4f9b\u53ef\u590d\u7528\u7684\u56db\u9879\u9a8c\u6536\u8868\uff0c\u6309\u6b65\u9aa4\u5b8c\u6210\u914d\u7f6e\u3002<\/p>\n","protected":false},"author":1,"featured_media":255,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-256","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":1,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/256\/revisions\/288"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/media\/255"}],"wp:attachment":[{"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntokenx.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}