Gemini 3.1 Pro Preview Customtools · aihubmix
gemini-3.1-pro-preview-customtools For users who build applications mixing bash and custom tools, the Gemini 3.1 Pro preview provides a separate endpoint accessible via the API call gemini-3.1-pro-preview-customtools. This endpoint is better at prioritizing your custom tools (for example, view_file or search_code). Please note that while gemini-3.1-pro-preview-customtools is optimized for agent workflows that use custom tools and Bash, you may experience quality fluctuations in some use cases that cannot benefit from these tools.
Eingabe, $/1M $2.00
Ausgabe, $/1M $12.00
Cache-Lesen $0.20
Cache-Schreiben —
Kontext 1 048 576
Max. Ausgabe 65 536
Akzeptiert Audio, Bilder, pdf, Text, Video
Zuletzt geprüft 04.11.2026 12:00:14 UTC
Quelle Seite des Anbieters
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://aihubmix.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini-3.1-pro-preview-customtools", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "gemini-3.1-pro-preview-customtools",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "gemini-3.1-pro-preview-customtools",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "gemini-3.1-pro-preview-customtools",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Antwort (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "gemini-3.1-pro-preview-customtools",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Aaihubmix%7Cgemini-3.1-pro-preview-customtools, prices checked 2026-11-04; seller's page: https://aihubmix.com
Technische Details
ID: offer:aihubmix|gemini-3.1-pro-preview-customtools