| 24 | * @type {string[]} | 24 | * @type {string[]} |
| 25 | */ | 25 | */ |
| 26 | const OPENROUTER_PROVIDERS = [ | 26 | const 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/providers | 27 | // 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', |