node-red-contrib-ai-agent 0.3.0 → 0.4.1
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.
- package/README.md +12 -1
- package/model/ai-model.html +260 -141
- package/orchestrator/orchestrator.js +5 -2
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -126,10 +126,21 @@ Creates an HTTP request tool that can be used by the AI Agent to make external A
|
|
|
126
126
|
- **Headers**: JSON object of headers to include in the request
|
|
127
127
|
- **Body**: Content to send in the request body
|
|
128
128
|
|
|
129
|
+
Example: `https://api.example.com/users/${input.userId}`
|
|
130
|
+
|
|
129
131
|
**Template Variables:**
|
|
130
132
|
You can use template variables in the URL, headers, and body to reference properties from the input object that the AI provides when calling the tool.
|
|
131
133
|
|
|
132
|
-
|
|
134
|
+
### AI Tool Approval
|
|
135
|
+
Creates an approval tool that can be used by the AI Agent to request human intervention. When called, the agent's execution pauses until a human provides a response.
|
|
136
|
+
|
|
137
|
+
**Properties:**
|
|
138
|
+
- **Name**: Display name for the node
|
|
139
|
+
- **Tool Name**: Name of the tool (used by the AI to identify the tool)
|
|
140
|
+
- **Description**: Description of what the tool does (e.g., "Request approval for payments")
|
|
141
|
+
|
|
142
|
+
**Output 2 (Approval Request):** Sends a message with `msg.payload` containing the human question and `msg.approvalId` to be used for the response.
|
|
143
|
+
|
|
133
144
|
|
|
134
145
|
## Example: Basic Usage
|
|
135
146
|
|
package/model/ai-model.html
CHANGED
|
@@ -152,159 +152,278 @@
|
|
|
152
152
|
<label for="node-config-input-model"><i class="fa fa-microchip"></i> AI Model</label>
|
|
153
153
|
<select id="node-config-input-model" style="width: 70%;">
|
|
154
154
|
<optgroup label="OpenAI">
|
|
155
|
-
<option value="openai/codex-mini"
|
|
156
|
-
<option value="openai/gpt-4.1">GPT-4.1 ($
|
|
157
|
-
<option value="openai/gpt-4.1-
|
|
158
|
-
<option value="openai/gpt-4.1
|
|
159
|
-
<option value="openai/
|
|
160
|
-
<option value="openai/gpt-4o-
|
|
161
|
-
<option value="openai/gpt-4o-search-preview">GPT-4o Search Preview ($
|
|
162
|
-
<option value="openai/gpt-
|
|
163
|
-
<option value="openai/
|
|
164
|
-
<option value="openai/gpt-
|
|
165
|
-
<option value="openai/
|
|
166
|
-
<option value="openai/
|
|
167
|
-
<option value="openai/
|
|
168
|
-
<option value="openai/
|
|
169
|
-
<option value="openai/
|
|
170
|
-
<option value="openai/gpt-
|
|
171
|
-
<option value="openai/gpt-
|
|
172
|
-
<option value="openai/gpt-
|
|
173
|
-
<option value="openai/gpt-
|
|
174
|
-
<option value="openai/gpt-
|
|
175
|
-
<option value="openai/gpt-
|
|
176
|
-
<option value="openai/gpt-
|
|
177
|
-
<option value="openai/gpt-
|
|
178
|
-
<option value="openai/gpt-
|
|
179
|
-
<option value="openai/gpt-
|
|
180
|
-
<option value="openai/gpt-
|
|
181
|
-
<option value="openai/gpt-
|
|
182
|
-
<option value="openai/gpt-
|
|
183
|
-
<option value="openai/gpt-
|
|
155
|
+
<option value="openai/codex-mini">OpenAI: Codex Mini [I+T -> T] ($1.5000/1M in, $6.0000/1M out), 200K context</option>
|
|
156
|
+
<option value="openai/gpt-4.1-mini">OpenAI: GPT-4.1 Mini [I+T+F -> T] ($0.4000/1M in, $1.6000/1M out), 1.0M context</option>
|
|
157
|
+
<option value="openai/gpt-4.1-nano">OpenAI: GPT-4.1 Nano [I+T+F -> T] ($0.1000/1M in, $0.4000/1M out), 1.0M context</option>
|
|
158
|
+
<option value="openai/gpt-4.1">OpenAI: GPT-4.1 [I+T+F -> T] ($2.0000/1M in, $8.0000/1M out), 1.0M context</option>
|
|
159
|
+
<option value="openai/gpt-4o-audio-preview">OpenAI: GPT-4o Audio [A+T -> T] ($2.5000/1M in, $10.0000/1M out), 128K context</option>
|
|
160
|
+
<option value="openai/gpt-4o-search-preview">OpenAI: GPT-4o Search Preview [T -> T] ($2.5000/1M in, $10.0000/1M out), 128K context</option>
|
|
161
|
+
<option value="openai/gpt-4o-mini-search-preview">OpenAI: GPT-4o-mini Search Preview [T -> T] ($0.1500/1M in, $0.6000/1M out), 128K context</option>
|
|
162
|
+
<option value="openai/gpt-5-chat">OpenAI: GPT-5 Chat [F+I+T -> T] ($1.2500/1M in, $10.0000/1M out), 128K context</option>
|
|
163
|
+
<option value="openai/gpt-5-codex">OpenAI: GPT-5 Codex [T+I -> T] ($1.2500/1M in, $10.0000/1M out), 400K context</option>
|
|
164
|
+
<option value="openai/gpt-5-image-mini">OpenAI: GPT-5 Image Mini [F+I+T -> I+T] ($2.5000/1M in, $2.0000/1M out), 400K context</option>
|
|
165
|
+
<option value="openai/gpt-5-image">OpenAI: GPT-5 Image [I+T+F -> I+T] ($10.0000/1M in, $10.0000/1M out), 400K context</option>
|
|
166
|
+
<option value="openai/gpt-5-mini">OpenAI: GPT-5 Mini [T+I+F -> T] ($0.2500/1M in, $2.0000/1M out), 400K context</option>
|
|
167
|
+
<option value="openai/gpt-5-nano">OpenAI: GPT-5 Nano [T+I+F -> T] ($0.0500/1M in, $0.4000/1M out), 400K context</option>
|
|
168
|
+
<option value="openai/gpt-5-pro">OpenAI: GPT-5 Pro [I+T+F -> T] ($15.0000/1M in, $120.0000/1M out), 400K context</option>
|
|
169
|
+
<option value="openai/gpt-5">OpenAI: GPT-5 [T+I+F -> T] ($1.2500/1M in, $10.0000/1M out), 400K context</option>
|
|
170
|
+
<option value="openai/gpt-5.1-chat">OpenAI: GPT-5.1 Chat [F+I+T -> T] ($1.2500/1M in, $10.0000/1M out), 128K context</option>
|
|
171
|
+
<option value="openai/gpt-5.1">OpenAI: GPT-5.1 [I+T+F -> T] ($1.2500/1M in, $10.0000/1M out), 400K context</option>
|
|
172
|
+
<option value="openai/gpt-5.1-codex">OpenAI: GPT-5.1-Codex [T+I -> T] ($1.2500/1M in, $10.0000/1M out), 400K context</option>
|
|
173
|
+
<option value="openai/gpt-5.1-codex-max">OpenAI: GPT-5.1-Codex-Max [T+I -> T] ($1.2500/1M in, $10.0000/1M out), 400K context</option>
|
|
174
|
+
<option value="openai/gpt-5.1-codex-mini">OpenAI: GPT-5.1-Codex-Mini [I+T -> T] ($0.2500/1M in, $2.0000/1M out), 400K context</option>
|
|
175
|
+
<option value="openai/gpt-5.2-chat">OpenAI: GPT-5.2 Chat [F+I+T -> T] ($1.7500/1M in, $14.0000/1M out), 128K context</option>
|
|
176
|
+
<option value="openai/gpt-5.2-pro">OpenAI: GPT-5.2 Pro [I+T+F -> T] ($21.0000/1M in, $168.0000/1M out), 400K context</option>
|
|
177
|
+
<option value="openai/gpt-5.2">OpenAI: GPT-5.2 [F+I+T -> T] ($1.7500/1M in, $14.0000/1M out), 400K context</option>
|
|
178
|
+
<option value="openai/gpt-oss-120b:exacto">OpenAI: gpt-oss-120b (exacto) [T -> T] ($0.0390/1M in, $0.1900/1M out), 131K context</option>
|
|
179
|
+
<option value="openai/gpt-oss-120b:free">OpenAI: gpt-oss-120b (free) [T -> T] (Free), 131K context</option>
|
|
180
|
+
<option value="openai/gpt-oss-120b">OpenAI: gpt-oss-120b [T -> T] ($0.0390/1M in, $0.1900/1M out), 131K context</option>
|
|
181
|
+
<option value="openai/gpt-oss-20b:free">OpenAI: gpt-oss-20b (free) [T -> T] (Free), 131K context</option>
|
|
182
|
+
<option value="openai/gpt-oss-20b">OpenAI: gpt-oss-20b [T -> T] ($0.0300/1M in, $0.1400/1M out), 131K context</option>
|
|
183
|
+
<option value="openai/gpt-oss-safeguard-20b">OpenAI: gpt-oss-safeguard-20b [T -> T] ($0.0750/1M in, $0.3000/1M out), 131K context</option>
|
|
184
|
+
<option value="openai/o1-pro">OpenAI: o1-pro [T+I+F -> T] ($150.0000/1M in, $600.0000/1M out), 200K context</option>
|
|
185
|
+
<option value="openai/o3-deep-research">OpenAI: o3 Deep Research [I+T+F -> T] ($10.0000/1M in, $40.0000/1M out), 200K context</option>
|
|
186
|
+
<option value="openai/o3-mini-high">OpenAI: o3 Mini High [T+F -> T] ($1.1000/1M in, $4.4000/1M out), 200K context</option>
|
|
187
|
+
<option value="openai/o3-mini">OpenAI: o3 Mini [T+F -> T] ($1.1000/1M in, $4.4000/1M out), 200K context</option>
|
|
188
|
+
<option value="openai/o3-pro">OpenAI: o3 Pro [T+F+I -> T] ($20.0000/1M in, $80.0000/1M out), 200K context</option>
|
|
189
|
+
<option value="openai/o3">OpenAI: o3 [I+T+F -> T] ($2.0000/1M in, $8.0000/1M out), 200K context</option>
|
|
190
|
+
<option value="openai/o4-mini-deep-research">OpenAI: o4 Mini Deep Research [F+I+T -> T] ($2.0000/1M in, $8.0000/1M out), 200K context</option>
|
|
191
|
+
<option value="openai/o4-mini-high">OpenAI: o4 Mini High [I+T+F -> T] ($1.1000/1M in, $4.4000/1M out), 200K context</option>
|
|
192
|
+
<option value="openai/o4-mini">OpenAI: o4 Mini [I+T+F -> T] ($1.1000/1M in, $4.4000/1M out), 200K context</option>
|
|
184
193
|
</optgroup>
|
|
185
194
|
<optgroup label="Anthropic">
|
|
186
|
-
<option value="anthropic/claude-
|
|
187
|
-
<option value="anthropic/claude-sonnet
|
|
188
|
-
<option value="anthropic/claude-
|
|
189
|
-
<option value="anthropic/claude-
|
|
190
|
-
<option value="anthropic/claude-
|
|
191
|
-
<option value="anthropic/claude-
|
|
192
|
-
<option value="anthropic/claude-
|
|
193
|
-
<option value="anthropic/claude-
|
|
194
|
-
<option value="anthropic/claude-3.5-haiku-20241022">Claude 3.5 Haiku (2024-10-22) ($0.80/1M input, $4/1M output, 200K context)</option>
|
|
195
|
-
<option value="anthropic/claude-3.5-sonnet:beta">Claude 3.5 Sonnet (self-moderated) ($3/1M input, $15/1M output, 200K context)</option>
|
|
196
|
-
<option value="anthropic/claude-3.5-sonnet">Claude 3.5 Sonnet ($3/1M input, $15/1M output, 200K context)</option>
|
|
197
|
-
<option value="anthropic/claude-3.5-sonnet-20240620:beta">Claude 3.5 Sonnet (2024-06-20, self-moderated) ($3/1M input, $15/1M output, 200K context)</option>
|
|
198
|
-
<option value="anthropic/claude-3.5-sonnet-20240620">Claude 3.5 Sonnet (2024-06-20) ($3/1M input, $15/1M output, 200K context)</option>
|
|
199
|
-
<option value="anthropic/claude-3-haiku:beta">Claude 3 Haiku (self-moderated) ($0.25/1M input, $1.25/1M output, 200K context)</option>
|
|
200
|
-
<option value="anthropic/claude-3-haiku">Claude 3 Haiku ($0.25/1M input, $1.25/1M output, 200K context)</option>
|
|
201
|
-
<option value="anthropic/claude-3-opus:beta">Claude 3 Opus (self-moderated) ($15/1M input, $75/1M output, 200K context)</option>
|
|
202
|
-
<option value="anthropic/claude-3-opus">Claude 3 Opus ($15/1M input, $75/1M output, 200K context)</option>
|
|
203
|
-
<option value="anthropic/claude-3-sonnet:beta">Claude 3 Sonnet (self-moderated) ($3/1M input, $15/1M output, 200K context)</option>
|
|
204
|
-
<option value="anthropic/claude-3-sonnet">Claude 3 Sonnet ($3/1M input, $15/1M output, 200K context)</option>
|
|
205
|
-
<option value="anthropic/claude-2.1:beta">Claude v2.1 (self-moderated) ($8/1M input, $24/1M output, 200K context)</option>
|
|
206
|
-
<option value="anthropic/claude-2.1">Claude v2.1 ($8/1M input, $24/1M output, 200K context)</option>
|
|
207
|
-
<option value="anthropic/claude-2:beta">Claude v2 (self-moderated) ($8/1M input, $24/1M output, 200K context)</option>
|
|
208
|
-
<option value="anthropic/claude-2">Claude v2 ($8/1M input, $24/1M output, 200K context)</option>
|
|
209
|
-
<option value="anthropic/claude-2.0:beta">Claude v2.0 (self-moderated) ($8/1M input, $24/1M output, 100K context)</option>
|
|
210
|
-
<option value="anthropic/claude-2.0">Claude v2.0 ($8/1M input, $24/1M output, 100K context)</option>
|
|
195
|
+
<option value="anthropic/claude-3.7-sonnet:thinking">Anthropic: Claude 3.7 Sonnet (thinking) [T+I+F -> T] ($3.0000/1M in, $15.0000/1M out), 200K context</option>
|
|
196
|
+
<option value="anthropic/claude-3.7-sonnet">Anthropic: Claude 3.7 Sonnet [T+I+F -> T] ($3.0000/1M in, $15.0000/1M out), 200K context</option>
|
|
197
|
+
<option value="anthropic/claude-haiku-4.5">Anthropic: Claude Haiku 4.5 [I+T -> T] ($1.0000/1M in, $5.0000/1M out), 200K context</option>
|
|
198
|
+
<option value="anthropic/claude-opus-4">Anthropic: Claude Opus 4 [I+T+F -> T] ($15.0000/1M in, $75.0000/1M out), 200K context</option>
|
|
199
|
+
<option value="anthropic/claude-opus-4.1">Anthropic: Claude Opus 4.1 [I+T+F -> T] ($15.0000/1M in, $75.0000/1M out), 200K context</option>
|
|
200
|
+
<option value="anthropic/claude-opus-4.5">Anthropic: Claude Opus 4.5 [F+I+T -> T] ($5.0000/1M in, $25.0000/1M out), 200K context</option>
|
|
201
|
+
<option value="anthropic/claude-sonnet-4">Anthropic: Claude Sonnet 4 [I+T+F -> T] ($3.0000/1M in, $15.0000/1M out), 1.0M context</option>
|
|
202
|
+
<option value="anthropic/claude-sonnet-4.5">Anthropic: Claude Sonnet 4.5 [T+I+F -> T] ($3.0000/1M in, $15.0000/1M out), 1.0M context</option>
|
|
211
203
|
</optgroup>
|
|
212
204
|
<optgroup label="Google">
|
|
213
|
-
<option value="google/gemini-2.
|
|
214
|
-
<option value="google/gemini-2.
|
|
215
|
-
<option value="google/gemini-2.5-flash-
|
|
216
|
-
<option value="google/gemini-2.5-flash-preview
|
|
217
|
-
<option value="google/gemini-2.
|
|
218
|
-
<option value="google/gemini-2.
|
|
219
|
-
<option value="google/gemini-
|
|
220
|
-
<option value="google/gemini-
|
|
221
|
-
<option value="google/gemini-
|
|
222
|
-
<option value="google/gemini-
|
|
223
|
-
<option value="google/
|
|
224
|
-
<option value="google/
|
|
225
|
-
<option value="google/
|
|
226
|
-
<option value="google/gemma-3-12b-it:free">Gemma 3 12B (
|
|
227
|
-
<option value="google/gemma-3-
|
|
228
|
-
<option value="google/gemma-3-27b-it:free">Gemma 3 27B (
|
|
229
|
-
<option value="google/gemma-
|
|
230
|
-
<option value="google/gemma-
|
|
231
|
-
<option value="google/gemma-
|
|
232
|
-
<option value="google/
|
|
233
|
-
<option value="google/
|
|
205
|
+
<option value="google/gemini-2.0-flash-lite-001">Google: Gemini 2.0 Flash Lite [T+I+F+A+V -> T] ($0.0750/1M in, $0.3000/1M out), 1.0M context</option>
|
|
206
|
+
<option value="google/gemini-2.0-flash-001">Google: Gemini 2.0 Flash [T+I+F+A+V -> T] ($0.1000/1M in, $0.4000/1M out), 1.0M context</option>
|
|
207
|
+
<option value="google/gemini-2.5-flash-image">Google: Gemini 2.5 Flash Image (Nano Banana) [I+T -> I+T] ($0.3000/1M in, $2.5000/1M out), 32K context</option>
|
|
208
|
+
<option value="google/gemini-2.5-flash-image-preview">Google: Gemini 2.5 Flash Image Preview (Nano Banana) [I+T -> I+T] ($0.3000/1M in, $2.5000/1M out), 32K context</option>
|
|
209
|
+
<option value="google/gemini-2.5-flash-lite-preview-09-2025">Google: Gemini 2.5 Flash Lite Preview 09-2025 [T+I+F+A+V -> T] ($0.1000/1M in, $0.4000/1M out), 1.0M context</option>
|
|
210
|
+
<option value="google/gemini-2.5-flash-lite">Google: Gemini 2.5 Flash Lite [T+I+F+A+V -> T] ($0.1000/1M in, $0.4000/1M out), 1.0M context</option>
|
|
211
|
+
<option value="google/gemini-2.5-flash-preview-09-2025">Google: Gemini 2.5 Flash Preview 09-2025 [I+F+T+A+V -> T] ($0.3000/1M in, $2.5000/1M out), 1.0M context</option>
|
|
212
|
+
<option value="google/gemini-2.5-flash">Google: Gemini 2.5 Flash [F+I+T+A+V -> T] ($0.3000/1M in, $2.5000/1M out), 1.0M context</option>
|
|
213
|
+
<option value="google/gemini-2.5-pro-preview-05-06">Google: Gemini 2.5 Pro Preview 05-06 [T+I+F+A+V -> T] ($1.2500/1M in, $10.0000/1M out), 1.0M context</option>
|
|
214
|
+
<option value="google/gemini-2.5-pro-preview">Google: Gemini 2.5 Pro Preview 06-05 [F+I+T+A -> T] ($1.2500/1M in, $10.0000/1M out), 1.0M context</option>
|
|
215
|
+
<option value="google/gemini-2.5-pro">Google: Gemini 2.5 Pro [T+I+F+A+V -> T] ($1.2500/1M in, $10.0000/1M out), 1.0M context</option>
|
|
216
|
+
<option value="google/gemini-3-flash-preview">Google: Gemini 3 Flash Preview [T+I+F+A+V -> T] ($0.5000/1M in, $3.0000/1M out), 1.0M context</option>
|
|
217
|
+
<option value="google/gemini-3-pro-preview">Google: Gemini 3 Pro Preview [T+I+F+A+V -> T] ($2.0000/1M in, $12.0000/1M out), 1.0M context</option>
|
|
218
|
+
<option value="google/gemma-3-12b-it:free">Google: Gemma 3 12B (free) [T+I -> T] (Free), 32K context</option>
|
|
219
|
+
<option value="google/gemma-3-12b-it">Google: Gemma 3 12B [T+I -> T] ($0.0300/1M in, $0.1000/1M out), 131K context</option>
|
|
220
|
+
<option value="google/gemma-3-27b-it:free">Google: Gemma 3 27B (free) [T+I -> T] (Free), 131K context</option>
|
|
221
|
+
<option value="google/gemma-3-27b-it">Google: Gemma 3 27B [T+I -> T] ($0.0400/1M in, $0.1500/1M out), 96K context</option>
|
|
222
|
+
<option value="google/gemma-3-4b-it:free">Google: Gemma 3 4B (free) [T+I -> T] (Free), 32K context</option>
|
|
223
|
+
<option value="google/gemma-3-4b-it">Google: Gemma 3 4B [T+I -> T] ($0.0170/1M in, $0.0682/1M out), 96K context</option>
|
|
224
|
+
<option value="google/gemma-3n-e2b-it:free">Google: Gemma 3n 2B (free) [T -> T] (Free), 8K context</option>
|
|
225
|
+
<option value="google/gemma-3n-e4b-it:free">Google: Gemma 3n 4B (free) [T -> T] (Free), 8K context</option>
|
|
226
|
+
<option value="google/gemma-3n-e4b-it">Google: Gemma 3n 4B [T -> T] ($0.0200/1M in, $0.0400/1M out), 32K context</option>
|
|
227
|
+
<option value="google/gemini-3-pro-image-preview">Google: Nano Banana Pro (Gemini 3 Pro Image Preview) [I+T -> I+T] ($2.0000/1M in, $12.0000/1M out), 65K context</option>
|
|
234
228
|
</optgroup>
|
|
235
229
|
<optgroup label="Mistral">
|
|
236
|
-
<option value="mistralai/
|
|
237
|
-
<option value="mistralai/
|
|
238
|
-
<option value="mistralai/
|
|
239
|
-
<option value="mistralai/
|
|
240
|
-
<option value="mistralai/
|
|
241
|
-
<option value="mistralai/
|
|
242
|
-
<option value="mistralai/
|
|
243
|
-
<option value="mistralai/
|
|
244
|
-
<option value="mistralai/
|
|
245
|
-
<option value="mistralai/mistral-
|
|
246
|
-
<option value="mistralai/mistral-
|
|
247
|
-
<option value="mistralai/
|
|
248
|
-
<option value="mistralai/mistral-
|
|
249
|
-
<option value="mistralai/mistral-
|
|
250
|
-
<option value="mistralai/
|
|
251
|
-
<option value="
|
|
252
|
-
<option value="
|
|
253
|
-
<option value="
|
|
254
|
-
<option value="mistralai/
|
|
255
|
-
<option value="mistralai/ministral-3b">Ministral 3B ($0.04/1M input, $0.04/1M output, 131K context)</option>
|
|
256
|
-
<option value="mistralai/pixtral-12b">Pixtral 12B ($0.10/1M input, $0.10/1M output, 33K context)</option>
|
|
257
|
-
<option value="aetherwiing/mn-starcannon-12b">Aetherwiing: Starcannon 12B ($0.80/1M input, $1.20/1M output, 16K context)</option>
|
|
258
|
-
<option value="nothingiisreal/mn-celeste-12b">Mistral Nemo 12B Celeste ($0.80/1M input, $1.20/1M output, 16K context)</option>
|
|
259
|
-
<option value="mistralai/mistral-nemo:free">Mistral Nemo (Free) ($0/1M input, $0/1M output, 131K context)</option>
|
|
260
|
-
<option value="mistralai/mistral-nemo">Mistral Nemo ($0.008/1M input, $0.001/1M output, 131K context)</option>
|
|
261
|
-
<option value="cognitivecomputations/dolphin-mixtral-8x22b">Dolphin 2.9.2 Mixtral 8x22B ($0.90/1M input, $0.90/1M output, 16K context)</option>
|
|
262
|
-
<option value="mistralai/mistral-7b-instruct:free">Mistral 7B Instruct (Free) ($0/1M input, $0/1M output, 33K context)</option>
|
|
263
|
-
<option value="mistralai/mistral-7b-instruct">Mistral 7B Instruct ($0.028/1M input, $0.054/1M output, 33K context)</option>
|
|
264
|
-
<option value="mistralai/mistral-7b-instruct-v0.3">Mistral 7B Instruct v0.3 ($0.028/1M input, $0.054/1M output, 33K context)</option>
|
|
265
|
-
<option value="mistralai/mixtral-8x22b-instruct">Mistral: Mixtral 8x22B Instruct ($0.90/1M input, $0.90/1M output, 66K context)</option>
|
|
266
|
-
<option value="microsoft/wizardlm-2-8x22b">WizardLM-2 8x22B ($0.48/1M input, $0.48/1M output, 66K context)</option>
|
|
267
|
-
<option value="mistralai/mistral-large">Mistral Large ($2/1M input, $6/1M output, 128K context)</option>
|
|
268
|
-
<option value="nousresearch/nous-hermes-2-mixtral-8x7b-dpo">Nous: Hermes 2 Mixtral 8x7B DPO ($0.60/1M input, $0.60/1M output, 33K context)</option>
|
|
269
|
-
<option value="mistralai/mistral-small">Mistral Small ($0.20/1M input, $0.60/1M output, 33K context)</option>
|
|
270
|
-
<option value="mistralai/mistral-tiny">Mistral Tiny ($0.25/1M input, $0.25/1M output, 33K context)</option>
|
|
271
|
-
<option value="mistralai/mistral-7b-instruct-v0.2">Mistral 7B Instruct v0.2 ($0.20/1M input, $0.20/1M output, 33K context)</option>
|
|
272
|
-
<option value="mistralai/mixtral-8x7b-instruct">Mistral: Mixtral 8x7B Instruct ($0.08/1M input, $0.24/1M output, 33K context)</option>
|
|
273
|
-
<option value="undi95/toppy-m-7b">Toppy M 7B ($0.80/1M input, $1.20/1M output, 4K context)</option>
|
|
274
|
-
<option value="mistralai/mistral-7b-instruct-v0.1">Mistral 7B Instruct v0.1 ($0.11/1M input, $0.19/1M output, 3K context)</option>
|
|
230
|
+
<option value="mistralai/codestral-2508">Mistral: Codestral 2508 [T -> T] ($0.3000/1M in, $0.9000/1M out), 256K context</option>
|
|
231
|
+
<option value="mistralai/devstral-2512:free">Mistral: Devstral 2 2512 (free) [T -> T] (Free), 262K context</option>
|
|
232
|
+
<option value="mistralai/devstral-2512">Mistral: Devstral 2 2512 [T -> T] ($0.0500/1M in, $0.2200/1M out), 262K context</option>
|
|
233
|
+
<option value="mistralai/devstral-medium">Mistral: Devstral Medium [T -> T] ($0.4000/1M in, $2.0000/1M out), 131K context</option>
|
|
234
|
+
<option value="mistralai/devstral-small">Mistral: Devstral Small 1.1 [T -> T] ($0.0700/1M in, $0.2800/1M out), 128K context</option>
|
|
235
|
+
<option value="mistralai/devstral-small-2505">Mistral: Devstral Small 2505 [T -> T] ($0.0600/1M in, $0.1200/1M out), 128K context</option>
|
|
236
|
+
<option value="mistralai/ministral-14b-2512">Mistral: Ministral 3 14B 2512 [T+I -> T] ($0.2000/1M in, $0.2000/1M out), 262K context</option>
|
|
237
|
+
<option value="mistralai/ministral-3b-2512">Mistral: Ministral 3 3B 2512 [T+I -> T] ($0.1000/1M in, $0.1000/1M out), 131K context</option>
|
|
238
|
+
<option value="mistralai/ministral-8b-2512">Mistral: Ministral 3 8B 2512 [T+I -> T] ($0.1500/1M in, $0.1500/1M out), 262K context</option>
|
|
239
|
+
<option value="mistralai/mistral-large-2512">Mistral: Mistral Large 3 2512 [T+I -> T] ($0.5000/1M in, $1.5000/1M out), 262K context</option>
|
|
240
|
+
<option value="mistralai/mistral-medium-3">Mistral: Mistral Medium 3 [T+I -> T] ($0.4000/1M in, $2.0000/1M out), 131K context</option>
|
|
241
|
+
<option value="mistralai/mistral-medium-3.1">Mistral: Mistral Medium 3.1 [T+I -> T] ($0.4000/1M in, $2.0000/1M out), 131K context</option>
|
|
242
|
+
<option value="mistralai/mistral-small-24b-instruct-2501">Mistral: Mistral Small 3 [T -> T] ($0.0300/1M in, $0.1100/1M out), 32K context</option>
|
|
243
|
+
<option value="mistralai/mistral-small-3.1-24b-instruct:free">Mistral: Mistral Small 3.1 24B (free) [T+I -> T] (Free), 128K context</option>
|
|
244
|
+
<option value="mistralai/mistral-small-3.1-24b-instruct">Mistral: Mistral Small 3.1 24B [T+I -> T] ($0.0300/1M in, $0.1100/1M out), 131K context</option>
|
|
245
|
+
<option value="mistralai/mistral-small-3.2-24b-instruct">Mistral: Mistral Small 3.2 24B [I+T -> T] ($0.0600/1M in, $0.1800/1M out), 131K context</option>
|
|
246
|
+
<option value="mistralai/mistral-small-creative">Mistral: Mistral Small Creative [T -> T] ($0.1000/1M in, $0.3000/1M out), 32K context</option>
|
|
247
|
+
<option value="mistralai/mistral-saba">Mistral: Saba [T -> T] ($0.2000/1M in, $0.6000/1M out), 32K context</option>
|
|
248
|
+
<option value="mistralai/voxtral-small-24b-2507">Mistral: Voxtral Small 24B 2507 [T+A -> T] ($0.1000/1M in, $0.3000/1M out), 32K context</option>
|
|
275
249
|
</optgroup>
|
|
276
250
|
<optgroup label="DeepSeek">
|
|
277
|
-
<option value="deepseek/deepseek-
|
|
278
|
-
<option value="deepseek/deepseek-r1-0528">DeepSeek R1 0528 ($0.
|
|
279
|
-
<option value="deepseek/deepseek-
|
|
280
|
-
<option value="
|
|
281
|
-
<option value="
|
|
282
|
-
<option value="deepseek/deepseek-v3
|
|
283
|
-
<option value="deepseek/deepseek-
|
|
284
|
-
<option value="deepseek/deepseek-
|
|
285
|
-
<option value="
|
|
286
|
-
<option value="deepseek/deepseek-r1:free">DeepSeek R1 (
|
|
287
|
-
<option value="deepseek/deepseek-r1">DeepSeek R1 ($0.
|
|
288
|
-
<option value="deepseek/deepseek-
|
|
289
|
-
<option value="deepseek/deepseek-
|
|
251
|
+
<option value="deepseek/deepseek-prover-v2">DeepSeek: DeepSeek Prover V2 [T -> T] ($0.5000/1M in, $2.1800/1M out), 163K context</option>
|
|
252
|
+
<option value="deepseek/deepseek-r1-0528-qwen3-8b">DeepSeek: DeepSeek R1 0528 Qwen3 8B [T -> T] ($0.0200/1M in, $0.1000/1M out), 32K context</option>
|
|
253
|
+
<option value="deepseek/deepseek-chat-v3-0324">DeepSeek: DeepSeek V3 0324 [T -> T] ($0.2000/1M in, $0.8800/1M out), 163K context</option>
|
|
254
|
+
<option value="deepseek/deepseek-v3.1-terminus:exacto">DeepSeek: DeepSeek V3.1 Terminus (exacto) [T -> T] ($0.2100/1M in, $0.7900/1M out), 163K context</option>
|
|
255
|
+
<option value="deepseek/deepseek-v3.1-terminus">DeepSeek: DeepSeek V3.1 Terminus [T -> T] ($0.2100/1M in, $0.7900/1M out), 163K context</option>
|
|
256
|
+
<option value="deepseek/deepseek-chat-v3.1">DeepSeek: DeepSeek V3.1 [T -> T] ($0.1500/1M in, $0.7500/1M out), 8K context</option>
|
|
257
|
+
<option value="deepseek/deepseek-v3.2-exp">DeepSeek: DeepSeek V3.2 Exp [T -> T] ($0.2100/1M in, $0.3200/1M out), 163K context</option>
|
|
258
|
+
<option value="deepseek/deepseek-v3.2-speciale">DeepSeek: DeepSeek V3.2 Speciale [T -> T] ($0.2700/1M in, $0.4100/1M out), 163K context</option>
|
|
259
|
+
<option value="deepseek/deepseek-v3.2">DeepSeek: DeepSeek V3.2 [T -> T] ($0.2400/1M in, $0.3800/1M out), 163K context</option>
|
|
260
|
+
<option value="deepseek/deepseek-r1-0528:free">DeepSeek: R1 0528 (free) [T -> T] (Free), 163K context</option>
|
|
261
|
+
<option value="deepseek/deepseek-r1-0528">DeepSeek: R1 0528 [T -> T] ($0.4000/1M in, $1.7500/1M out), 163K context</option>
|
|
262
|
+
<option value="deepseek/deepseek-r1-distill-llama-70b">DeepSeek: R1 Distill Llama 70B [T -> T] ($0.0300/1M in, $0.1100/1M out), 131K context</option>
|
|
263
|
+
<option value="deepseek/deepseek-r1-distill-qwen-14b">DeepSeek: R1 Distill Qwen 14B [T -> T] ($0.1200/1M in, $0.1200/1M out), 32K context</option>
|
|
264
|
+
<option value="deepseek/deepseek-r1-distill-qwen-32b">DeepSeek: R1 Distill Qwen 32B [T -> T] ($0.2400/1M in, $0.2400/1M out), 64K context</option>
|
|
265
|
+
<option value="deepseek/deepseek-r1">DeepSeek: R1 [T -> T] ($0.3000/1M in, $1.2000/1M out), 163K context</option>
|
|
266
|
+
</optgroup>
|
|
267
|
+
<optgroup label="Meta">
|
|
268
|
+
<option value="meta-llama/llama-guard-3-8b">Llama Guard 3 8B [T -> T] ($0.0200/1M in, $0.0600/1M out), 131K context</option>
|
|
269
|
+
<option value="meta-llama/llama-4-maverick">Meta: Llama 4 Maverick [T+I -> T] ($0.1500/1M in, $0.6000/1M out), 1.0M context</option>
|
|
270
|
+
<option value="meta-llama/llama-4-scout">Meta: Llama 4 Scout [T+I -> T] ($0.0800/1M in, $0.3000/1M out), 327K context</option>
|
|
271
|
+
<option value="meta-llama/llama-guard-4-12b">Meta: Llama Guard 4 12B [I+T -> T] ($0.1800/1M in, $0.1800/1M out), 163K context</option>
|
|
290
272
|
</optgroup>
|
|
291
273
|
<optgroup label="xAI Grok">
|
|
292
|
-
<option value="x-ai/grok-3-
|
|
293
|
-
<option value="x-ai/grok-3">Grok 3 ($
|
|
294
|
-
<option value="x-ai/grok-3-mini
|
|
295
|
-
<option value="x-ai/grok-3
|
|
296
|
-
<option value="x-ai/grok-
|
|
297
|
-
<option value="x-ai/grok-
|
|
298
|
-
<option value="x-ai/grok-
|
|
274
|
+
<option value="x-ai/grok-3-beta">xAI: Grok 3 Beta [T -> T] ($3.0000/1M in, $15.0000/1M out), 131K context</option>
|
|
275
|
+
<option value="x-ai/grok-3-mini-beta">xAI: Grok 3 Mini Beta [T -> T] ($0.3000/1M in, $0.5000/1M out), 131K context</option>
|
|
276
|
+
<option value="x-ai/grok-3-mini">xAI: Grok 3 Mini [T -> T] ($0.3000/1M in, $0.5000/1M out), 131K context</option>
|
|
277
|
+
<option value="x-ai/grok-3">xAI: Grok 3 [T -> T] ($3.0000/1M in, $15.0000/1M out), 131K context</option>
|
|
278
|
+
<option value="x-ai/grok-4-fast">xAI: Grok 4 Fast [T+I -> T] ($0.2000/1M in, $0.5000/1M out), 2.0M context</option>
|
|
279
|
+
<option value="x-ai/grok-4">xAI: Grok 4 [I+T -> T] ($3.0000/1M in, $15.0000/1M out), 256K context</option>
|
|
280
|
+
<option value="x-ai/grok-4.1-fast">xAI: Grok 4.1 Fast [T+I -> T] ($0.2000/1M in, $0.5000/1M out), 2.0M context</option>
|
|
281
|
+
<option value="x-ai/grok-code-fast-1">xAI: Grok Code Fast 1 [T -> T] ($0.2000/1M in, $1.5000/1M out), 256K context</option>
|
|
299
282
|
</optgroup>
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
<option value="
|
|
303
|
-
<option value="
|
|
304
|
-
<option value="
|
|
305
|
-
<option value="
|
|
283
|
+
<optgroup label="Qwen">
|
|
284
|
+
<option value="qwen/qwq-32b">Qwen: QwQ 32B [T -> T] ($0.1500/1M in, $0.4000/1M out), 32K context</option>
|
|
285
|
+
<option value="qwen/qwen-plus-2025-07-28:thinking">Qwen: Qwen Plus 0728 (thinking) [T -> T] ($0.4000/1M in, $4.0000/1M out), 1.0M context</option>
|
|
286
|
+
<option value="qwen/qwen-plus-2025-07-28">Qwen: Qwen Plus 0728 [T -> T] ($0.4000/1M in, $1.2000/1M out), 1.0M context</option>
|
|
287
|
+
<option value="qwen/qwen-vl-max">Qwen: Qwen VL Max [T+I -> T] ($0.8000/1M in, $3.2000/1M out), 131K context</option>
|
|
288
|
+
<option value="qwen/qwen-vl-plus">Qwen: Qwen VL Plus [T+I -> T] ($0.2100/1M in, $0.6300/1M out), 7K context</option>
|
|
289
|
+
<option value="qwen/qwen-max">Qwen: Qwen-Max [T -> T] ($1.6000/1M in, $6.4000/1M out), 32K context</option>
|
|
290
|
+
<option value="qwen/qwen-plus">Qwen: Qwen-Plus [T -> T] ($0.4000/1M in, $1.2000/1M out), 131K context</option>
|
|
291
|
+
<option value="qwen/qwen-turbo">Qwen: Qwen-Turbo [T -> T] ($0.0500/1M in, $0.2000/1M out), 1.0M context</option>
|
|
292
|
+
<option value="qwen/qwen2.5-coder-7b-instruct">Qwen: Qwen2.5 Coder 7B Instruct [T -> T] ($0.0300/1M in, $0.0900/1M out), 32K context</option>
|
|
293
|
+
<option value="qwen/qwen2.5-vl-32b-instruct">Qwen: Qwen2.5 VL 32B Instruct [T+I -> T] ($0.0500/1M in, $0.2200/1M out), 16K context</option>
|
|
294
|
+
<option value="qwen/qwen2.5-vl-72b-instruct">Qwen: Qwen2.5 VL 72B Instruct [T+I -> T] ($0.0300/1M in, $0.1300/1M out), 32K context</option>
|
|
295
|
+
<option value="qwen/qwen3-14b">Qwen: Qwen3 14B [T -> T] ($0.0500/1M in, $0.2200/1M out), 40K context</option>
|
|
296
|
+
<option value="qwen/qwen3-235b-a22b-2507">Qwen: Qwen3 235B A22B Instruct 2507 [T -> T] ($0.0710/1M in, $0.4630/1M out), 262K context</option>
|
|
297
|
+
<option value="qwen/qwen3-235b-a22b-thinking-2507">Qwen: Qwen3 235B A22B Thinking 2507 [T -> T] ($0.1100/1M in, $0.6000/1M out), 262K context</option>
|
|
298
|
+
<option value="qwen/qwen3-235b-a22b">Qwen: Qwen3 235B A22B [T -> T] ($0.1800/1M in, $0.5400/1M out), 40K context</option>
|
|
299
|
+
<option value="qwen/qwen3-30b-a3b-instruct-2507">Qwen: Qwen3 30B A3B Instruct 2507 [T -> T] ($0.0800/1M in, $0.3300/1M out), 262K context</option>
|
|
300
|
+
<option value="qwen/qwen3-30b-a3b-thinking-2507">Qwen: Qwen3 30B A3B Thinking 2507 [T -> T] ($0.0510/1M in, $0.3400/1M out), 32K context</option>
|
|
301
|
+
<option value="qwen/qwen3-30b-a3b">Qwen: Qwen3 30B A3B [T -> T] ($0.0600/1M in, $0.2200/1M out), 40K context</option>
|
|
302
|
+
<option value="qwen/qwen3-32b">Qwen: Qwen3 32B [T -> T] ($0.0800/1M in, $0.2400/1M out), 40K context</option>
|
|
303
|
+
<option value="qwen/qwen3-4b:free">Qwen: Qwen3 4B (free) [T -> T] (Free), 40K context</option>
|
|
304
|
+
<option value="qwen/qwen3-8b">Qwen: Qwen3 8B [T -> T] ($0.0280/1M in, $0.1104/1M out), 128K context</option>
|
|
305
|
+
<option value="qwen/qwen3-coder-30b-a3b-instruct">Qwen: Qwen3 Coder 30B A3B Instruct [T -> T] ($0.0700/1M in, $0.2700/1M out), 160K context</option>
|
|
306
|
+
<option value="qwen/qwen3-coder:exacto">Qwen: Qwen3 Coder 480B A35B (exacto) [T -> T] ($0.2200/1M in, $1.8000/1M out), 262K context</option>
|
|
307
|
+
<option value="qwen/qwen3-coder:free">Qwen: Qwen3 Coder 480B A35B (free) [T -> T] (Free), 262K context</option>
|
|
308
|
+
<option value="qwen/qwen3-coder">Qwen: Qwen3 Coder 480B A35B [T -> T] ($0.2200/1M in, $0.9500/1M out), 262K context</option>
|
|
309
|
+
<option value="qwen/qwen3-coder-flash">Qwen: Qwen3 Coder Flash [T -> T] ($0.3000/1M in, $1.5000/1M out), 128K context</option>
|
|
310
|
+
<option value="qwen/qwen3-coder-plus">Qwen: Qwen3 Coder Plus [T -> T] ($1.0000/1M in, $5.0000/1M out), 128K context</option>
|
|
311
|
+
<option value="qwen/qwen3-max">Qwen: Qwen3 Max [T -> T] ($1.2000/1M in, $6.0000/1M out), 256K context</option>
|
|
312
|
+
<option value="qwen/qwen3-next-80b-a3b-instruct">Qwen: Qwen3 Next 80B A3B Instruct [T -> T] ($0.0900/1M in, $1.1000/1M out), 262K context</option>
|
|
313
|
+
<option value="qwen/qwen3-next-80b-a3b-thinking">Qwen: Qwen3 Next 80B A3B Thinking [T -> T] ($0.1200/1M in, $1.2000/1M out), 131K context</option>
|
|
314
|
+
<option value="qwen/qwen3-vl-235b-a22b-instruct">Qwen: Qwen3 VL 235B A22B Instruct [T+I -> T] ($0.2000/1M in, $1.2000/1M out), 262K context</option>
|
|
315
|
+
<option value="qwen/qwen3-vl-235b-a22b-thinking">Qwen: Qwen3 VL 235B A22B Thinking [T+I -> T] ($0.3000/1M in, $1.2000/1M out), 262K context</option>
|
|
316
|
+
<option value="qwen/qwen3-vl-30b-a3b-instruct">Qwen: Qwen3 VL 30B A3B Instruct [T+I -> T] ($0.1500/1M in, $0.6000/1M out), 262K context</option>
|
|
317
|
+
<option value="qwen/qwen3-vl-30b-a3b-thinking">Qwen: Qwen3 VL 30B A3B Thinking [T+I -> T] ($0.1600/1M in, $0.8000/1M out), 131K context</option>
|
|
318
|
+
<option value="qwen/qwen3-vl-32b-instruct">Qwen: Qwen3 VL 32B Instruct [T+I -> T] ($0.5000/1M in, $1.5000/1M out), 262K context</option>
|
|
319
|
+
<option value="qwen/qwen3-vl-8b-instruct">Qwen: Qwen3 VL 8B Instruct [I+T -> T] ($0.0640/1M in, $0.4000/1M out), 131K context</option>
|
|
320
|
+
<option value="qwen/qwen3-vl-8b-thinking">Qwen: Qwen3 VL 8B Thinking [I+T -> T] ($0.1800/1M in, $2.1000/1M out), 256K context</option>
|
|
321
|
+
</optgroup>
|
|
322
|
+
<optgroup label="Others">
|
|
323
|
+
<option value="ai21/jamba-large-1.7">AI21: Jamba Large 1.7 [T -> T] ($2.0000/1M in, $8.0000/1M out), 256K context</option>
|
|
324
|
+
<option value="ai21/jamba-mini-1.7">AI21: Jamba Mini 1.7 [T -> T] ($0.2000/1M in, $0.4000/1M out), 256K context</option>
|
|
325
|
+
<option value="aion-labs/aion-1.0">AionLabs: Aion-1.0 [T -> T] ($4.0000/1M in, $8.0000/1M out), 131K context</option>
|
|
326
|
+
<option value="aion-labs/aion-1.0-mini">AionLabs: Aion-1.0-Mini [T -> T] ($0.7000/1M in, $1.4000/1M out), 131K context</option>
|
|
327
|
+
<option value="aion-labs/aion-rp-llama-3.1-8b">AionLabs: Aion-RP 1.0 (8B) [T -> T] ($0.2000/1M in, $0.2000/1M out), 32K context</option>
|
|
328
|
+
<option value="alfredpros/codellama-7b-instruct-solidity">AlfredPros: CodeLLaMa 7B Instruct Solidity [T -> T] ($0.8000/1M in, $1.2000/1M out), 4K context</option>
|
|
329
|
+
<option value="allenai/olmo-2-0325-32b-instruct">AllenAI: Olmo 2 32B Instruct [T -> T] ($0.0500/1M in, $0.2000/1M out), 128K context</option>
|
|
330
|
+
<option value="allenai/olmo-3-32b-think:free">AllenAI: Olmo 3 32B Think (free) [T -> T] (Free), 65K context</option>
|
|
331
|
+
<option value="allenai/olmo-3-7b-instruct">AllenAI: Olmo 3 7B Instruct [T -> T] ($0.1000/1M in, $0.2000/1M out), 65K context</option>
|
|
332
|
+
<option value="allenai/olmo-3-7b-think">AllenAI: Olmo 3 7B Think [T -> T] ($0.1200/1M in, $0.2000/1M out), 65K context</option>
|
|
333
|
+
<option value="allenai/olmo-3.1-32b-think:free">AllenAI: Olmo 3.1 32B Think (free) [T -> T] (Free), 65K context</option>
|
|
334
|
+
<option value="amazon/nova-2-lite-v1">Amazon: Nova 2 Lite [T+I+V+F -> T] ($0.3000/1M in, $2.5000/1M out), 1.0M context</option>
|
|
335
|
+
<option value="amazon/nova-premier-v1">Amazon: Nova Premier 1.0 [T+I -> T] ($2.5000/1M in, $12.5000/1M out), 1.0M context</option>
|
|
336
|
+
<option value="arcee-ai/coder-large">Arcee AI: Coder Large [T -> T] ($0.5000/1M in, $0.8000/1M out), 32K context</option>
|
|
337
|
+
<option value="arcee-ai/maestro-reasoning">Arcee AI: Maestro Reasoning [T -> T] ($0.9000/1M in, $3.3000/1M out), 131K context</option>
|
|
338
|
+
<option value="arcee-ai/spotlight">Arcee AI: Spotlight [I+T -> T] ($0.1800/1M in, $0.1800/1M out), 131K context</option>
|
|
339
|
+
<option value="arcee-ai/trinity-mini:free">Arcee AI: Trinity Mini (free) [T -> T] (Free), 131K context</option>
|
|
340
|
+
<option value="arcee-ai/trinity-mini">Arcee AI: Trinity Mini [T -> T] ($0.0450/1M in, $0.1500/1M out), 131K context</option>
|
|
341
|
+
<option value="arcee-ai/virtuoso-large">Arcee AI: Virtuoso Large [T -> T] ($0.7500/1M in, $1.2000/1M out), 131K context</option>
|
|
342
|
+
<option value="arliai/qwq-32b-arliai-rpr-v1">ArliAI: QwQ 32B RpR v1 [T -> T] ($0.0300/1M in, $0.1100/1M out), 32K context</option>
|
|
343
|
+
<option value="baidu/ernie-4.5-21b-a3b-thinking">Baidu: ERNIE 4.5 21B A3B Thinking [T -> T] ($0.0560/1M in, $0.2240/1M out), 131K context</option>
|
|
344
|
+
<option value="baidu/ernie-4.5-21b-a3b">Baidu: ERNIE 4.5 21B A3B [T -> T] ($0.0560/1M in, $0.2240/1M out), 120K context</option>
|
|
345
|
+
<option value="baidu/ernie-4.5-300b-a47b">Baidu: ERNIE 4.5 300B A47B [T -> T] ($0.2240/1M in, $0.8800/1M out), 123K context</option>
|
|
346
|
+
<option value="baidu/ernie-4.5-vl-28b-a3b">Baidu: ERNIE 4.5 VL 28B A3B [T+I -> T] ($0.1120/1M in, $0.4480/1M out), 30K context</option>
|
|
347
|
+
<option value="baidu/ernie-4.5-vl-424b-a47b">Baidu: ERNIE 4.5 VL 424B A47B [I+T -> T] ($0.3360/1M in, $1.0000/1M out), 123K context</option>
|
|
348
|
+
<option value="openrouter/bodybuilder">Body Builder (beta) [T -> T] ($-1000000.0000/1M in, $-1000000.0000/1M out), 128K context</option>
|
|
349
|
+
<option value="bytedance/ui-tars-1.5-7b">ByteDance: UI-TARS 7B [I+T -> T] ($0.1000/1M in, $0.2000/1M out), 128K context</option>
|
|
350
|
+
<option value="deepcogito/cogito-v2-preview-llama-109b-moe">Cogito V2 Preview Llama 109B [I+T -> T] ($0.1800/1M in, $0.5900/1M out), 32K context</option>
|
|
351
|
+
<option value="cohere/command-a">Cohere: Command A [T -> T] ($2.5000/1M in, $10.0000/1M out), 256K context</option>
|
|
352
|
+
<option value="deepcogito/cogito-v2-preview-llama-405b">Deep Cogito: Cogito V2 Preview Llama 405B [T -> T] ($3.5000/1M in, $3.5000/1M out), 32K context</option>
|
|
353
|
+
<option value="deepcogito/cogito-v2-preview-llama-70b">Deep Cogito: Cogito V2 Preview Llama 70B [T -> T] ($0.8800/1M in, $0.8800/1M out), 32K context</option>
|
|
354
|
+
<option value="deepcogito/cogito-v2.1-671b">Deep Cogito: Cogito v2.1 671B [T -> T] ($1.2500/1M in, $1.2500/1M out), 128K context</option>
|
|
355
|
+
<option value="eleutherai/llemma_7b">EleutherAI: Llemma 7b [T -> T] ($0.8000/1M in, $1.2000/1M out), 4K context</option>
|
|
356
|
+
<option value="essentialai/rnj-1-instruct">EssentialAI: Rnj 1 Instruct [T -> T] ($0.1500/1M in, $0.1500/1M out), 32K context</option>
|
|
357
|
+
<option value="ibm-granite/granite-4.0-h-micro">IBM: Granite 4.0 Micro [T -> T] ($0.0170/1M in, $0.1100/1M out), 131K context</option>
|
|
358
|
+
<option value="inception/mercury-coder">Inception: Mercury Coder [T -> T] ($0.2500/1M in, $1.0000/1M out), 128K context</option>
|
|
359
|
+
<option value="inception/mercury">Inception: Mercury [T -> T] ($0.2500/1M in, $1.0000/1M out), 128K context</option>
|
|
360
|
+
<option value="kwaipilot/kat-coder-pro:free">Kwaipilot: KAT-Coder-Pro V1 (free) [T -> T] (Free), 256K context</option>
|
|
361
|
+
<option value="liquid/lfm-2.2-6b">LiquidAI/LFM2-2.6B [T -> T] ($0.0500/1M in, $0.1000/1M out), 32K context</option>
|
|
362
|
+
<option value="liquid/lfm2-8b-a1b">LiquidAI/LFM2-8B-A1B [T -> T] ($0.0500/1M in, $0.1000/1M out), 32K context</option>
|
|
363
|
+
<option value="meituan/longcat-flash-chat">Meituan: LongCat Flash Chat [T -> T] ($0.1500/1M in, $0.7500/1M out), 131K context</option>
|
|
364
|
+
<option value="microsoft/phi-4-multimodal-instruct">Microsoft: Phi 4 Multimodal Instruct [T+I -> T] ($0.0500/1M in, $0.1000/1M out), 131K context</option>
|
|
365
|
+
<option value="microsoft/phi-4-reasoning-plus">Microsoft: Phi 4 Reasoning Plus [T -> T] ($0.0700/1M in, $0.3500/1M out), 32K context</option>
|
|
366
|
+
<option value="microsoft/phi-4">Microsoft: Phi 4 [T -> T] ($0.0600/1M in, $0.1400/1M out), 16K context</option>
|
|
367
|
+
<option value="minimax/minimax-m1">MiniMax: MiniMax M1 [T -> T] ($0.4000/1M in, $2.2000/1M out), 1.0M context</option>
|
|
368
|
+
<option value="minimax/minimax-m2">MiniMax: MiniMax M2 [T -> T] ($0.2000/1M in, $1.0000/1M out), 196K context</option>
|
|
369
|
+
<option value="minimax/minimax-01">MiniMax: MiniMax-01 [T+I -> T] ($0.2000/1M in, $1.1000/1M out), 1.0M context</option>
|
|
370
|
+
<option value="moonshotai/kimi-dev-72b">MoonshotAI: Kimi Dev 72B [T -> T] ($0.2900/1M in, $1.1500/1M out), 131K context</option>
|
|
371
|
+
<option value="moonshotai/kimi-k2:free">MoonshotAI: Kimi K2 0711 (free) [T -> T] (Free), 32K context</option>
|
|
372
|
+
<option value="moonshotai/kimi-k2">MoonshotAI: Kimi K2 0711 [T -> T] ($0.4560/1M in, $1.8400/1M out), 131K context</option>
|
|
373
|
+
<option value="moonshotai/kimi-k2-0905:exacto">MoonshotAI: Kimi K2 0905 (exacto) [T -> T] ($0.6000/1M in, $2.5000/1M out), 262K context</option>
|
|
374
|
+
<option value="moonshotai/kimi-k2-0905">MoonshotAI: Kimi K2 0905 [T -> T] ($0.3900/1M in, $1.9000/1M out), 262K context</option>
|
|
375
|
+
<option value="moonshotai/kimi-k2-thinking">MoonshotAI: Kimi K2 Thinking [T -> T] ($0.4000/1M in, $1.7500/1M out), 262K context</option>
|
|
376
|
+
<option value="morph/morph-v3-fast">Morph: Morph V3 Fast [T -> T] ($0.8000/1M in, $1.2000/1M out), 81K context</option>
|
|
377
|
+
<option value="morph/morph-v3-large">Morph: Morph V3 Large [T -> T] ($0.9000/1M in, $1.9000/1M out), 262K context</option>
|
|
378
|
+
<option value="nvidia/llama-3.1-nemotron-ultra-253b-v1">NVIDIA: Llama 3.1 Nemotron Ultra 253B v1 [T -> T] ($0.6000/1M in, $1.8000/1M out), 131K context</option>
|
|
379
|
+
<option value="nvidia/llama-3.3-nemotron-super-49b-v1.5">NVIDIA: Llama 3.3 Nemotron Super 49B V1.5 [T -> T] ($0.1000/1M in, $0.4000/1M out), 131K context</option>
|
|
380
|
+
<option value="nvidia/nemotron-3-nano-30b-a3b:free">NVIDIA: Nemotron 3 Nano 30B A3B (free) [T -> T] (Free), 256K context</option>
|
|
381
|
+
<option value="nvidia/nemotron-3-nano-30b-a3b">NVIDIA: Nemotron 3 Nano 30B A3B [T -> T] ($0.0600/1M in, $0.2400/1M out), 262K context</option>
|
|
382
|
+
<option value="nvidia/nemotron-nano-12b-v2-vl:free">NVIDIA: Nemotron Nano 12B 2 VL (free) [I+T+V -> T] (Free), 128K context</option>
|
|
383
|
+
<option value="nvidia/nemotron-nano-12b-v2-vl">NVIDIA: Nemotron Nano 12B 2 VL [I+T+V -> T] ($0.2000/1M in, $0.6000/1M out), 131K context</option>
|
|
384
|
+
<option value="nvidia/nemotron-nano-9b-v2:free">NVIDIA: Nemotron Nano 9B V2 (free) [T -> T] (Free), 128K context</option>
|
|
385
|
+
<option value="nvidia/nemotron-nano-9b-v2">NVIDIA: Nemotron Nano 9B V2 [T -> T] ($0.0400/1M in, $0.1600/1M out), 131K context</option>
|
|
386
|
+
<option value="nex-agi/deepseek-v3.1-nex-n1:free">Nex AGI: DeepSeek V3.1 Nex N1 (free) [T -> T] (Free), 131K context</option>
|
|
387
|
+
<option value="nousresearch/deephermes-3-mistral-24b-preview">Nous: DeepHermes 3 Mistral 24B Preview [T -> T] ($0.0200/1M in, $0.1000/1M out), 32K context</option>
|
|
388
|
+
<option value="nousresearch/hermes-4-405b">Nous: Hermes 4 405B [T -> T] ($0.3000/1M in, $1.2000/1M out), 131K context</option>
|
|
389
|
+
<option value="nousresearch/hermes-4-70b">Nous: Hermes 4 70B [T -> T] ($0.1100/1M in, $0.3800/1M out), 131K context</option>
|
|
390
|
+
<option value="opengvlab/internvl3-78b">OpenGVLab: InternVL3 78B [I+T -> T] ($0.1000/1M in, $0.3900/1M out), 32K context</option>
|
|
391
|
+
<option value="perplexity/sonar-deep-research">Perplexity: Sonar Deep Research [T -> T] ($2.0000/1M in, $8.0000/1M out), 128K context</option>
|
|
392
|
+
<option value="perplexity/sonar-pro-search">Perplexity: Sonar Pro Search [T+I -> T] ($3.0000/1M in, $15.0000/1M out), 200K context</option>
|
|
393
|
+
<option value="perplexity/sonar-pro">Perplexity: Sonar Pro [T+I -> T] ($3.0000/1M in, $15.0000/1M out), 200K context</option>
|
|
394
|
+
<option value="perplexity/sonar-reasoning-pro">Perplexity: Sonar Reasoning Pro [T+I -> T] ($2.0000/1M in, $8.0000/1M out), 128K context</option>
|
|
395
|
+
<option value="perplexity/sonar-reasoning">Perplexity: Sonar Reasoning [T -> T] ($1.0000/1M in, $5.0000/1M out), 127K context</option>
|
|
396
|
+
<option value="perplexity/sonar">Perplexity: Sonar [T+I -> T] ($1.0000/1M in, $1.0000/1M out), 127K context</option>
|
|
397
|
+
<option value="prime-intellect/intellect-3">Prime Intellect: INTELLECT-3 [T -> T] ($0.2000/1M in, $1.1000/1M out), 131K context</option>
|
|
398
|
+
<option value="relace/relace-apply-3">Relace: Relace Apply 3 [T -> T] ($0.8500/1M in, $1.2500/1M out), 256K context</option>
|
|
399
|
+
<option value="relace/relace-search">Relace: Relace Search [T -> T] ($1.0000/1M in, $3.0000/1M out), 256K context</option>
|
|
400
|
+
<option value="sao10k/l3.1-70b-hanami-x1">Sao10K: Llama 3.1 70B Hanami x1 [T -> T] ($3.0000/1M in, $3.0000/1M out), 16K context</option>
|
|
401
|
+
<option value="stepfun-ai/step3">StepFun: Step3 [I+T -> T] ($0.5700/1M in, $1.4200/1M out), 65K context</option>
|
|
402
|
+
<option value="switchpoint/router">Switchpoint Router [T -> T] ($0.8500/1M in, $3.4000/1M out), 131K context</option>
|
|
403
|
+
<option value="thudm/glm-4.1v-9b-thinking">THUDM: GLM 4.1V 9B Thinking [I+T -> T] ($0.0280/1M in, $0.1104/1M out), 65K context</option>
|
|
404
|
+
<option value="tngtech/deepseek-r1t-chimera:free">TNG: DeepSeek R1T Chimera (free) [T -> T] (Free), 163K context</option>
|
|
405
|
+
<option value="tngtech/deepseek-r1t-chimera">TNG: DeepSeek R1T Chimera [T -> T] ($0.3000/1M in, $1.2000/1M out), 163K context</option>
|
|
406
|
+
<option value="tngtech/deepseek-r1t2-chimera:free">TNG: DeepSeek R1T2 Chimera (free) [T -> T] (Free), 163K context</option>
|
|
407
|
+
<option value="tngtech/deepseek-r1t2-chimera">TNG: DeepSeek R1T2 Chimera [T -> T] ($0.3000/1M in, $1.2000/1M out), 163K context</option>
|
|
408
|
+
<option value="tngtech/tng-r1t-chimera:free">TNG: R1T Chimera (free) [T -> T] (Free), 163K context</option>
|
|
409
|
+
<option value="tngtech/tng-r1t-chimera">TNG: R1T Chimera [T -> T] ($0.3000/1M in, $1.2000/1M out), 163K context</option>
|
|
410
|
+
<option value="tencent/hunyuan-a13b-instruct">Tencent: Hunyuan A13B Instruct [T -> T] ($0.1400/1M in, $0.5700/1M out), 131K context</option>
|
|
411
|
+
<option value="thedrummer/cydonia-24b-v4.1">TheDrummer: Cydonia 24B V4.1 [T -> T] ($0.3000/1M in, $0.5000/1M out), 131K context</option>
|
|
412
|
+
<option value="thedrummer/skyfall-36b-v2">TheDrummer: Skyfall 36B V2 [T -> T] ($0.5500/1M in, $0.8000/1M out), 32K context</option>
|
|
413
|
+
<option value="alibaba/tongyi-deepresearch-30b-a3b:free">Tongyi DeepResearch 30B A3B (free) [T -> T] (Free), 131K context</option>
|
|
414
|
+
<option value="alibaba/tongyi-deepresearch-30b-a3b">Tongyi DeepResearch 30B A3B [T -> T] ($0.0900/1M in, $0.4000/1M out), 131K context</option>
|
|
415
|
+
<option value="cognitivecomputations/dolphin-mistral-24b-venice-edition:free">Venice: Uncensored (free) [T -> T] (Free), 32K context</option>
|
|
416
|
+
<option value="xiaomi/mimo-v2-flash:free">Xiaomi: MiMo-V2-Flash (free) [T -> T] (Free), 262K context</option>
|
|
417
|
+
<option value="z-ai/glm-4-32b">Z.AI: GLM 4 32B [T -> T] ($0.1000/1M in, $0.1000/1M out), 128K context</option>
|
|
418
|
+
<option value="z-ai/glm-4.5-air:free">Z.AI: GLM 4.5 Air (free) [T -> T] (Free), 131K context</option>
|
|
419
|
+
<option value="z-ai/glm-4.5-air">Z.AI: GLM 4.5 Air [T -> T] ($0.1040/1M in, $0.6800/1M out), 131K context</option>
|
|
420
|
+
<option value="z-ai/glm-4.5">Z.AI: GLM 4.5 [T -> T] ($0.3500/1M in, $1.5500/1M out), 131K context</option>
|
|
421
|
+
<option value="z-ai/glm-4.5v">Z.AI: GLM 4.5V [T+I -> T] ($0.4800/1M in, $1.4400/1M out), 65K context</option>
|
|
422
|
+
<option value="z-ai/glm-4.6:exacto">Z.AI: GLM 4.6 (exacto) [T -> T] ($0.4400/1M in, $1.7600/1M out), 204K context</option>
|
|
423
|
+
<option value="z-ai/glm-4.6">Z.AI: GLM 4.6 [T -> T] ($0.3900/1M in, $1.9000/1M out), 204K context</option>
|
|
424
|
+
<option value="z-ai/glm-4.6v">Z.AI: GLM 4.6V [I+T+V -> T] ($0.3000/1M in, $0.9000/1M out), 131K context</option>
|
|
306
425
|
</optgroup>
|
|
307
|
-
|
|
426
|
+
</select>
|
|
308
427
|
</div>
|
|
309
428
|
|
|
310
429
|
<div class="form-row">
|
|
@@ -91,7 +91,9 @@ Return a JSON object with a "tasks" array. Each task should have:
|
|
|
91
91
|
- "input": detailed instruction for the agent
|
|
92
92
|
- "status": "pending"
|
|
93
93
|
- "priority": a number (1-10, default 5)
|
|
94
|
-
- "dependsOn": an array of IDs of tasks that must be completed BEFORE this task can start (empty array if none)
|
|
94
|
+
- "dependsOn": an array of IDs of tasks that must be completed BEFORE this task can start (empty array if none)
|
|
95
|
+
|
|
96
|
+
Note: You can use "human_approval" as a task type if you need a human to verify something before proceeding.`;
|
|
95
97
|
|
|
96
98
|
if (strategy === 'advanced') {
|
|
97
99
|
prompt += `\n\nThink about parallel execution. Group related tasks and identify bottlenecks. Ensure dependencies are logical.`;
|
|
@@ -148,7 +150,8 @@ Last Task ${isError ? 'Error' : 'Result'}: ${JSON.stringify(isError ? msg.error
|
|
|
148
150
|
Evaluate the progress.
|
|
149
151
|
1. If the last task failed, propose a recovery strategy (retry, alternative task, or fail the goal).
|
|
150
152
|
2. If the goal is achieved, set status to "completed".
|
|
151
|
-
3.
|
|
153
|
+
3. If you need more information or approval from a human, add a task with type "human_approval".
|
|
154
|
+
4. Otherwise, continue execution. You may refine the plan by adding, removing, or modifying tasks.
|
|
152
155
|
|
|
153
156
|
Return a JSON object:
|
|
154
157
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-ai-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "AI Agent for Node-RED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "ai-agent.js",
|
|
17
17
|
"scripts": {
|
|
18
|
-
"test": "mocha \"test/**/*.js\""
|
|
18
|
+
"test": "mocha \"test/**/*.js\"",
|
|
19
|
+
"update-models": "python scripts/update_models.py"
|
|
19
20
|
},
|
|
20
21
|
"author": "Milan Lesichkov",
|
|
21
22
|
"maintainers": [
|
|
@@ -62,7 +63,8 @@
|
|
|
62
63
|
"ai-tool-http": "./tool-http/ai-tool-http.js",
|
|
63
64
|
"ai-memory-file": "./memory-file/memory-file.js",
|
|
64
65
|
"ai-memory-inmem": "./memory-inmem/memory-inmem.js",
|
|
65
|
-
"ai-orchestrator": "./orchestrator/orchestrator.js"
|
|
66
|
+
"ai-orchestrator": "./orchestrator/orchestrator.js",
|
|
67
|
+
"ai-tool-approval": "./tool-approval/ai-tool-approval.js"
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
}
|