Gemini-compatible gateway

Use Gemini models through APIXO

Keep the Gemini API format. Change the baseURL, use your APIXO key, and choose any Gemini model ID from the table.

Base URL

https://llm.apixo.ai/v1beta

API key

APIXO_API_KEY

Model ID

gemini-3.1-pro-preview

Official SDK quick start

The request body stays provider-native. Replace the baseURL and API key only.

cURL
curl "https://llm.apixo.ai/v1beta/models/gemini-3.1-pro-preview:generateContent?key=$APIXO_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "contents": [
      {
        "role": "user",
        "parts": [{ "text": "Write a concise product launch brief." }]
      }
    ]
  }'
JavaScript
import { GoogleGenAI } from '@google/genai'

const ai = new GoogleGenAI({
  apiKey: process.env.APIXO_API_KEY,
  httpOptions: { baseUrl: 'https://llm.apixo.ai/v1beta' },
})

const response = await ai.models.generateContent({
  model: 'gemini-3.1-pro-preview',
  contents: 'Write a concise product launch brief.',
})
Python
import os
from google import genai
from google.genai import types

client = genai.Client(
    api_key=os.environ["APIXO_API_KEY"],
    http_options=types.HttpOptions(base_url="https://llm.apixo.ai/v1beta"),
)

response = client.models.generate_content(
    model="gemini-3.1-pro-preview",
    contents="Write a concise product launch brief.",
)

Cursor and compatible tools

Use the same three fields in Cursor, IDE extensions, gateway switchers, or any tool that supports a custom provider endpoint.

Provider profile

Gemini-compatible

Base URL

https://llm.apixo.ai/v1beta

API key

APIXO_API_KEY

Model ID

gemini-3.1-pro-preview

Recharge your APIXO balance, then create an API key in the dashboard.

Paste the base URL and API key into the tool's custom provider settings.

Use the selected model ID exactly; switch models by changing only that value.

Gemini models and pricing

Prices are USD per 1M tokens. Select a row to update the examples above.

ModelInputOutputCache writeCache readSavings
Gemini 3.1 Pro Previewgemini-3.1-pro-preview$1$6$0.1Save 50%
Gemini 3.1 Flash Lite Previewgemini-3.1-flash-lite-preview$0.125$0.75$0.0125Save 50%
Gemini 3 Flash Previewgemini-3-flash-preview$0.25$1.5$0.025Save 50%
Gemini 2.5 Progemini-2.5-pro$0.625$5$0.0625Save 50%
Gemini 2.5 Flashgemini-2.5-flash$0.15$1.25$0.015Save 50%
Gemini 2.5 Flash Litegemini-2.5-flash-lite$0.05$0.2$0.005Save 50%