Skip to content

Add Requesty as a provider#37

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

Add Requesty as a provider#37
Thibaultjaigu wants to merge 1 commit into
chr15m:mainfrom
Thibaultjaigu:add-requesty-provider

Conversation

@Thibaultjaigu

Copy link
Copy Markdown

What

Adds Requesty to the PROVIDERS table. Requesty is an OpenAI-compatible LLM gateway, so it works exactly like the existing openrouter entry: a /chat/completions URL plus an API key env var.

  • PROVIDERS: new requesty entry (https://router.requesty.ai/v1/chat/completions, REQUESTY_API_KEY)
  • CONFIG_KEYS: allow requesty_api_key in the config cascade
  • README.md: add a Requesty row to the providers / API-keys table

Model strings use requesty/<provider>/<model>, e.g. requesty/openai/gpt-4o-mini or requesty/anthropic/claude-sonnet-4-5.

Tested

Ran runprompt for real against Requesty:

# requesty-test.prompt
---
model: requesty/openai/gpt-4o-mini
---
Reply with exactly: RUNPROMPT_REQUESTY_OK
$ REQUESTY_API_KEY=... ./runprompt requesty-test.prompt
Tokens: 17 sent, 6 received, 23 total. Cost: $0.0000 message ... 
RUNPROMPT_REQUESTY_OK

The call succeeds and token/cost accounting works.

Disclosure

I work at Requesty. This mirrors the existing OpenRouter provider entry. Happy to adjust naming/placement or close if it's not a fit.

Requesty (https://requesty.ai) is an OpenAI-compatible LLM gateway, so it slots
into the PROVIDERS table exactly like openrouter: a chat/completions URL and an
API key env var. Model strings use requesty/<provider>/<model>, e.g.
requesty/openai/gpt-4o-mini.

- PROVIDERS: add requesty entry (https://router.requesty.ai/v1/chat/completions)
- CONFIG_KEYS: allow requesty_api_key in the config cascade
- README: add Requesty row to the providers/API-keys table

Tested by running runprompt against a requesty/openai/gpt-4o-mini prompt with a
real REQUESTY_API_KEY; the call succeeds and token/cost accounting works.
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