Gemini 3.1 Pro Preview Custom Tools
google/gemini-3.1-pro-preview-customtoolsGemini 3.1 Pro Preview Custom Tools is a separate endpoint of Google's Gemini 3.1 Pro Preview, the Pro-tier reasoning model of the Gemini 3 series, tuned for agentic workflows that mix bash with custom tools. Google says it is better at prioritizing user-defined functions, such as file viewing or code search tools, over a general bash tool. Pick it for coding agents built on custom tools; Google notes quality may fluctuate in use cases that do not benefit from such tools, where the standard 3.1 Pro Preview fits better.
Daha fazla oku- Girdi fiyatı
- $1.70
$2.00USD / 1M token - Çıktı fiyatı
- $10.20
$12.00USD / 1M token - Önbellek okuma
- $0.17
$0.20USD / 1M token - Bağlam penceresi
- 1M
- Maks. çıktı
- 65.5K
Teknik özellikler
- Girdi
- Metin, görsel, ses
- Çıktı
- Metin
Bu model hakkında
Gemini 3.1 Pro Preview Custom Tools is a separate endpoint of Google's Gemini 3.1 Pro Preview, the Pro-tier reasoning model of the Gemini 3 series, tuned for agentic workflows that mix bash with custom tools. Google says it is better at prioritizing user-defined functions, such as file viewing or code search tools, over a general bash tool. Pick it for coding agents built on custom tools; Google notes quality may fluctuate in use cases that do not benefit from such tools, where the standard 3.1 Pro Preview fits better.
Modeli deneyin
Oynatma Alanı
Bu modeli denemek için bir istem yazın. Kullanım, gösterilen fiyatlar üzerinden ücretlendirilir.
Bir istem deneyin
Bir görsel ekleyin (isteğe bağlı)
Yanıtınız burada görünecek
Bir örnek seçin veya bir istem yazın, ardından Çalıştır'a tıklayın.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan desteklenen API'lerden birini seçin.
curl -X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview-customtools",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}'Aşağıdaki alanlar Chat Completions API'sini açıklar. Yukarıdaki örnekte gösterildiği gibi, Gemini generateContent API sağlayıcının yerel istek ve yanıt biçimini kullanır.
Giriş Şeması
10 parametre · 1 zorunlu · 9 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
messages | object[] | Zorunlu | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | İsteğe bağlı | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
stop | string[] | İsteğe bağlı | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | İsteğe bağlı | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_p | number | İsteğe bağlı | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Maks: 1 |
stream | boolean | İsteğe bağlı | Stream the response as server-sent events instead of returning it in one piece. · Varsayılan: false |
max_tokens | integer | İsteğe bağlı | Maximum number of tokens to generate in the response. · Maks: 65536 |
temperature | number | İsteğe bağlı | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Maks: 2 · Varsayılan: 1 |
tool_choice | string | İsteğe bağlı | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | İsteğe bağlı | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Tamamlamanın benzersiz tanımlayıcısı |
object | string | Nesne türü, örn. "chat.completion" |
model | string | Tamamlamada kullanılan model |
choices | array | Tamamlama seçeneklerinin listesi |
choices[].message.content | string | Oluşturulan metin içeriği |
choices[].finish_reason | string | Oluşturmanın durmasının nedeni |
usage.prompt_tokens | integer | İstemdeki token sayısı |
usage.completion_tokens | integer | Tamamlamadaki token sayısı |
usage.total_tokens | integer | Kullanılan toplam token sayısı |
Sorular
SSS
Google Gemini 3.1 Pro Preview Custom Tools'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "google/gemini-3.1-pro-preview-customtools" ile https://api.sandbase.ai adresindeki Chat Completions API (/v1/chat/completions) veya Gemini generateContent API (/v1beta/models/google/gemini-3.1-pro-preview-customtools:generateContent) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
Google Gemini 3.1 Pro Preview Custom Tools'in fiyatı nedir?
Mevcut %15 indirimle 1M giriş tokenı başına $1.70 ve 1M çıkış tokenı başına $10.20 (liste fiyatı $2 / $12), istek başına SandBase bakiyenizden tahsil edilir.
Google Gemini 3.1 Pro Preview Custom Tools'in bağlam penceresi nedir?
1M token bağlam, yanıt başına en fazla 65.5K çıkış tokenı ile.
Google Gemini 3.1 Pro Preview Custom Tools hangi özellikleri destekliyor?
Google Gemini 3.1 Pro Preview Custom Tools, görsel algılama (görüntü girişi), akıl yürütme, fonksiyon çağrısı, yapılandırılmış çıktı destekler. Tam liste için yukarıdaki Teknik Özellikler bölümüne bakın.
Ayrı bir Google hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Google Gemini 3.1 Pro Preview Custom Tools ve katalogdaki diğer modellere erişim sağlar; Google için ayrıca kayıt olmanız gerekmez.
