@@ -194,6 +194,61 @@ See the [list of models that support JSON mode](/features/json-mode) and how to
194
194
Completion and Prompt costs are based on the provider's pricing. Langbase does not charge on top of the provider's costs.
195
195
</Note >
196
196
197
+ ## Tool Support
198
+
199
+ The following models support tool calls in BaseAI.
200
+
201
+ ### OpenAI
202
+
203
+ | Model | Parallel Tool Call Support | Tool Choice Support |
204
+ | -------------------------------------------------------------------------------------| ----------| --------|
205
+ | o1-preview <br /> ID: <InlineCopy content = " openai:o1-preview" /> | ` true ` | ` true ` |
206
+ | o1-mini <br /> ID: <InlineCopy content = " openai:o1-mini" /> | ` true ` | ` true ` |
207
+ | gpt-4o <br /> ID: <InlineCopy content = " openai:gpt-4o" /> | ` true ` | ` true ` |
208
+ | gpt-4o-2024-08-06 <br /> ID: <InlineCopy content = " openai:gpt-4o-2024-08-06" /> | ` true ` | ` true ` |
209
+ | gpt-4o-mini <br /> ID: <InlineCopy content = " openai:gpt-4o-mini" /> | ` true ` | ` true ` |
210
+ | gpt-4-turbo <br /> ID: <InlineCopy content = " openai:gpt-4-turbo" /> | ` true ` | ` true ` |
211
+ | gpt-4-turbo-preview <br /> ID: <InlineCopy content = " openai:gpt-4-turbo-preview" /> | ` true ` | ` true ` |
212
+ | gpt-4-0125-preview <br /> ID: <InlineCopy content = " openai:gpt-4-0125-preview" /> | ` true ` | ` true ` |
213
+ | gpt-4-1106-preview <br /> ID: <InlineCopy content = " openai:gpt-4-1106-preview" /> | ` true ` | ` true ` |
214
+ | gpt-4 <br /> ID: <InlineCopy content = " openai:gpt-4" /> | ` true ` | ` true ` |
215
+ | gpt-4-0613 <br /> ID: <InlineCopy content = " openai:gpt-4-0613" /> | ` true ` | ` true ` |
216
+ | gpt-4-32k <br /> ID: <InlineCopy content = " openai:gpt-4-32k" /> | ` true ` | ` true ` |
217
+ | gpt-3.5-turbo-0125 <br /> ID: <InlineCopy content = " openai:gpt-3.5-turbo-0125" /> | ` true ` | ` true ` |
218
+ | gpt-3.5-turbo-1106 <br /> ID: <InlineCopy content = " openai:gpt-3.5-turbo-1106" /> | ` true ` | ` true ` |
219
+ | gpt-3.5-turbo <br /> ID: <InlineCopy content = " openai:gpt-3.5-turbo" /> | ` true ` | ` true ` |
220
+ | gpt-3.5-turbo-16k <br /> ID: <InlineCopy content = " openai:gpt-3.5-turbo-16k" /> | ` true ` | ` true ` |
221
+
222
+ ### Google
223
+
224
+ | Model | Parallel Tool Call Support | Tool Choice Support |
225
+ | --------------------------------------------------------------------------------------| ----------| --------|
226
+ | gemini-1.5-pro <br /> ID: <InlineCopy content = " google:gemini-1.5-pro-latest" /> | ` true ` | ` true ` |
227
+ | gemini-1.5-flash <br /> ID: <InlineCopy content = " google:gemini-1.5-flash-latest" /> | ` true ` | ` true ` |
228
+ | gemini-1.5-flash-8b <br /> ID: <InlineCopy content = " gemini-1.5-flash-8b-latest" /> | ` true ` | ` true ` |
229
+ | gemini-1.0-pro <br /> ID: <InlineCopy content = " google:gemini-pro" /> | ` false ` | ` false ` |
230
+
231
+ ### Anthropic
232
+
233
+ | Model | Parallel Tool Call Support | Tool Choice Support |
234
+ | ------------------------------------------------------------------------------------------------------| -----------| -----------|
235
+ | claude-3.5-sonnet-latest <br /> ID: <InlineCopy content = " anthropic:claude-3-5-sonnet-latest" /> | ` true ` | ` true ` |
236
+ | claude-3.5-sonnet-20240620 <br /> ID: <InlineCopy content = " anthropic:claude-3-5-sonnet-20240620" /> | ` true ` | ` true ` |
237
+ | claude-3-opus <br /> ID: <InlineCopy content = " anthropic:claude-3-opus-20240229" /> | ` true ` | ` true ` |
238
+ | claude-3-sonnet <br /> ID: <InlineCopy content = " anthropic:claude-3-sonnet-20240229" /> | ` true ` | ` true ` |
239
+ | claude-3-haiku <br /> ID: <InlineCopy content = " anthropic:claude-3-haiku-20240307" /> | ` true ` | ` true ` |
240
+
241
+ ### Together AI
242
+
243
+ | Model | Parallel Tool Call Support | Tool Choice Support |
244
+ | ---------------------------------------------------------------------------------------------------------------------------| ----------| ------------|
245
+ | Llama-3.1-405B-Instruct-Turbo <br /> ID: <InlineCopy content = " together:meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo" /> | ` false ` | ` true ` |
246
+ | Llama-3.1-70B-Instruct-Turbo <br /> ID: <InlineCopy content = " together:meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo" /> | ` false ` | ` true ` |
247
+ | Llama-3.1-8B-Instruct-Turbo <br /> ID: <InlineCopy content = " together:meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo" /> | ` false ` | ` true ` |
248
+ | 7B-Instruct-v0.1 <br /> ID: <InlineCopy content = " together:mistralai/Mistral-7B-Instruct-v0.1" /> | ` false ` | ` true ` |
249
+ | Mixtral-8x7B-Instruct-v0.1 <br /> ID: <InlineCopy content = " together:mistralai/Mixtral-8x7B-Instruct-v0.1" /> | ` false ` | ` true ` |
250
+
251
+
197
252
## Deprecated Models
198
253
199
254
The following models are deprecated and no longer available for use in pipes. It is recommended to switch to a supported model.
0 commit comments