Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 78 additions & 16 deletions packages/ai-openrouter/src/model-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ const _MOONSHOTAI_KIMI_LATEST = {
pricing: {
text: {
input: {
normal: 0.55,
cached: 0.11,
normal: 0.66,
cached: 0.14,
},
output: {
normal: 3.2,
normal: 3.41,
},
},
image: 0,
Expand Down Expand Up @@ -1935,10 +1935,11 @@ const DEEPSEEK_DEEPSEEK_V4_FLASH = {
],
},
context_window: 1048576,
max_output_tokens: 16384,
pricing: {
text: {
input: {
normal: 0.089,
normal: 0.09,
cached: 0.018,
},
output: {
Expand Down Expand Up @@ -4880,11 +4881,11 @@ const MOONSHOTAI_KIMI_K2_6 = {
pricing: {
text: {
input: {
normal: 0.55,
cached: 0.11,
normal: 0.66,
cached: 0.14,
},
output: {
normal: 3.2,
normal: 3.41,
},
},
image: 0,
Expand Down Expand Up @@ -7130,6 +7131,7 @@ const OPENAI_GPT_OSS_20B_FREE = {
output: ['text'],
supports: [
'frequencyPenalty',
'logprobs',
'maxCompletionTokens',
'presencePenalty',
'reasoning',
Expand All @@ -7138,6 +7140,7 @@ const OPENAI_GPT_OSS_20B_FREE = {
'stop',
'temperature',
'toolChoice',
'topLogprobs',
'topP',
],
},
Expand Down Expand Up @@ -7709,6 +7712,52 @@ const POOLSIDE_LAGUNA_M_1_FREE = {
image: 0,
},
} as const
const POOLSIDE_LAGUNA_XS_2_1 = {
id: 'poolside/laguna-xs-2.1',
name: 'Poolside: Laguna XS 2.1',
supports: {
input: ['text'],
output: ['text'],
supports: ['maxCompletionTokens', 'reasoning', 'temperature', 'toolChoice'],
},
context_window: 262144,
max_output_tokens: 32768,
pricing: {
text: {
input: {
normal: 0.06,
cached: 0.03,
},
output: {
normal: 0.12,
},
},
image: 0,
},
} as const
const POOLSIDE_LAGUNA_XS_2_1_FREE = {
id: 'poolside/laguna-xs-2.1:free',
name: 'Poolside: Laguna XS 2.1 (free)',
supports: {
input: ['text'],
output: ['text'],
supports: ['maxCompletionTokens', 'reasoning', 'temperature', 'toolChoice'],
},
context_window: 262144,
max_output_tokens: 32768,
pricing: {
text: {
input: {
normal: 0,
cached: 0,
},
output: {
normal: 0,
},
},
image: 0,
},
} as const
const POOLSIDE_LAGUNA_XS_2 = {
id: 'poolside/laguna-xs.2',
name: 'Poolside: Laguna XS.2',
Expand Down Expand Up @@ -8801,7 +8850,6 @@ const QWEN_QWEN3_VL_30B_A3B_THINKING = {
'reasoning',
'responseFormat',
'seed',
'stop',
'temperature',
'toolChoice',
'topLogprobs',
Expand Down Expand Up @@ -8882,11 +8930,11 @@ const QWEN_QWEN3_VL_8B_INSTRUCT = {
pricing: {
text: {
input: {
normal: 0.08,
normal: 0.117,
cached: 0,
},
output: {
normal: 0.5,
normal: 0.455,
},
},
image: 0,
Expand Down Expand Up @@ -10640,7 +10688,6 @@ const Z_AI_GLM_5_1 = {
'logitBias',
'logprobs',
'maxCompletionTokens',
'parallelToolCalls',
'presencePenalty',
'reasoning',
'responseFormat',
Expand All @@ -10653,14 +10700,15 @@ const Z_AI_GLM_5_1 = {
],
},
context_window: 202752,
max_output_tokens: 128000,
pricing: {
text: {
input: {
normal: 0.975,
cached: 0,
normal: 0.966,
cached: 0.1794,
},
output: {
normal: 4.3,
normal: 3.036,
},
},
image: 0,
Expand Down Expand Up @@ -13434,6 +13482,7 @@ export type OpenRouterModelOptionsByName = {
Pick<
OpenRouterBaseOptions,
| 'frequencyPenalty'
| 'logprobs'
| 'maxCompletionTokens'
| 'presencePenalty'
| 'reasoning'
Expand All @@ -13442,6 +13491,7 @@ export type OpenRouterModelOptionsByName = {
| 'stop'
| 'temperature'
| 'toolChoice'
| 'topLogprobs'
| 'topP'
>
[OPENAI_GPT_OSS_SAFEGUARD_20B.id]: OpenRouterCommonOptions &
Expand Down Expand Up @@ -13626,6 +13676,16 @@ export type OpenRouterModelOptionsByName = {
OpenRouterBaseOptions,
'maxCompletionTokens' | 'reasoning' | 'temperature' | 'toolChoice'
>
[POOLSIDE_LAGUNA_XS_2_1.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
'maxCompletionTokens' | 'reasoning' | 'temperature' | 'toolChoice'
>
[POOLSIDE_LAGUNA_XS_2_1_FREE.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
'maxCompletionTokens' | 'reasoning' | 'temperature' | 'toolChoice'
>
[POOLSIDE_LAGUNA_XS_2.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
Expand Down Expand Up @@ -14080,7 +14140,6 @@ export type OpenRouterModelOptionsByName = {
| 'reasoning'
| 'responseFormat'
| 'seed'
| 'stop'
| 'temperature'
| 'toolChoice'
| 'topLogprobs'
Expand Down Expand Up @@ -14831,7 +14890,6 @@ export type OpenRouterModelOptionsByName = {
| 'logitBias'
| 'logprobs'
| 'maxCompletionTokens'
| 'parallelToolCalls'
| 'presencePenalty'
| 'reasoning'
| 'responseFormat'
Expand Down Expand Up @@ -15175,6 +15233,8 @@ export type OpenRouterModelInputModalitiesByName = {
[PERPLEXITY_SONAR_REASONING_PRO.id]: ReadonlyArray<'text' | 'image'>
[POOLSIDE_LAGUNA_M_1.id]: ReadonlyArray<'text'>
[POOLSIDE_LAGUNA_M_1_FREE.id]: ReadonlyArray<'text'>
[POOLSIDE_LAGUNA_XS_2_1.id]: ReadonlyArray<'text'>
[POOLSIDE_LAGUNA_XS_2_1_FREE.id]: ReadonlyArray<'text'>
[POOLSIDE_LAGUNA_XS_2.id]: ReadonlyArray<'text'>
[POOLSIDE_LAGUNA_XS_2_FREE.id]: ReadonlyArray<'text'>
[QWEN_QWEN_2_5_72B_INSTRUCT.id]: ReadonlyArray<'text'>
Expand Down Expand Up @@ -15512,6 +15572,8 @@ export const OPENROUTER_CHAT_MODELS = [
PERPLEXITY_SONAR_REASONING_PRO.id,
POOLSIDE_LAGUNA_M_1.id,
POOLSIDE_LAGUNA_M_1_FREE.id,
POOLSIDE_LAGUNA_XS_2_1.id,
POOLSIDE_LAGUNA_XS_2_1_FREE.id,
POOLSIDE_LAGUNA_XS_2.id,
POOLSIDE_LAGUNA_XS_2_FREE.id,
QWEN_QWEN_2_5_72B_INSTRUCT.id,
Expand Down
2 changes: 1 addition & 1 deletion scripts/.sync-models-last-run
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1782981491
1783068215
Loading