google logo
google

Google: Gemini 3.1 Pro Preview Custom Tools

Gemini 3.1 Pro Preview Custom Tools is a variant of Gemini 3.1 Pro that improves tool selection behavior by preventing overuse of a general bash tool when more efficient third-party or user-defined functions are available. $2 per million input tokens, $12 per million output tokens. 1,048,576 token context window, maximum output of 65,536 tokens.

Visão geral

Especificações do modelo

Contexto
1.048.576 tokens
Saída máxima
65.536 tokens
Arquitetura
text+image+file+audio+video->text
Tokenizador
Gemini
Limite de conhecimento
Não informado
Moderado
Não
OPENROUTER

Preços completos

Tarifas sincronizadas do OpenRouter, por milhão de tokens.

Entrada
$2
/M tokens
  • ≤200K$2
  • >200K$4
Saída
$12
/M tokens
  • ≤200K$12
  • >200K$18
Leitura de cache
$0.2
/M tokens
  • ≤200K$0.2
  • >200K$0.4
Gravação de cache
$0.375
/M tokens
Image Input
$2
/M tokens
Input Audio
$2
/M tokens
  • ≤200K$2
  • >200K$4
Input Audio Cache
$0.2
/M tokens
  • ≤200K$0.2
  • >200K$0.4
API

Configuração do modelo

Raciocínio

Moderado
Sim
Parâmetros padrão
medium
Recursos e modalidades
high, medium, low
API

Início rápido

Use este modelo pela API compatível com OpenAI do OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.1-pro-preview-customtools","messages":[{"role":"user","content":"Hello!"}]}'
Recursos e modalidades

EntradaSaída

Entrada
textaudioimagevideofile
Saída
text
Raciocínio

Não · high · medium · low

API

Parâmetros de API compatíveis

include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Provedores disponíveis

1 Provedor

Provedores ao vivo no OpenRouter

Disponibilidade, latência, throughput e roteamento mudam continuamente. Consulte a fonte para dados atuais.

OpenRouter

Google AI Studio

unknown
Contexto
1.0M
Saída máxima
66K
Entrada
$2.00
Saída
$12.00
Leitura de cache
$0.200
Gravação de cache
$0.375
google

modelos

Todos os modelos
google logogoogle

Google: Gemini 3.7 Flash

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

Contexto
1.0M
Entrada
text · image · video · file · audio
Saída
text
Entrada: $0.750Saída: $3.75por milhão de tokens
Ver detalhes do modelo
google logogoogle

Google: Gemini 3.7 Flash (batch)

Gemini 3.7 Flash is a multimodal model from Google for fast agentic workflows, coding, and complex multi-step reasoning. It is designed for tasks that require responsive performance and reliable multi-step...

Contexto
1.0M
Entrada
text · image · video · file · audio
Saída
text
Entrada: $0.188Saída: $0.938por milhão de tokens
Ver detalhes do modelo
google logogoogle

Google: Gemini 3.6 Flash

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and...

Contexto
1.0M
Entrada
text · image · video · file · audio
Saída
text
Entrada: $0.750Saída: $3.75por milhão de tokens
Ver detalhes do modelo
google logogoogle

Google: Gemini 3.6 Flash (batch)

Gemini 3.6 Flash is a high-efficiency model from Google for coding, agentic workflows, and web and app development. It is designed to produce polished outputs with fewer unnecessary edits and...

Contexto
1.0M
Entrada
text · image · video · file · audio
Saída
text
Entrada: $0.375Saída: $1.88por milhão de tokens
Ver detalhes do modelo