Repository navigation
Add AnyLLMClient as alternative to LiteLLMClient - #97
Open
mking-keeper wants to merge 1 commit into
Open
mking-keeper wants to merge 1 commit into
mking-keeper wants to merge 1 commit into
Conversation
mking-keeper
force-pushed
the
replace-litellm-any-llm
branch
2 times, most recently
from
October 25, 2026 07:15
9a739f8 to
076f991
Compare
mking-keeper
marked this pull request as ready for review
October 25, 2026 07:16
mking-keeper
force-pushed
the
replace-litellm-any-llm
branch
3 times, most recently
from
October 25, 2026 07:45
bb99543 to
af517bb
Compare
mking-keeper
force-pushed
the
replace-litellm-any-llm
branch
from
October 25, 2026 08:59
af517bb to
96e9b9a
Compare
mking-keeper
force-pushed
the
replace-litellm-any-llm
branch
from
October 25, 2026 09:00
96e9b9a to
a1e0a6e
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
I'm Matt, CTO at Keeper (a YC startup). Big fan of stirrup and how it's making benchmarking easier for everyone! I saw you are using litellm, and given their recent security incidents I wanted to try and provide an alternative with a different llm proxy library.
Motivation
AnyLLMClient
AnyLLMClient(equivalent toLiteLLMClient)max_retries=0. That way, we don't have layered retries when calling the wrapped sdksLiteLLMClient
LiteLLMClientcode is not modified. We may want to remove it in the futureDependencies
Gemini sdk version
1.40.1requires google-genai>=2.17.0.any-llm-sdk[gemini]>=1.27.0,<1.29.0Openai, anthropic
uv.lock) to be compatible with anyllmTesting
AnyLLMClient(session.run(prompt)):ANTHROPIC_API_KEY(claude-sonnet-4-6, with thinking)GEMINI_API_KEY(gemini-3-flash-preview)OPENAI_API_KEY(gpt-4.1-mini)OPENROUTER_API_KEY(deepseek-v4.1-flash-1017)