open-code-review icon indicating copy to clipboard operation
open-code-review copied to clipboard

Add LLMTR as a built-in provider preset

Open knowhycodata opened this issue 1 week ago • 1 comments

Problem Statement

LLMTR (https://llmtr.com) is an OpenAI-compatible gateway. One key reaches models hosted in Turkey (llmtr/...) and global models from Anthropic, DeepSeek, Qwen and others. Today a user has to configure it as a custom OpenAI endpoint by hand.

Proposed Solution

Add an llmtr entry to the built-in registry, like the OpenRouter one from #1522:

  • protocol openai (Chat Completions)
  • base URL https://llmtr.com/v1
  • key fallback LLMTR_API_KEY
  • a short suggested model list, with any other id still allowed through ocr config set model

The change would also regenerate the two provider catalogs and add a row to the provider table in each configuration.md locale. I have a small PR ready if this fits.

Alternatives Considered

Users can keep pointing the generic openai provider at https://llmtr.com/v1, but then it shares OPENAI_API_KEY and does not show up in ocr config provider.

Affected Area

Configuration, Documentation

Additional Context

No response

knowhycodata avatar Nov 20 '26 11:11 knowhycodata

Thanks for proposing LLMTR and putting together the PR. We’re closing this request as not planned. We keep the built-in provider list small: when deciding what to include, we look for a track record of reliable operation, an established reputation, and broad developer adoption. Listing every OpenAI-compatible gateway would make the list hard to maintain and could imply that the project has vetted or recommends services it hasn’t independently verified.

You don’t need a built-in preset or a change to your existing OpenAI configuration to use LLMTR. Run ocr config provider, choose a custom provider, and name it llmtr. Select OpenAI Chat Completions (openai), enter https://llmtr.com/v1 as the base URL, and supply your LLMTR API key and model ID. The custom provider guide also shows the non-interactive setup.

lizhengfeng101 avatar Dec 03 '26 06:12 lizhengfeng101