ask-llm-providers 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/ask/llm/cost_calculator.rb +65 -37
- data/lib/ask/llm/models/anthropic.json +367 -0
- data/lib/ask/llm/models/bedrock.json +140 -0
- data/lib/ask/llm/models/deepseek.json +213 -0
- data/lib/ask/llm/models/gemini.json +394 -0
- data/lib/ask/llm/models/meta.json +299 -0
- data/lib/ask/llm/models/mistral.json +404 -0
- data/lib/ask/llm/models/moonshot.json +198 -0
- data/lib/ask/llm/models/nvidia_nim.json +289 -0
- data/lib/ask/llm/models/openai.json +695 -0
- data/lib/ask/llm/models/perplexity.json +29 -0
- data/lib/ask/llm/models/xai.json +52 -0
- data/lib/ask/llm/sources/openrouter.rb +176 -0
- data/lib/ask/llm/version.rb +1 -1
- metadata +5 -1
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "kimi-k2",
|
|
4
|
+
"name": "MoonshotAI: Kimi K2 0711",
|
|
5
|
+
"provider": "moonshot",
|
|
6
|
+
"context_window": 131072,
|
|
7
|
+
"max_output_tokens": 100352,
|
|
8
|
+
"capabilities": [],
|
|
9
|
+
"modalities": {
|
|
10
|
+
"input": [
|
|
11
|
+
"text"
|
|
12
|
+
],
|
|
13
|
+
"output": [
|
|
14
|
+
"text"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"pricing": {
|
|
18
|
+
"text_tokens": {
|
|
19
|
+
"standard": {
|
|
20
|
+
"input_per_million": 0.57,
|
|
21
|
+
"output_per_million": 2.3
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"architecture": "text->text",
|
|
26
|
+
"source": "openrouter"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "kimi-k2-0905",
|
|
30
|
+
"name": "MoonshotAI: Kimi K2 0905",
|
|
31
|
+
"provider": "moonshot",
|
|
32
|
+
"context_window": 262144,
|
|
33
|
+
"max_output_tokens": 100352,
|
|
34
|
+
"capabilities": [],
|
|
35
|
+
"modalities": {
|
|
36
|
+
"input": [
|
|
37
|
+
"text"
|
|
38
|
+
],
|
|
39
|
+
"output": [
|
|
40
|
+
"text"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"pricing": {
|
|
44
|
+
"text_tokens": {
|
|
45
|
+
"standard": {
|
|
46
|
+
"input_per_million": 0.6,
|
|
47
|
+
"output_per_million": 2.5
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"architecture": "text->text",
|
|
52
|
+
"source": "openrouter"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "kimi-k2-thinking",
|
|
56
|
+
"name": "MoonshotAI: Kimi K2 Thinking",
|
|
57
|
+
"provider": "moonshot",
|
|
58
|
+
"context_window": 262144,
|
|
59
|
+
"max_output_tokens": 262144,
|
|
60
|
+
"capabilities": [],
|
|
61
|
+
"modalities": {
|
|
62
|
+
"input": [
|
|
63
|
+
"text"
|
|
64
|
+
],
|
|
65
|
+
"output": [
|
|
66
|
+
"text"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"pricing": {
|
|
70
|
+
"text_tokens": {
|
|
71
|
+
"standard": {
|
|
72
|
+
"input_per_million": 0.6,
|
|
73
|
+
"output_per_million": 2.5
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"architecture": "text->text",
|
|
78
|
+
"source": "openrouter"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "kimi-k2.5",
|
|
82
|
+
"name": "MoonshotAI: Kimi K2.5",
|
|
83
|
+
"provider": "moonshot",
|
|
84
|
+
"context_window": 262144,
|
|
85
|
+
"max_output_tokens": 262144,
|
|
86
|
+
"capabilities": [
|
|
87
|
+
"vision"
|
|
88
|
+
],
|
|
89
|
+
"modalities": {
|
|
90
|
+
"input": [
|
|
91
|
+
"text",
|
|
92
|
+
"image"
|
|
93
|
+
],
|
|
94
|
+
"output": [
|
|
95
|
+
"text"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"pricing": {
|
|
99
|
+
"text_tokens": {
|
|
100
|
+
"standard": {
|
|
101
|
+
"input_per_million": 0.57,
|
|
102
|
+
"output_per_million": 2.85,
|
|
103
|
+
"cache_read_input_per_million": 0.095
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"architecture": "text+image->text",
|
|
108
|
+
"source": "openrouter"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "kimi-k2.6",
|
|
112
|
+
"name": "MoonshotAI: Kimi K2.6",
|
|
113
|
+
"provider": "moonshot",
|
|
114
|
+
"context_window": 262144,
|
|
115
|
+
"capabilities": [
|
|
116
|
+
"vision"
|
|
117
|
+
],
|
|
118
|
+
"modalities": {
|
|
119
|
+
"input": [
|
|
120
|
+
"text",
|
|
121
|
+
"image"
|
|
122
|
+
],
|
|
123
|
+
"output": [
|
|
124
|
+
"text"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"pricing": {
|
|
128
|
+
"text_tokens": {
|
|
129
|
+
"standard": {
|
|
130
|
+
"input_per_million": 0.95,
|
|
131
|
+
"output_per_million": 4.0,
|
|
132
|
+
"cache_read_input_per_million": 0.16
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"architecture": "text+image->text",
|
|
137
|
+
"source": "openrouter"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "kimi-k2.7-code",
|
|
141
|
+
"name": "MoonshotAI: Kimi K2.7 Code",
|
|
142
|
+
"provider": "moonshot",
|
|
143
|
+
"context_window": 262144,
|
|
144
|
+
"max_output_tokens": 262144,
|
|
145
|
+
"capabilities": [
|
|
146
|
+
"vision"
|
|
147
|
+
],
|
|
148
|
+
"modalities": {
|
|
149
|
+
"input": [
|
|
150
|
+
"text",
|
|
151
|
+
"image"
|
|
152
|
+
],
|
|
153
|
+
"output": [
|
|
154
|
+
"text"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"pricing": {
|
|
158
|
+
"text_tokens": {
|
|
159
|
+
"standard": {
|
|
160
|
+
"input_per_million": 0.75,
|
|
161
|
+
"output_per_million": 3.5,
|
|
162
|
+
"cache_read_input_per_million": 0.16
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"architecture": "text+image->text",
|
|
167
|
+
"source": "openrouter"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "kimi-k3",
|
|
171
|
+
"name": "MoonshotAI: Kimi K3",
|
|
172
|
+
"provider": "moonshot",
|
|
173
|
+
"context_window": 1048576,
|
|
174
|
+
"capabilities": [
|
|
175
|
+
"vision"
|
|
176
|
+
],
|
|
177
|
+
"modalities": {
|
|
178
|
+
"input": [
|
|
179
|
+
"text",
|
|
180
|
+
"image"
|
|
181
|
+
],
|
|
182
|
+
"output": [
|
|
183
|
+
"text"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"pricing": {
|
|
187
|
+
"text_tokens": {
|
|
188
|
+
"standard": {
|
|
189
|
+
"input_per_million": 3.0,
|
|
190
|
+
"output_per_million": 15.0,
|
|
191
|
+
"cache_read_input_per_million": 0.3
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"architecture": "text+image->text",
|
|
196
|
+
"source": "openrouter"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "llama-3.3-nemotron-super-49b-v1.5",
|
|
4
|
+
"name": "NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",
|
|
5
|
+
"provider": "nvidia_nim",
|
|
6
|
+
"context_window": 131072,
|
|
7
|
+
"max_output_tokens": 16384,
|
|
8
|
+
"capabilities": [],
|
|
9
|
+
"modalities": {
|
|
10
|
+
"input": [
|
|
11
|
+
"text"
|
|
12
|
+
],
|
|
13
|
+
"output": [
|
|
14
|
+
"text"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"pricing": {
|
|
18
|
+
"text_tokens": {
|
|
19
|
+
"standard": {
|
|
20
|
+
"input_per_million": 0.4,
|
|
21
|
+
"output_per_million": 0.4
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"architecture": "text->text",
|
|
26
|
+
"source": "openrouter"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "nemotron-3-nano-30b-a3b",
|
|
30
|
+
"name": "NVIDIA: Nemotron 3 Nano 30B A3B",
|
|
31
|
+
"provider": "nvidia_nim",
|
|
32
|
+
"context_window": 262144,
|
|
33
|
+
"max_output_tokens": 228000,
|
|
34
|
+
"capabilities": [],
|
|
35
|
+
"modalities": {
|
|
36
|
+
"input": [
|
|
37
|
+
"text"
|
|
38
|
+
],
|
|
39
|
+
"output": [
|
|
40
|
+
"text"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"pricing": {
|
|
44
|
+
"text_tokens": {
|
|
45
|
+
"standard": {
|
|
46
|
+
"input_per_million": 0.05,
|
|
47
|
+
"output_per_million": 0.2
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"architecture": "text->text",
|
|
52
|
+
"source": "openrouter"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "nemotron-3-nano-30b-a3b:free",
|
|
56
|
+
"name": "NVIDIA: Nemotron 3 Nano 30B A3B (free)",
|
|
57
|
+
"provider": "nvidia_nim",
|
|
58
|
+
"context_window": 256000,
|
|
59
|
+
"capabilities": [],
|
|
60
|
+
"modalities": {
|
|
61
|
+
"input": [
|
|
62
|
+
"text"
|
|
63
|
+
],
|
|
64
|
+
"output": [
|
|
65
|
+
"text"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"pricing": {
|
|
69
|
+
"text_tokens": {
|
|
70
|
+
"standard": {
|
|
71
|
+
"input_per_million": 0.0,
|
|
72
|
+
"output_per_million": 0.0
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"architecture": "text->text",
|
|
77
|
+
"source": "openrouter"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "nemotron-3-nano-omni-30b-a3b-reasoning:free",
|
|
81
|
+
"name": "NVIDIA: Nemotron 3 Nano Omni (free)",
|
|
82
|
+
"provider": "nvidia_nim",
|
|
83
|
+
"context_window": 256000,
|
|
84
|
+
"max_output_tokens": 65536,
|
|
85
|
+
"capabilities": [],
|
|
86
|
+
"modalities": {
|
|
87
|
+
"input": [
|
|
88
|
+
"text"
|
|
89
|
+
],
|
|
90
|
+
"output": [
|
|
91
|
+
"text"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"pricing": {
|
|
95
|
+
"text_tokens": {
|
|
96
|
+
"standard": {
|
|
97
|
+
"input_per_million": 0.0,
|
|
98
|
+
"output_per_million": 0.0
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"architecture": "text+image+audio+video->text",
|
|
103
|
+
"source": "openrouter"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "nemotron-3-super-120b-a12b",
|
|
107
|
+
"name": "NVIDIA: Nemotron 3 Super",
|
|
108
|
+
"provider": "nvidia_nim",
|
|
109
|
+
"context_window": 1000000,
|
|
110
|
+
"capabilities": [],
|
|
111
|
+
"modalities": {
|
|
112
|
+
"input": [
|
|
113
|
+
"text"
|
|
114
|
+
],
|
|
115
|
+
"output": [
|
|
116
|
+
"text"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"pricing": {
|
|
120
|
+
"text_tokens": {
|
|
121
|
+
"standard": {
|
|
122
|
+
"input_per_million": 0.21,
|
|
123
|
+
"output_per_million": 0.455,
|
|
124
|
+
"cache_read_input_per_million": 0.06
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"architecture": "text->text",
|
|
129
|
+
"source": "openrouter"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "nemotron-3-super-120b-a12b:free",
|
|
133
|
+
"name": "NVIDIA: Nemotron 3 Super (free)",
|
|
134
|
+
"provider": "nvidia_nim",
|
|
135
|
+
"context_window": 1000000,
|
|
136
|
+
"max_output_tokens": 262144,
|
|
137
|
+
"capabilities": [],
|
|
138
|
+
"modalities": {
|
|
139
|
+
"input": [
|
|
140
|
+
"text"
|
|
141
|
+
],
|
|
142
|
+
"output": [
|
|
143
|
+
"text"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"pricing": {
|
|
147
|
+
"text_tokens": {
|
|
148
|
+
"standard": {
|
|
149
|
+
"input_per_million": 0.0,
|
|
150
|
+
"output_per_million": 0.0
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"architecture": "text->text",
|
|
155
|
+
"source": "openrouter"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "nemotron-3-ultra-550b-a55b",
|
|
159
|
+
"name": "NVIDIA: Nemotron 3 Ultra",
|
|
160
|
+
"provider": "nvidia_nim",
|
|
161
|
+
"context_window": 1000000,
|
|
162
|
+
"capabilities": [],
|
|
163
|
+
"modalities": {
|
|
164
|
+
"input": [
|
|
165
|
+
"text"
|
|
166
|
+
],
|
|
167
|
+
"output": [
|
|
168
|
+
"text"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"pricing": {
|
|
172
|
+
"text_tokens": {
|
|
173
|
+
"standard": {
|
|
174
|
+
"input_per_million": 0.6,
|
|
175
|
+
"output_per_million": 3.6,
|
|
176
|
+
"cache_read_input_per_million": 0.2
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"architecture": "text->text",
|
|
181
|
+
"source": "openrouter"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "nemotron-3-ultra-550b-a55b:free",
|
|
185
|
+
"name": "NVIDIA: Nemotron 3 Ultra (free)",
|
|
186
|
+
"provider": "nvidia_nim",
|
|
187
|
+
"context_window": 1000000,
|
|
188
|
+
"max_output_tokens": 65536,
|
|
189
|
+
"capabilities": [],
|
|
190
|
+
"modalities": {
|
|
191
|
+
"input": [
|
|
192
|
+
"text"
|
|
193
|
+
],
|
|
194
|
+
"output": [
|
|
195
|
+
"text"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"pricing": {
|
|
199
|
+
"text_tokens": {
|
|
200
|
+
"standard": {
|
|
201
|
+
"input_per_million": 0.0,
|
|
202
|
+
"output_per_million": 0.0
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"architecture": "text->text",
|
|
207
|
+
"source": "openrouter"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "nemotron-3.5-content-safety:free",
|
|
211
|
+
"name": "NVIDIA: Nemotron 3.5 Content Safety (free)",
|
|
212
|
+
"provider": "nvidia_nim",
|
|
213
|
+
"context_window": 128000,
|
|
214
|
+
"max_output_tokens": 8192,
|
|
215
|
+
"capabilities": [
|
|
216
|
+
"vision"
|
|
217
|
+
],
|
|
218
|
+
"modalities": {
|
|
219
|
+
"input": [
|
|
220
|
+
"text",
|
|
221
|
+
"image"
|
|
222
|
+
],
|
|
223
|
+
"output": [
|
|
224
|
+
"text"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"pricing": {
|
|
228
|
+
"text_tokens": {
|
|
229
|
+
"standard": {
|
|
230
|
+
"input_per_million": 0.0,
|
|
231
|
+
"output_per_million": 0.0
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"architecture": "text+image->text",
|
|
236
|
+
"source": "openrouter"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "nemotron-nano-12b-v2-vl:free",
|
|
240
|
+
"name": "NVIDIA: Nemotron Nano 12B 2 VL (free)",
|
|
241
|
+
"provider": "nvidia_nim",
|
|
242
|
+
"context_window": 128000,
|
|
243
|
+
"max_output_tokens": 128000,
|
|
244
|
+
"capabilities": [],
|
|
245
|
+
"modalities": {
|
|
246
|
+
"input": [
|
|
247
|
+
"text"
|
|
248
|
+
],
|
|
249
|
+
"output": [
|
|
250
|
+
"text"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"pricing": {
|
|
254
|
+
"text_tokens": {
|
|
255
|
+
"standard": {
|
|
256
|
+
"input_per_million": 0.0,
|
|
257
|
+
"output_per_million": 0.0
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"architecture": "text+image+video->text",
|
|
262
|
+
"source": "openrouter"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"id": "nemotron-nano-9b-v2:free",
|
|
266
|
+
"name": "NVIDIA: Nemotron Nano 9B V2 (free)",
|
|
267
|
+
"provider": "nvidia_nim",
|
|
268
|
+
"context_window": 128000,
|
|
269
|
+
"capabilities": [],
|
|
270
|
+
"modalities": {
|
|
271
|
+
"input": [
|
|
272
|
+
"text"
|
|
273
|
+
],
|
|
274
|
+
"output": [
|
|
275
|
+
"text"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"pricing": {
|
|
279
|
+
"text_tokens": {
|
|
280
|
+
"standard": {
|
|
281
|
+
"input_per_million": 0.0,
|
|
282
|
+
"output_per_million": 0.0
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"architecture": "text->text",
|
|
287
|
+
"source": "openrouter"
|
|
288
|
+
}
|
|
289
|
+
]
|