Skip to content

Add Requesty as an OpenAI-compatible LLM provider - #765

Open
Thibaultjaigu wants to merge 1 commit into
ConardLi:mainfrom
Thibaultjaigu:add-requesty-provider
Open

Add Requesty as an OpenAI-compatible LLM provider#765
Thibaultjaigu wants to merge 1 commit into
ConardLi:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

Add Requesty as an OpenAI-compatible LLM provider

This adds Requesty as a first-class LLM provider by mirroring the existing OpenRouter integration.

Requesty is an OpenAI-compatible LLM router that exposes 400+ models behind a single API using the same provider/model naming convention as OpenRouter, so it slots into the existing provider architecture cleanly.

Changes

  • New lib/llm/core/providers/requesty.jsRequestyClient extending BaseClient. Since there is no dedicated Requesty SDK (the OpenRouter provider uses @openrouter/ai-sdk-provider), this uses the repo's existing createOpenAICompatible path — the correct dedicated-provider form for an OpenAI-compatible router. Base URL https://router.requesty.ai/v1, Bearer auth via REQUESTY_API_KEY.
  • lib/llm/core/index.js — register requesty in the client map.
  • constant/model.js — Requesty provider entry with default models (openai/gpt-4o-mini, openai/gpt-4o, anthropic/claude-sonnet-4-5, google/gemini-2.5-flash).
  • lib/db/llm-providers.js — provider seed entry.
  • lib/util/providerLogo.js — logo mapping + id normalization.
  • public/imgs/providers/requesty.ico — provider icon.

Testing

Verified live against the Requesty endpoint through the actual RequestyClient code path (transpiled base.js + requesty.js, createOpenAICompatible + AI SDK generateText): a call to openai/gpt-4o-mini returned the expected completion. Prettier (the repo's formatting tool) passes on all touched files.

Note: I couldn't find a committed README/docs provider list enumerating OpenRouter to add Requesty to — if there's a canonical provider list I missed, happy to update it.

Config: get a key at https://app.requesty.ai/api-keys, model list at https://app.requesty.ai/router/list, docs at https://docs.requesty.ai.


I work at Requesty. This mirrors the existing OpenRouter provider as closely as possible. Happy to adjust or close it if it's not a fit.

Mirror the existing OpenRouter provider (lib/llm/core/providers/openrouter.js)
for Requesty, an OpenAI-compatible LLM router. Registers a dedicated 'requesty'
provider using the repo's existing createOpenAICompatible path with base URL
https://router.requesty.ai/v1 and REQUESTY_API_KEY auth. Wires it through the
client registry, model provider list, DB seed list, and provider logo map.

Signed-off-by: Thibault Jaigu <thibault.jaigu@gmail.com>
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for gleeful-palmier-13a6af ready!

Name Link
🔨 Latest commit c495ac6
🔍 Latest deploy log https://app.netlify.com/projects/gleeful-palmier-13a6af/deploys/6a58aab2841ce7000869ee3f
😎 Deploy Preview https://deploy-preview-765--gleeful-palmier-13a6af.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant