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 = [];
24 * @type {string[]}24 * @type {string[]}
25 */25 */
26const OPENROUTER_PROVIDERS = [26const 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.
30 // Providers endpoint: https://openrouter.ai/api/v1/providers27 // 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
31 'AI21',30 'AI21',
32 'AionLabs',31 'AionLabs',
33 'Alibaba',32 'Alibaba',
34 'Amazon Bedrock',33 'Amazon Bedrock',
34 'Amazon Nova',
35 'Anthropic',35 'Anthropic',
36 'Arcee AI',
36 'AtlasCloud',37 'AtlasCloud',
37 'Atoma',
38 'Avian',38 'Avian',
39 'Azure',39 'Azure',
40 'BaseTen',40 'BaseTen',
41 'Black Forest Labs',
42 'BytePlus',
41 'Cerebras',43 'Cerebras',
42 'Chutes',44 'Chutes',
43 'Cirrascale',45 'Cirrascale',
44 'Clarifai',46 'Clarifai',
45 'Cloudflare',47 'Cloudflare',
46 'Cohere',48 'Cohere',
47 'CrofAI',
48 'Crusoe',49 'Crusoe',
49 'DeepInfra',50 'DeepInfra',
50 'DeepSeek',51 'DeepSeek',
51 'Enfer',
52 'FakeProvider',52 'FakeProvider',
53 'Featherless',53 'Featherless',
54 'Fireworks',54 'Fireworks',
@@ -56,17 +56,15 @@ const OPENROUTER_PROVIDERS = [
56 'GMICloud',56 'GMICloud',
57 'Google',57 'Google',
58 'Google AI Studio',58 'Google AI Studio',
59 'GoPomelo',
59 'Groq',60 'Groq',
60 'Hyperbolic',61 'Hyperbolic',
61 'Inception',62 'Inception',
62 'InferenceNet',63 'InferenceNet',
63 'Infermatic',64 'Infermatic',
64 'Inflection',65 'Inflection',
65 'Kluster',
66 'Lambda',
67 'Liquid',66 'Liquid',
68 'Mancer 2',67 'Mancer 2',
69 'Meta',
70 'Minimax',68 'Minimax',
71 'Mistral',69 'Mistral',
72 'ModelRun',70 'ModelRun',
@@ -76,7 +74,6 @@ const OPENROUTER_PROVIDERS = [
76 'NCompass',74 'NCompass',
77 'Nebius',75 'Nebius',
78 'NextBit',76 'NextBit',
79 'Nineteen',
80 'Novita',77 'Novita',
81 'Nvidia',78 'Nvidia',
82 'OpenAI',79 'OpenAI',
@@ -88,10 +85,10 @@ const OPENROUTER_PROVIDERS = [
88 'SambaNova',85 'SambaNova',
89 'SiliconFlow',86 'SiliconFlow',
90 'Stealth',87 'Stealth',
88 'StreamLake',
91 'Switchpoint',89 'Switchpoint',
92 'Targon',90 'Targon',
93 'Together',91 'Together',
94 'Ubicloud',
95 'Venice',92 'Venice',
96 'WandB',93 'WandB',
97 'xAI',94 'xAI',