You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add LLMTR as an OpenAI-compatible gateway provider #1180
LLMTR (https://llmtr.com) is an OpenAI-compatible gateway at https://llmtr.com/v1. It serves other vendors' models under vendor/model ids, a few under its own llmtr/<name>, and a handful are free (qwen/qwen3.8-27b-free). Raven has no entry for it, so users have to set up a custom endpoint, and two things go wrong:
an id like llmtr/qwen3-8-27b loses its leading segment unless the prefix is kept
Raven infers the responses protocol for qwen, deepseek, gpt, kimi and minimax ids, and many LLMTR models are only served on /v1/chat/completions. For example qwen/qwen3.8-27b-free answers /v1/responses with a 400.
Disclosure: I maintain LLMTR.
Proposal
A ProviderSpec in the resale gateway block, the same shape as Opper (#869):
via_driver="openai", is_gateway=True, detect_by_base_keyword="llmtr.com", default base https://llmtr.com/v1, strip_model_prefix=False, no default model, no shortlist
native_api_bases declaring chat only, so an inferred protocol steps aside to chat, the same path Moonshot and Groq already take
config section, onboarding row, provider mark, and the pinned counts and tables in tests
Alternatives considered
A custom OpenAI-compatible endpoint. It works for chat-only models if the protocol is set to chat by hand and the full id is typed, but users don't find it in the picker and the defaults route Qwen ids to /v1/responses.
Area
Providers
Additional context
Model catalog (no key needed): GET https://llmtr.com/v1/models. Each row lists supported_operations. I have a PR ready and will link it here.
Activity