Sync OpenRouter providers list (#4846) Python script to output a .txt containing a formatted list: https://gist.github.com/cloak1505/90a96bca28b332492221691268b674fd

cd4f37f39b2225ccbf246c82a897620d9ccd15e5

cloak1505 <170299980+cloak1505@users.noreply.github.com>

Signed
1 files changed, +8 -11Ignore whitespace
public/scripts/textgen-models.js+8 -11
@@ -24,31 +24,31 @@ export let openRouterModels = [];
2424 * @type {string[]}
2525 */
2626const OPENROUTER_PROVIDERS = [
27- // An alphabetically separate set of very-dead providers is kept at the top of the list in the docs.
28- // These do not appear outside the docs: Anyscale, Cent-ML, HuggingFace ... SF Compute, Together 2, 01.AI
29- // As a visual check, AI21 is the topmost provider in the sidebar of https://openrouter.ai/models, thus we want to copy from this point and below.
3027 // Providers endpoint: https://openrouter.ai/api/v1/providers
28+ // The list should resemble the sidebar from https://openrouter.ai/models
29+ // Their docs no longer displays the list, which had "super dead" ones at top, thankfully gone from /v1/providers
3130 'AI21',
3231 'AionLabs',
3332 'Alibaba',
3433 'Amazon Bedrock',
34+ 'Amazon Nova',
3535 'Anthropic',
36+ 'Arcee AI',
3637 'AtlasCloud',
37- 'Atoma',
3838 'Avian',
3939 'Azure',
4040 'BaseTen',
41+ 'Black Forest Labs',
42+ 'BytePlus',
4143 'Cerebras',
4244 'Chutes',
4345 'Cirrascale',
4446 'Clarifai',
4547 'Cloudflare',
4648 'Cohere',
47- 'CrofAI',
4849 'Crusoe',
4950 'DeepInfra',
5051 'DeepSeek',
51- 'Enfer',
5252 'FakeProvider',
5353 'Featherless',
5454 'Fireworks',
@@ -56,17 +56,15 @@ const OPENROUTER_PROVIDERS = [
5656 'GMICloud',
5757 'Google',
5858 'Google AI Studio',
59+ 'GoPomelo',
5960 'Groq',
6061 'Hyperbolic',
6162 'Inception',
6263 'InferenceNet',
6364 'Infermatic',
6465 'Inflection',
65- 'Kluster',
66- 'Lambda',
6766 'Liquid',
6867 'Mancer 2',
69- 'Meta',
7068 'Minimax',
7169 'Mistral',
7270 'ModelRun',
@@ -76,7 +74,6 @@ const OPENROUTER_PROVIDERS = [
7674 'NCompass',
7775 'Nebius',
7876 'NextBit',
79- 'Nineteen',
8077 'Novita',
8178 'Nvidia',
8279 'OpenAI',
@@ -88,10 +85,10 @@ const OPENROUTER_PROVIDERS = [
8885 'SambaNova',
8986 'SiliconFlow',
9087 'Stealth',
88+ 'StreamLake',
9189 'Switchpoint',
9290 'Targon',
9391 'Together',
94- 'Ubicloud',
9592 'Venice',
9693 'WandB',
9794 'xAI',