{"id":186,"date":"2026-06-15T20:48:45","date_gmt":"2026-06-15T12:48:45","guid":{"rendered":"https:\/\/yylx.io\/blog\/?p=186"},"modified":"2026-06-15T20:48:45","modified_gmt":"2026-06-15T12:48:45","slug":"litellm-proxy-claude-code-guide","status":"publish","type":"post","link":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/","title":{"rendered":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e"},"content":{"rendered":"<p class=\"wp-block-paragraph\">LiteLLM Proxy \u662f\u5f88\u591a\u56e2\u961f\u7528\u6765\u7edf\u4e00\u6a21\u578b\u63a5\u53e3\u7684\u5f00\u6e90\u7f51\u5173\u3002\u5b83\u53ef\u4ee5\u628a\u4e0d\u540c\u4e0a\u6e38\u6a21\u578b\u6574\u5408\u5230\u4e00\u4e2a\u4ee3\u7406\u670d\u52a1\u91cc\uff0c\u518d\u8ba9\u5ba2\u6237\u7aef\u901a\u8fc7\u7edf\u4e00\u5165\u53e3\u8bbf\u95ee\u3002Claude Code \u5b98\u65b9 LLM Gateway \u6587\u6863\u4e5f\u7ed9\u51fa\u4e86 LiteLLM \u7684\u914d\u7f6e\u793a\u4f8b\u3002<\/p><h2 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u7528 LiteLLM Proxy<\/h2><ul class=\"wp-block-list\"><li>\u7edf\u4e00\u7ba1\u7406\u591a\u4e2a\u6a21\u578b\u4f9b\u5e94\u5546\uff1b<\/li><li>\u652f\u6301\u865a\u62df key \u548c\u6743\u9650\u63a7\u5236\uff1b<\/li><li>\u53ef\u4ee5\u505a\u8d1f\u8f7d\u5747\u8861\u3001fallback \u548c\u7528\u91cf\u7edf\u8ba1\uff1b<\/li><li>\u9002\u5408\u4f5c\u4e3a Claude Code \u7684\u56e2\u961f\u7f51\u5173\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">Claude Code \u4fa7\u600e\u4e48\u914d\u7f6e<\/h2><p class=\"wp-block-paragraph\">LiteLLM \u6587\u6863\u793a\u4f8b\u91cc\uff0c\u9759\u6001 key \u901a\u5e38\u8bbe\u7f6e\u4e3a <code>ANTHROPIC_AUTH_TOKEN<\/code>\u3002\u8fd9\u4e2a token \u53ef\u4ee5\u662f proxy master key\uff0c\u4e5f\u53ef\u4ee5\u662f\u9650\u5236\u4e86\u6a21\u578b\u8303\u56f4\u7684 virtual key\u3002<\/p><pre class=\"wp-block-code\"><code>export ANTHROPIC_AUTH_TOKEN=\"$LITELLM_KEY\"<\/code><\/pre><p class=\"wp-block-paragraph\">\u63a8\u8350\u65b9\u5f0f\u662f\u4f7f\u7528 LiteLLM \u7684 unified endpoint\uff0c\u628a <code>ANTHROPIC_BASE_URL<\/code> \u6307\u5411 LiteLLM Proxy \u5730\u5740\u3002<\/p><pre class=\"wp-block-code\"><code>export ANTHROPIC_BASE_URL=\"http:\/\/0.0.0.0:4000\"\nclaude<\/code><\/pre><h2 class=\"wp-block-heading\">Anthropic pass-through \u65b9\u5f0f<\/h2><p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u4f7f\u7528 provider-specific pass-through endpoint\uff0c\u4e5f\u53ef\u4ee5\u628a Base URL \u6307\u5411 LiteLLM \u7684 Anthropic \u8def\u5f84\u3002<\/p><pre class=\"wp-block-code\"><code>export ANTHROPIC_BASE_URL=\"http:\/\/0.0.0.0:4000\/anthropic\"<\/code><\/pre><h2 class=\"wp-block-heading\">\u52a8\u6001 Key Helper<\/h2><p class=\"wp-block-paragraph\">LiteLLM \u6587\u6863\u8fd8\u63d0\u5230\uff0cClaude Code \u53ef\u4ee5\u901a\u8fc7 <code>apiKeyHelper<\/code> \u8c03\u7528\u811a\u672c\u52a8\u6001\u83b7\u53d6 key\uff0c\u4f8b\u5982\u4ece vault \u83b7\u53d6\u6216\u751f\u6210\u77ed\u671f JWT\u3002\u8fd9\u9002\u5408\u4f01\u4e1a\u505a\u8f6e\u6362\u3001\u5ba1\u8ba1\u548c\u6743\u9650\u9694\u79bb\u3002<\/p><pre class=\"wp-block-code\"><code>{\n  \"apiKeyHelper\": \"~\/bin\/get-litellm-key.sh\"\n}<\/code><\/pre><h2 class=\"wp-block-heading\">\u6392\u67e5\u987a\u5e8f<\/h2><ul class=\"wp-block-list\"><li>\u786e\u8ba4 LiteLLM Proxy \u6b63\u5728\u8fd0\u884c\uff1b<\/li><li>\u786e\u8ba4 <code>ANTHROPIC_BASE_URL<\/code> \u6307\u5411\u6b63\u786e\u7aef\u53e3\uff1b<\/li><li>\u786e\u8ba4 <code>ANTHROPIC_AUTH_TOKEN<\/code> \u548c LiteLLM key \u4e00\u81f4\uff1b<\/li><li>\u786e\u8ba4 virtual key \u6709\u76ee\u6807\u6a21\u578b\u6743\u9650\uff1b<\/li><li>\u786e\u8ba4 Claude Code \u8bf7\u6c42\u7684\u6a21\u578b\u540d\u5728 LiteLLM \u91cc\u6709\u6620\u5c04\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u5b89\u5168\u63d0\u9192<\/h2><p class=\"wp-block-paragraph\">\u5b98\u65b9 Claude Code \u6587\u6863\u4e5f\u63d0\u9192\uff0cLiteLLM \u662f\u7b2c\u4e09\u65b9\u4ee3\u7406\u670d\u52a1\uff0c\u4f7f\u7528\u65f6\u8981\u81ea\u5df1\u8bc4\u4f30\u5b89\u5168\u6027\u548c\u7248\u672c\u3002\u5c24\u5176\u8981\u6ce8\u610f\u4f9d\u8d56\u7248\u672c\u3001\u51ed\u636e\u8f6e\u6362\u548c\u65e5\u5fd7\u4e2d\u662f\u5426\u5305\u542b\u654f\u611f\u5185\u5bb9\u3002<\/p><p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u4e0d\u60f3\u81ea\u5df1\u7ef4\u62a4\u7f51\u5173\u3001\u8bc1\u4e66\u3001\u6a21\u578b\u6620\u5c04\u3001\u4e0a\u6e38\u517c\u5bb9\u548c\u5404\u79cd\u9519\u8bef\u6392\u67e5\uff0c\u53ef\u4ee5\u4e86\u89e3 <a href=\"https:\/\/yylx.io\" target=\"_blank\" rel=\"noopener\">YYLX.IO \u9c7c\u9c7c\u8fde\u7ebf<\/a>\u3002\u5b83\u66f4\u9002\u5408\u60f3\u76f4\u63a5\u7a33\u5b9a\u4f7f\u7528 Claude Code\u3001Codex\u3001Gemini CLI\u3001Cline \u7b49 AI \u7f16\u7a0b\u5de5\u5177\u7684\u7528\u6237\u3002<\/p><h2 class=\"wp-block-heading\">\u603b\u7ed3<\/h2><p class=\"wp-block-paragraph\">LiteLLM Proxy \u9002\u5408\u6709\u6280\u672f\u80fd\u529b\u7684\u56e2\u961f\u7edf\u4e00\u7ba1\u7406 Claude Code \u6d41\u91cf\u3002\u4e2a\u4eba\u7528\u6237\u5982\u679c\u53ea\u662f\u60f3\u7a33\u5b9a\u4f7f\u7528\uff0c\u73b0\u6210\u4e2d\u8f6c\u7ad9\u4f1a\u66f4\u7701\u7ef4\u62a4\u6210\u672c\u3002<\/p><p class=\"wp-block-paragraph\">\u53c2\u8003\u8d44\u6599\uff1a<a href=\"https:\/\/code.claude.com\/docs\/en\/llm-gateway\" target=\"_blank\" rel=\"noopener\">Claude Code LLM gateway configuration<\/a>\u3001<a href=\"https:\/\/docs.litellm.ai\/docs\/tutorials\/claude_responses_api\" target=\"_blank\" rel=\"noopener\">LiteLLM Claude Code Quickstart<\/a>\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>LiteLLM Proxy \u53ef\u4ee5\u4f5c\u4e3a Claude Code \u7684 LLM Gateway\u3002\u672c\u6587\u8bb2 unified endpoint\u3001ANTHROPIC_AUTH_TOKEN\u3001ANTHROPIC_BASE_URL\u3001\u865a\u62df key \u548c\u5e38\u89c1\u6392\u67e5\u3002<\/p>\n","protected":false},"author":2,"featured_media":185,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"LiteLLM Proxy \u53ef\u4ee5\u4f5c\u4e3a Claude Code \u7684 LLM Gateway\u3002\u672c\u6587\u8bb2 unified endpoint\u3001ANTHROPIC_AUTH_TOKEN\u3001ANTHROPIC_BASE_URL\u3001\u865a\u62df key \u548c\u5e38\u89c1\u6392\u67e5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-15T12:48:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yu\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/\"},\"author\":{\"name\":\"Yu\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\"},\"headline\":\"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e\",\"datePublished\":\"2026-06-15T12:48:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/\"},\"wordCount\":85,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/litellm-proxy-claude-code-guide.png\",\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/\",\"name\":\"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/litellm-proxy-claude-code-guide.png\",\"datePublished\":\"2026-06-15T12:48:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/litellm-proxy-claude-code-guide.png\",\"contentUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/litellm-proxy-claude-code-guide.png\",\"width\":1200,\"height\":630,\"caption\":\"LiteLLM Proxy + Claude Code\uff0c\u7edf\u4e00\u7aef\u70b9\u4e0e Auth Token\u6587\u7ae0\u5c01\u9762\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/2026\\\/06\\\/15\\\/litellm-proxy-claude-code-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/yylx.io/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#website\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/\",\"name\":\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2\",\"description\":\"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9 \u535a\u5ba2\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/yylx.io/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/#\\\/schema\\\/person\\\/2cde4f7a47af39013dd042fb25ba1afd\",\"name\":\"Yu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109\",\"url\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109\",\"contentUrl\":\"https:\\\/\\\/yylx.io/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109\",\"caption\":\"Yu\"},\"url\":\"https:\\\/\\\/yylx.io/blog\\\/author\\\/yu\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/","og_locale":"zh_CN","og_type":"article","og_title":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","og_description":"LiteLLM Proxy \u53ef\u4ee5\u4f5c\u4e3a Claude Code \u7684 LLM Gateway\u3002\u672c\u6587\u8bb2 unified endpoint\u3001ANTHROPIC_AUTH_TOKEN\u3001ANTHROPIC_BASE_URL\u3001\u865a\u62df key \u548c\u5e38\u89c1\u6392\u67e5\u3002","og_url":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/","og_site_name":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","article_published_time":"2026-06-15T12:48:45+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png","type":"image\/png"}],"author":"Yu","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"Yu","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#article","isPartOf":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/"},"author":{"name":"Yu","@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd"},"headline":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e","datePublished":"2026-06-15T12:48:45+00:00","mainEntityOfPage":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/"},"wordCount":85,"commentCount":0,"image":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png","inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/","url":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/","name":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e - \u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","isPartOf":{"@id":"https:\/\/yylx.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#primaryimage"},"image":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png","datePublished":"2026-06-15T12:48:45+00:00","author":{"@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd"},"breadcrumb":{"@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#primaryimage","url":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png","contentUrl":"https:\/\/yylx.io\/blog\/wp-content\/uploads\/2026\/06\/litellm-proxy-claude-code-guide.png","width":1200,"height":630,"caption":"LiteLLM Proxy + Claude Code\uff0c\u7edf\u4e00\u7aef\u70b9\u4e0e Auth Token\u6587\u7ae0\u5c01\u9762"},{"@type":"BreadcrumbList","@id":"https:\/\/yylx.io\/blog\/2026\/06\/15\/litellm-proxy-claude-code-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/yylx.io\/blog\/"},{"@type":"ListItem","position":2,"name":"LiteLLM Proxy \u63a5\u5165 Claude Code \u6559\u7a0b\uff1a\u7edf\u4e00\u7aef\u70b9\u3001Auth Token \u548c\u6a21\u578b\u914d\u7f6e"}]},{"@type":"WebSite","@id":"https:\/\/yylx.io\/blog\/#website","url":"https:\/\/yylx.io\/blog\/","name":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9\u535a\u5ba2","description":"\u9c7c\u9c7c\u8fde\u7ebf YYLX.IO\uff5cAI\u4e2d\u8f6c\u7ad9 \u535a\u5ba2","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/yylx.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/yylx.io\/blog\/#\/schema\/person\/2cde4f7a47af39013dd042fb25ba1afd","name":"Yu","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109","url":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109","contentUrl":"https:\/\/yylx.io\/blog\/wp-content\/litespeed\/avatar\/4cd7987c935fdbc8a48265040ea79397.jpg?ver=1782820109","caption":"Yu"},"url":"https:\/\/yylx.io\/blog\/author\/yu\/"}]}},"_links":{"self":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":1,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/posts\/186\/revisions\/196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/media\/185"}],"wp:attachment":[{"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yylx.io\/blog\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}