google
Google Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview
Input$2.00 /1M tokens
·Output$12.00 /1M tokens
Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "google/gemini-3.1-pro-preview",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00200 |
| 1K in + 500 out (typical response) | $0.00800 |
| 10K in + 2K out (document analysis) | $0.0440 |
| 100K in + 10K out (large context) | $0.3200 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
YesAudio Processing
YesContext Window
1.0M tokens
~786K words of text
Max output
66K tokens
Modalities
Input
audiofileimagetextvideo
Output
text