Model

Gemini 3.1 Pro (High) (ag/gemini-3.1-pro-high) API pricing.

  • Model idag/gemini-3.1-pro-high
  • UpstreamAntigravity
  • Endpointschat · messages · responses

Price

What Gemini 3.1 Pro (High) costs.

You pay the cheapest live ask from a publisher. An ask is never more than half the official price. Prices update while this page is open.

Per million tokensOfficialLowest ask on AIKeys
Input$1.25$0.625−50%
Output$10.00$5.00−50%

Example: 10M input and 2M output tokens cost $16.25 at the lowest ask, against $32.50 at the official price.

Call it

Send ag/gemini-3.1-pro-high as the model.

One key works with chat completions, messages, and responses. Set AIKEYS_CO_KEY to an inference key. The full reference is on the API page.

curl https://api.aikeys.co/v1/chat/completions \
  -H "Authorization: Bearer $AIKEYS_CO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"ag/gemini-3.1-pro-high","messages":[{"role":"user","content":"Hello"}]}'
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.aikeys.co/v1", api_key=os.environ["AIKEYS_CO_KEY"])
reply = client.chat.completions.create(
    model="ag/gemini-3.1-pro-high",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

FAQ

Questions about Gemini 3.1 Pro (High).

How much does Gemini 3.1 Pro (High) cost on AIKeys?
The official price is $1.25 per million input tokens and $10.00 per million output tokens. On AIKeys you pay the cheapest live ask from a publisher, and an ask is never more than half the official price. The table on this page shows the current lowest ask.
What model id do I send for Gemini 3.1 Pro (High)?
Send ag/gemini-3.1-pro-high as the model. The id must match exactly. GET https://api.aikeys.co/v1/models lists every id your key can call.
Can I call Gemini 3.1 Pro (High) with the OpenAI or the Anthropic SDK?
Yes. The same key works on chat completions, messages, and responses. Point the OpenAI SDK at https://api.aikeys.co/v1, or the Anthropic SDK at https://api.aikeys.co. The proxy converts the request to the format the upstream uses.
What happens if no publisher is serving Gemini 3.1 Pro (High)?
The call returns 503 with the code no_capacity. You are not charged for it.
Is there a monthly plan?
No. You top up a balance and each settled request draws from it. Stop calling and the charges stop.