Skip to content

Instantly share code, notes, and snippets.

@sdcb
Last active March 24, 2025 01:51
Show Gist options
  • Save sdcb/94302f37ebd7ae9d270b3f92dabb50ab to your computer and use it in GitHub Desktop.
Save sdcb/94302f37ebd7ae9d270b3f92dabb50ab to your computer and use it in GitHub Desktop.
INSERT INTO `ModelProvider`(`Id`, `Name`, `InitialHost`, `InitialSecret`, `RequireDeploymentName`)
VALUES (18, 'OpenRouter', 'https://openrouter.ai/api/v1', 'sk-or-v1-***', 1);
INSERT INTO `ModelReference`(`Id`, `ProviderId`, `Name`, `DisplayName`, `PublishDate`, `MinTemperature`, `MaxTemperature`, `AllowSearch`, `AllowVision`, `AllowSystemPrompt`, `AllowStreaming`, `ReasoningResponseKindId`, `ContextWindow`, `MaxResponseTokens`, `TokenizerId`, `InputTokenPrice1M`, `OutputTokenPrice1M`, `CurrencyCode`)
VALUES (1800, 18, 'openrouter-general', null, null, 0, 2, 1, 0, 1, 1, 0, 128000, 8000, null, 0, 0, 'USD');
INSERT INTO `ModelReference`(`Id`, `ProviderId`, `Name`, `DisplayName`, `PublishDate`, `MinTemperature`, `MaxTemperature`, `AllowSearch`, `AllowVision`, `AllowSystemPrompt`, `AllowStreaming`, `ReasoningResponseKindId`, `ContextWindow`, `MaxResponseTokens`, `TokenizerId`, `InputTokenPrice1M`, `OutputTokenPrice1M`, `CurrencyCode`)
VALUES (1801, 18, 'openrouter-vision', null, null, 0, 2, 1, 1, 1, 1, 0, 128000, 8000, null, 0, 0, 'USD');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment