Gemini 3.1 Pro Preview Customtools API
Google's chat model. Call it on 666 AI with the same API key as every other model. Pay as you go; prices follow the upstream in real time and this page updates hourly.
| Vendor | |
| Type | chat |
| Price | $2.7 per 1M input tokens · $16.2 per 1M output tokens |
| Context window | 1M tokens |
| Live test | Passed our live test in the last 7 days |
| Latency (short request) | Median ~2s (5+ calls in the last 7 days) |
| Model ID (use this in your request) | google/gemini-3.1-pro-preview-customtools |
How to call Gemini 3.1 Pro Preview Customtools
The API is OpenAI-compatible. Replace YOUR-ENDPOINT with the endpoint shown on your API Key page after you sign up, and YOUR-KEY with your key.
curl https://YOUR-ENDPOINT/v1/chat/completions \
-H "Authorization: Bearer YOUR-KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemini-3.1-pro-preview-customtools", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(base_url="https://YOUR-ENDPOINT/v1", api_key="YOUR-KEY")
r = client.chat.completions.create(
model="google/gemini-3.1-pro-preview-customtools",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)Similar models — price comparison
| Model | Price |
|---|---|
| Claude Sonnet 5 | $2.7 per 1M input tokens · $13.5 per 1M output tokens |
| GPT 5.6 Terra | $2.43 per 1M input tokens · $14.58 per 1M output tokens |
| Gemini 3.1 Pro Preview | $2.43 per 1M input tokens · $14.58 per 1M output tokens |
| Mimo V2.6 Pro Ultraspeed | $5.87 per 1M input tokens · $11.74 per 1M output tokens |
| GLM 5.2 Fast Preview | $4.72 per 1M input tokens · $14.85 per 1M output tokens |
| GPT 5.4 | $3.04 per 1M input tokens · $18.23 per 1M output tokens |
More models from Google
| Model | Price |
|---|---|
| Gemini 3 Flash Preview | $0.6075 per 1M input tokens · $3.65 per 1M output tokens |
| Gemini 3 Pro Image Preview | $2.43 per 1M input tokens · $146 per 1M output tokens |
| Gemini 3.1 Flash Image Preview | $0.6075 per 1M input tokens · $72.9 per 1M output tokens |
| Gemini 3.5 Flash | $1.82 per 1M input tokens · $10.94 per 1M output tokens |
| Gemini 3.6 Flash | $0.9113 per 1M input tokens · $4.56 per 1M output tokens |
| Gemini 3.7 Flash | $0.9113 per 1M input tokens · $4.56 per 1M output tokens |
| Gemini 3.8 Flash | $0.9113 per 1M input tokens · $4.56 per 1M output tokens |
| Gemini 4 Argon | $2.43 per 1M input tokens · $12.15 per 1M output tokens |
FAQ
How much does the Gemini 3.1 Pro Preview Customtools API cost?
On 666 AI, Gemini 3.1 Pro Preview Customtools costs $2.7 per 1M input tokens · $16.2 per 1M output tokens. You pay only for what you use — no monthly fee. Prices follow the upstream in real time; this page updates every hour.
Can I use the official OpenAI SDK?
Yes. The API is OpenAI-compatible: in the OpenAI Python or Node.js SDK just change base_url and api_key, and set model to google/gemini-3.1-pro-preview-customtools.
How do I pay?
Bank card (including Google Pay / Apple Pay), USDT / ETH, or bank wire. Top up once and usage is deducted as you go.