Call Tokensmind API directly
::: tip Replace<Tokensmind_API_KEY> with your Tokensmind key. Mind the key’s expiry and quota limits.
:::
For available model values, see the model hub and copy the model name into your request.
::: code-group
[Python]
[JavaScript]
[Curl]
"stream": true to the request body.
Use the OpenAI SDK
Replace<Tokensmind_API_KEY> with your Tokensmind key. For model names, use the model hub.
::: code-group
[Python]
[JavaScript]
gpt-4o-search-preview, gpt-4o-mini-search-preview.
::: info
Search models may not support temperature and some other fine-grained parameters.
:::
