{"id":16969,"date":"2026-07-06T22:23:09","date_gmt":"2026-07-07T05:23:09","guid":{"rendered":"https:\/\/mattfife.com\/?p=16969"},"modified":"2026-07-18T22:24:54","modified_gmt":"2026-07-19T05:24:54","slug":"setting-up-claude-code-with-different-backend-llms-including-local-ones","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=16969","title":{"rendered":"Setting up Claude code with different backend LLMs &#8211; including local ones"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"429\" data-attachment-id=\"16970\" data-permalink=\"https:\/\/mattfife.com\/?attachment_id=16970\" data-orig-file=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?fit=2314%2C1550&amp;ssl=1\" data-orig-size=\"2314,1550\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;,&quot;alt&quot;:&quot;&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?fit=640%2C429&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=640%2C429&#038;ssl=1\" alt=\"\" class=\"wp-image-16970\" srcset=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=1024%2C686&amp;ssl=1 1024w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=1536%2C1029&amp;ssl=1 1536w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=2048%2C1372&amp;ssl=1 2048w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=403%2C270&amp;ssl=1 403w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=300%2C201&amp;ssl=1 300w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?resize=768%2C514&amp;ssl=1 768w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2026\/07\/image-33.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up Claude code to run both local and remote models has been a big game changer. <a href=\"https:\/\/www.kdnuggets.com\/pairing-claude-code-with-local-models\" data-type=\"link\" data-id=\"https:\/\/www.kdnuggets.com\/pairing-claude-code-with-local-models\">This article shows you how to set up the proper environment variables<\/a> so that Claude picks up any combination of local and remote\/paid models you want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up Claude code to run both local and remote models has been a big game changer. This article shows you how to set up the proper environment variables so that Claude picks up any combination of local and remote\/paid models you want.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[28,9,6],"tags":[],"class_list":["post-16969","post","type-post","status-publish","format-standard","hentry","category-ai","category-cool","category-technicalproblemsolutions"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-4pH","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/16969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16969"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/16969\/revisions"}],"predecessor-version":[{"id":16971,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/16969\/revisions\/16971"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}