Skip to content

Add LLMTR as an OpenAI-compatible LLM provider - #261

Open
knowhycodata wants to merge 1 commit into
e2b-dev:mainfrom
knowhycodata:add-llmtr-provider
Open

knowhycodata wants to merge 1 commit into
e2b-dev:mainfrom
knowhycodata:add-llmtr-provider

Conversation

@knowhycodata

Copy link
Copy Markdown

Adds LLMTR as a built-in OpenAI-compatible provider, following the same createOpenAI path as Groq, Together, xAI, and DeepSeek.

LLMTR is a gateway at https://llmtr.com/v1. Model IDs are namespaced vendor/model values such as minimax/minimax-m3.1-flash. IDs under llmtr/ are hosted in Turkey; other vendor/model IDs route to their vendors. Configure it with LLMTR_API_KEY (or the caller's key in the UI). Keys: https://llmtr.com/dashboard/keys.

A catalog entry for MiniMax M3.1 Flash is included, plus LLMTR_API_KEY in .env.template and a simple logo under public/thirdparty/logos/llmtr.svg.

Unit/wiring tests: tsx --test lib/models.test.ts — 20 passed (including sends llmtr requests to llmtr.com and caller-key coverage via clientKeyProviders). This change has not been verified against the live LLMTR API in this PR.

Add an llmtr entry to providerConfigs (https://llmtr.com/v1, LLMTR_API_KEY)
and a MiniMax M3.1 Flash model in the catalog.
@cla-bot

cla-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @knowhycodata on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'

@vercel

vercel Bot commented Nov 21, 2026

Copy link
Copy Markdown

@knowhycodata is attempting to deploy a commit to the E2B Team on Vercel.

A member of the Team first needs to authorize it.

@knowhycodata

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Nov 21, 2026
@cla-bot

cla-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant