[ google ]

Gemini 3.1 Pro Preview (custom tools)

Billed at the provider's list price, with no markup. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

gemini-3.1-pro-preview-customtools·Unavailable·text·Context window: 1,048,576 tokens

No route to this model is enabled right now. Requests for it are refused with the error code model_unavailable before any balance is held, so nothing is charged. The listed prices apply once a route is enabled.

Input

$2.00

$ / 1M tokens

Output

$12.00

$ / 1M tokens

Cached input

$0.20

$ / 1M tokens

Context window

1,048,576

tokens

Prompts above 200,000 tokens bill the whole request at $4.00/M input and $18.00/M output, $0.40/M cached input.

Model ID
gemini-3.1-pro-preview-customtools
Modality
text
Unit
USD per 1M tokens
Status
Unavailable
Last verified
—
Endpoints
/v1/chat/completions
Context window
1,048,576 tokens
Max output
65,536 tokens
Pricing basis
List price
Cache write (5 min)
—
Cache write (1 h)
—
Routes enabled
0 of 1
Price sheet
2026-10-09.1

Routes

ProviderEnabledUpstream inputUpstream output
geminiNo$2.00$12.00

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

This model has no enabled route right now, so the request below is refused with model_unavailable until a route is enabled. Nothing is charged for a refused request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $FOUNDRY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.1-pro-preview-customtools", "messages": [{"role": "user", "content": "Hello"}]}'