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
240 changes: 183 additions & 57 deletions packages/ai-openrouter/src/model-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3478,7 +3478,7 @@ const META_LLAMA_LLAMA_3_1_8B_INSTRUCT = {
cached: 0,
},
output: {
normal: 0.05,
normal: 0.03,
},
},
image: 0,
Expand Down Expand Up @@ -5437,6 +5437,100 @@ const NVIDIA_NEMOTRON_3_SUPER_120B_A12B_FREE = {
image: 0,
},
} as const
const NVIDIA_NEMOTRON_3_ULTRA_550B_A55B = {
id: 'nvidia/nemotron-3-ultra-550b-a55b',
name: 'NVIDIA: Nemotron 3 Ultra',
supports: {
input: ['text'],
output: ['text'],
supports: [
'frequencyPenalty',
'logitBias',
'maxCompletionTokens',
'presencePenalty',
'reasoning',
'responseFormat',
'seed',
'stop',
'temperature',
'toolChoice',
'topP',
],
},
context_window: 1000000,
max_output_tokens: 16384,
pricing: {
text: {
input: {
normal: 0.5,
cached: 0.15,
},
output: {
normal: 2.5,
},
},
image: 0,
},
} as const
const NVIDIA_NEMOTRON_3_ULTRA_550B_A55B_FREE = {
id: 'nvidia/nemotron-3-ultra-550b-a55b:free',
name: 'NVIDIA: Nemotron 3 Ultra (free)',
supports: {
input: ['text'],
output: ['text'],
supports: [
'maxCompletionTokens',
'reasoning',
'seed',
'temperature',
'toolChoice',
'topP',
],
},
context_window: 1000000,
max_output_tokens: 65536,
pricing: {
text: {
input: {
normal: 0,
cached: 0,
},
output: {
normal: 0,
},
},
image: 0,
},
} as const
const NVIDIA_NEMOTRON_3_5_CONTENT_SAFETY_FREE = {
id: 'nvidia/nemotron-3.5-content-safety:free',
name: 'NVIDIA: Nemotron 3.5 Content Safety (free)',
supports: {
input: ['text', 'image'],
output: ['text'],
supports: [
'maxCompletionTokens',
'reasoning',
'seed',
'temperature',
'topP',
],
},
context_window: 128000,
max_output_tokens: 8192,
pricing: {
text: {
input: {
normal: 0,
cached: 0,
},
output: {
normal: 0,
},
},
image: 0,
},
} as const
const NVIDIA_NEMOTRON_NANO_12B_V2_VL_FREE = {
id: 'nvidia/nemotron-nano-12b-v2-vl:free',
name: 'NVIDIA: Nemotron Nano 12B 2 VL (free)',
Expand Down Expand Up @@ -5713,42 +5807,6 @@ const OPENAI_GPT_4 = {
image: 0,
},
} as const
const OPENAI_GPT_4_0314 = {
id: 'openai/gpt-4-0314',
name: 'OpenAI: GPT-4 (older v0314)',
supports: {
input: ['text'],
output: ['text'],
supports: [
'frequencyPenalty',
'logitBias',
'logprobs',
'maxCompletionTokens',
'presencePenalty',
'responseFormat',
'seed',
'stop',
'temperature',
'toolChoice',
'topLogprobs',
'topP',
],
},
context_window: 8191,
max_output_tokens: 4096,
pricing: {
text: {
input: {
normal: 30,
cached: 0,
},
output: {
normal: 60,
},
},
image: 0,
},
} as const
const OPENAI_GPT_4_1106_PREVIEW = {
id: 'openai/gpt-4-1106-preview',
name: 'OpenAI: GPT-4 Turbo (older v1106)',
Expand Down Expand Up @@ -8275,11 +8333,11 @@ const QWEN_QWEN3_30B_A3B_INSTRUCT_2507 = {
pricing: {
text: {
input: {
normal: 0.0428,
normal: 0.04815,
cached: 0,
},
output: {
normal: 0.1716,
normal: 0.19305,
},
},
image: 0,
Expand Down Expand Up @@ -9467,6 +9525,40 @@ const QWEN_QWEN3_7_MAX = {
image: 0,
},
} as const
const QWEN_QWEN3_7_PLUS = {
id: 'qwen/qwen3.7-plus',
name: 'Qwen: Qwen3.7 Plus',
supports: {
input: ['text', 'image'],
output: ['text'],
supports: [
'logprobs',
'maxCompletionTokens',
'presencePenalty',
'reasoning',
'responseFormat',
'seed',
'temperature',
'toolChoice',
'topLogprobs',
'topP',
],
},
context_window: 1000000,
max_output_tokens: 65536,
pricing: {
text: {
input: {
normal: 0.4,
cached: 0.58,
},
output: {
normal: 1.6,
},
},
image: 0,
},
} as const
const REKAAI_REKA_EDGE = {
id: 'rekaai/reka-edge',
name: 'Reka Edge',
Expand Down Expand Up @@ -12818,6 +12910,36 @@ export type OpenRouterModelOptionsByName = {
| 'toolChoice'
| 'topP'
>
[NVIDIA_NEMOTRON_3_ULTRA_550B_A55B.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
| 'frequencyPenalty'
| 'logitBias'
| 'maxCompletionTokens'
| 'presencePenalty'
| 'reasoning'
| 'responseFormat'
| 'seed'
| 'stop'
| 'temperature'
| 'toolChoice'
| 'topP'
>
[NVIDIA_NEMOTRON_3_ULTRA_550B_A55B_FREE.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
| 'maxCompletionTokens'
| 'reasoning'
| 'seed'
| 'temperature'
| 'toolChoice'
| 'topP'
>
[NVIDIA_NEMOTRON_3_5_CONTENT_SAFETY_FREE.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
'maxCompletionTokens' | 'reasoning' | 'seed' | 'temperature' | 'topP'
>
[NVIDIA_NEMOTRON_NANO_12B_V2_VL_FREE.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
Expand Down Expand Up @@ -12935,22 +13057,6 @@ export type OpenRouterModelOptionsByName = {
| 'topLogprobs'
| 'topP'
>
[OPENAI_GPT_4_0314.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
| 'frequencyPenalty'
| 'logitBias'
| 'logprobs'
| 'maxCompletionTokens'
| 'presencePenalty'
| 'responseFormat'
| 'seed'
| 'stop'
| 'temperature'
| 'toolChoice'
| 'topLogprobs'
| 'topP'
>
[OPENAI_GPT_4_1106_PREVIEW.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
Expand Down Expand Up @@ -14364,6 +14470,20 @@ export type OpenRouterModelOptionsByName = {
| 'topLogprobs'
| 'topP'
>
[QWEN_QWEN3_7_PLUS.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
| 'logprobs'
| 'maxCompletionTokens'
| 'presencePenalty'
| 'reasoning'
| 'responseFormat'
| 'seed'
| 'temperature'
| 'toolChoice'
| 'topLogprobs'
| 'topP'
>
[REKAAI_REKA_EDGE.id]: OpenRouterCommonOptions &
Pick<
OpenRouterBaseOptions,
Expand Down Expand Up @@ -15112,6 +15232,9 @@ export type OpenRouterModelInputModalitiesByName = {
>
[NVIDIA_NEMOTRON_3_SUPER_120B_A12B.id]: ReadonlyArray<'text'>
[NVIDIA_NEMOTRON_3_SUPER_120B_A12B_FREE.id]: ReadonlyArray<'text'>
[NVIDIA_NEMOTRON_3_ULTRA_550B_A55B.id]: ReadonlyArray<'text'>
[NVIDIA_NEMOTRON_3_ULTRA_550B_A55B_FREE.id]: ReadonlyArray<'text'>
[NVIDIA_NEMOTRON_3_5_CONTENT_SAFETY_FREE.id]: ReadonlyArray<'text' | 'image'>
[NVIDIA_NEMOTRON_NANO_12B_V2_VL_FREE.id]: ReadonlyArray<
'image' | 'text' | 'video'
>
Expand All @@ -15122,7 +15245,6 @@ export type OpenRouterModelInputModalitiesByName = {
[OPENAI_GPT_3_5_TURBO_16K.id]: ReadonlyArray<'text'>
[OPENAI_GPT_3_5_TURBO_INSTRUCT.id]: ReadonlyArray<'text'>
[OPENAI_GPT_4.id]: ReadonlyArray<'text'>
[OPENAI_GPT_4_0314.id]: ReadonlyArray<'text'>
[OPENAI_GPT_4_1106_PREVIEW.id]: ReadonlyArray<'text'>
[OPENAI_GPT_4_TURBO.id]: ReadonlyArray<'text' | 'image'>
[OPENAI_GPT_4_TURBO_PREVIEW.id]: ReadonlyArray<'text'>
Expand Down Expand Up @@ -15243,6 +15365,7 @@ export type OpenRouterModelInputModalitiesByName = {
[QWEN_QWEN3_6_MAX_PREVIEW.id]: ReadonlyArray<'text'>
[QWEN_QWEN3_6_PLUS.id]: ReadonlyArray<'text' | 'image' | 'video'>
[QWEN_QWEN3_7_MAX.id]: ReadonlyArray<'text'>
[QWEN_QWEN3_7_PLUS.id]: ReadonlyArray<'text' | 'image'>
[REKAAI_REKA_EDGE.id]: ReadonlyArray<'image' | 'text' | 'video'>
[REKAAI_REKA_FLASH_3.id]: ReadonlyArray<'text'>
[RELACE_RELACE_APPLY_3.id]: ReadonlyArray<'text'>
Expand Down Expand Up @@ -15460,6 +15583,9 @@ export const OPENROUTER_CHAT_MODELS = [
NVIDIA_NEMOTRON_3_NANO_OMNI_30B_A3B_REASONING_FREE.id,
NVIDIA_NEMOTRON_3_SUPER_120B_A12B.id,
NVIDIA_NEMOTRON_3_SUPER_120B_A12B_FREE.id,
NVIDIA_NEMOTRON_3_ULTRA_550B_A55B.id,
NVIDIA_NEMOTRON_3_ULTRA_550B_A55B_FREE.id,
NVIDIA_NEMOTRON_3_5_CONTENT_SAFETY_FREE.id,
NVIDIA_NEMOTRON_NANO_12B_V2_VL_FREE.id,
NVIDIA_NEMOTRON_NANO_9B_V2.id,
NVIDIA_NEMOTRON_NANO_9B_V2_FREE.id,
Expand All @@ -15468,7 +15594,6 @@ export const OPENROUTER_CHAT_MODELS = [
OPENAI_GPT_3_5_TURBO_16K.id,
OPENAI_GPT_3_5_TURBO_INSTRUCT.id,
OPENAI_GPT_4.id,
OPENAI_GPT_4_0314.id,
OPENAI_GPT_4_1106_PREVIEW.id,
OPENAI_GPT_4_TURBO.id,
OPENAI_GPT_4_TURBO_PREVIEW.id,
Expand Down Expand Up @@ -15585,6 +15710,7 @@ export const OPENROUTER_CHAT_MODELS = [
QWEN_QWEN3_6_MAX_PREVIEW.id,
QWEN_QWEN3_6_PLUS.id,
QWEN_QWEN3_7_MAX.id,
QWEN_QWEN3_7_PLUS.id,
REKAAI_REKA_EDGE.id,
REKAAI_REKA_FLASH_3.id,
RELACE_RELACE_APPLY_3.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 @@
1780482493
1780650007
Loading