{"by":"AMeckes","descendants":68,"id":44650567,"kids":[44651721,44651850,44651748,44652899,44651950,44651074,44652932,44651974,44665322,44651209,44651420,44651735,44657900,44652083,44653797,44653771,44652017,44651405,44651778],"score":125,"text":"We built any-llm because we needed a lightweight router for LLM providers with minimal overhead. Switching between models is just a string change : update &quot;openai&#x2F;gpt-4&quot; to &quot;anthropic&#x2F;claude-3&quot; and you&#x27;re done.<p>It uses official provider SDKs when available, which helps since providers handle their own compatibility updates. No proxy or gateway service needed either, so getting started is pretty straightforward - just pip install and import.<p>Currently supports 20+ providers including OpenAI, Anthropic, Google, Mistral, and AWS Bedrock. Would love to hear what you think!","time":1753206040,"title":"Show HN: Any-LLM – Lightweight router to access any LLM Provider","type":"story","url":"https://github.com/mozilla-ai/any-llm"}