Skip to content
Register

Gemini 3.1 Pro Preview API

Use Gemini 3.1 Pro Preview by Google through one OpenAI-compatible API for 18% below the list price. Each request goes to the cheapest live seller offer for this exact model and is charged per token from a prepaid balance, with no subscription.

gemini-3.1-pro-preview

Gemini 3.1 Pro Preview at today's best offer

$819 instead of $1,000

What $1,000 of output tokens at the list price costs on Kyvalt.

Per 1M tokensKyvaltList price
Input$1.638$2.00
Output$9.825$12.00

18% off Prices follow live seller offers, so they can change between requests. Set a minimum discount on your key to never pay more than you planned.

Call Gemini 3.1 Pro Preview

Keep the OpenAI SDK you already use and change the base URL and the key. Anthropic-style /v1/messages calls work too.

python
from openai import OpenAI

client = OpenAI(
    api_key="kv-...",
    base_url="https://api.kyvalt.com/v1",
)

reply = client.chat.completions.create(
    model="gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
curl
curl https://api.kyvalt.com/v1/chat/completions \
  -H "Authorization: Bearer $KYVALT_API_KEY" \
  -H "X-Min-Discount: 30" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
ModelDiscountInput per 1MOutput per 1M
Gemini 3 Flash Preview 75% off $0.121 $0.725
Gemini 3.8 Flash 75% off $0.184 $0.919
Gemini 3.6 Flash 73% off $0.202 $1.012
Gemini 3.5 Flash Lite 73% off $0.081 $0.674
Gemini 4 Hydrogen 58% off $0.628 $3.142
Gemini 2.5 Flash Image 46% off $0.16 $15.975

See every model and price