[{"data":1,"prerenderedAt":107},["ShallowReactive",2],{"doc-key-zh-get-anthropic-key":3},{"id":4,"title":5,"body":6,"description":95,"extension":96,"meta":97,"navigation":102,"path":103,"seo":104,"stem":105,"__hash__":106},"pages\u002Fzh\u002Fdoc\u002Fget-key\u002Fget-anthropic-key.md","获取 Anthropic（Claude）API Key",{"type":7,"value":8,"toc":89},"minimark",[9,13,17,21,68,71,74],[10,11,5],"h1",{"id":12},"获取-anthropicclaudeapi-key",[14,15,16],"p",{},"要用官方 Claude，去 Anthropic 控制台申请 Key，再填进 WriteX。",[18,19,20],"h2",{"id":20},"步骤",[22,23,24,36,50,53],"ol",{},[25,26,27,28,35],"li",{},"打开 ",[29,30,34],"a",{"href":31,"rel":32},"https:\u002F\u002Fconsole.anthropic.com\u002F",[33],"nofollow","console.anthropic.com"," 并登录。",[25,37,38,39,43,44,49],{},"进入 ",[40,41,42],"strong",{},"API Keys","（",[29,45,48],{"href":46,"rel":47},"https:\u002F\u002Fconsole.anthropic.com\u002Fsettings\u002Fkeys",[33],"settings\u002Fkeys","），创建新 Key，立刻复制保存。",[25,51,52],{},"在 Billing 确认账户可用、有额度。",[25,54,55,56,59,60,63,64,67],{},"WriteX → ",[40,57,58],{},"设置 → 模型 \u002F Provider"," → ",[40,61,62],{},"Anthropic","，粘贴 Key，选模型后 ",[40,65,66],{},"测试并保存","。",[14,69,70],{},"Key 只存在你的电脑上（WriteX 本机加密存储）。人员变动时记得在控制台吊销旧 Key。",[18,72,73],{"id":73},"相关阅读",[75,76,77,83],"ul",{},[25,78,79],{},[29,80,82],{"href":81},"\u002Fguides\u002Fconfigure-byok","在 WriteX 中配置 BYOK",[25,84,85],{},[29,86,88],{"href":87},"\u002Fdoc\u002Fget-key","全部 API Key 教程",{"title":90,"searchDepth":91,"depth":91,"links":92},"",2,[93,94],{"id":20,"depth":91,"text":20},{"id":73,"depth":91,"text":73},"在 Anthropic Console 创建 Claude API Key，并配置到 WriteX。","md",{"seoTitle":98,"summary":99,"provider":100,"order":101},"获取 Anthropic API Key｜WriteX 教程","Claude 官方 API；需开发者账号与可用账单。","anthropic",6,true,"\u002Fzh\u002Fdoc\u002Fget-key\u002Fget-anthropic-key",{"title":5,"description":95},"zh\u002Fdoc\u002Fget-key\u002Fget-anthropic-key","RRFT2SA1g1WbqpQyXHUhps14ppTLJCfFWp96EvLgK-0",1785483020208]