feat: add LLMTR as an OpenAI-compatible gateway provider

Open
#1,180 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@knowhycodata is already working on this.

Since Nov 4, 2026.

  • #1181 by @knowhycodata — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
ai, backend

Research direction

Start by reading the resale gateway ProviderSpec entries for Opper (#869), Moonshot, and Groq, then locate the provider config, onboarding, provider mark, and pinned count and table tests named in the proposal. Compare their existing patterns with LLMTR's chat-only native API bases; done means the LLMTR entry and its expected UI and test data are covered. A linked open pull request (#1181) already implements this issue.

Written by the indexing model from the issue text.

Description

Problem

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.

Dominant language
Python
Stars
4.1k
Forks
94
Avg merge
2d 7h
Merged PRs (30d)
216

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EverMind-AI/Raven

All issues in EverMind-AI/Raven

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.