Google

Gemini 3.1 Pro Preview Custom Tools

gemini-3.1-pro-preview-customtoolsAvailable

Gemini 3.1 Pro Preview Custom Tools. Text generation model.

Context
1.05M tokens
vs. official price
10% cheaper

Pricing (USD per 1M tokens)

How prices are calculated
Prices (USD per 1M tokens)
ItemOfficialBasicPremium
Input$2.00≈ ¥317$1.80≈ ¥288$1.60≈ ¥256
Output$12.00≈ ¥1,904$10.80≈ ¥1,728$9.60≈ ¥1,536
Cache read$0.20≈ ¥31.7$0.18≈ ¥28.8$0.16≈ ¥25.6
Notes

When the input is 200K tokens or more, the official price becomes $4 input / $18 output per 1M tokens. This site charges the standard price.

Cost per task vs. models at a similar price

Compare them

How to call

POST/v1/chat/completions

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://token.echohub.io/v1",
    api_key=os.environ["ECHO_API_KEY"],
)

res = client.chat.completions.create(
    model="gemini-3.1-pro-preview-customtools",
    messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)
its developer docs