---
title: "Discussion on \"Setting Up Claude Code to Work with OpenRouter Using LiteLLM\" | Hashnode"
description: "Discussion on \"Setting Up Claude Code to Work with OpenRouter Using LiteLLM\". When we first install Claude Code CLI, it’s hardwired to talk to Anthropic’s API. But what if you want to use open-source models instead like Qwen or Kimi using OpenRouter?\nThat’s where LiteLLM comes in. It acts as a local proxy that can translate Cl..."
url: "https://hashnode.com/posts/setting-up-claude-code-to-work-with-openrouter-using-litellm/6883fd08f1620b6984bdfb0e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setting Up Claude Code to Work with OpenRouter Using LiteLLM](https://tech.abhishekpatil.blog/setting-up-claude-code-to-work-with-openrouter-using-litellm?utm_source=hashnode&utm_medium=feed)

When we first install Claude Code CLI, it’s hardwired to talk to Anthropic’s API. But what if you want to use open-source models instead like Qwen or Kimi using OpenRouter? That’s where LiteLLM comes in. It acts as a local proxy that can translate Cl...

Jul 24, 2025 · 3 min read · tech.abhishekpatil.blog  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#kimi](https://hashnode.com/tag/kimi)
-   [#qwen](https://hashnode.com/tag/qwen)

## Written by

[Abhishek Patil](https://hashnode.com/@abhishekpatilblog)

@abhishekpatilblog · India

  
[View profile](https://hashnode.com/@abhishekpatilblog)

Building for impact

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
