Gemini API — 即時價格表、介面協議與 SDK 接入指南
Gateway Overview & Live Pricing
透過 API Store Hub 接入 Gemini API(18 個線上模型),低至 5,200 ST/1M tokens。Gemini 4 Neon、4 Argon 与 3.8 Flash — 2M 上下文,兼容 /v1beta 与 OpenAI SDK。統一 ST 餘額與高可用路由。
- Base URL
https://apistorehub.com/v1- Primary Endpoint
/v1beta/models & /v1/chat/completions- API Key Prefix
sk-ash-- Live Models
- 18
- Starting Price
- 5,200 ST/1M tokens (1 VND = 1 ST)
Live Gemini API Model Pricing
| Model ID | Display Name | Family | Billing | Price (ST) | Min Floor | Context | API |
|---|---|---|---|---|---|---|---|
gemini-3.1-pro | Gemini 3.1 Pro | gemini | 1M tokens | 14,900 ST/1M tok | 150 ST | 2M | openai |
gemini-3.5-flash | Gemini 3.5 Flash | gemini | 1M tokens | 11,200 ST/1M tok | 150 ST | 1M | openai |
gemini-3.6-flash | Gemini 3.6 Flash | gemini | 1M tokens | 5,200 ST/1M tok | 100 ST | 1M | openai |
gemini-3.7-flash | Gemini 3.7 Flash | gemini | 1M tokens | 5,200 ST/1M tok | 100 ST | 1M | openai |
gemini-3.8-flash | Gemini 3.8 Flash | gemini | 1M tokens | 5,200 ST/1M tok | 100 ST | 1M | openai |
gemini-4-argon | Gemini 4 Argon | gemini | 1M tokens | 13,600 ST/1M tok | 150 ST | 2M | openai |
gemini-4-carbon | Gemini 4 Carbon | gemini | 1M tokens | 13,600 ST/1M tok | 150 ST | 2M | openai |
gemini-4-hydrogen | Gemini 4 Hydrogen | gemini | 1M tokens | 10,300 ST/1M tok | 150 ST | 2M | openai |
gemini-4-neon | Gemini 4 Neon | gemini | 1M tokens | 20,400 ST/1M tok | 250 ST | 2M | openai |
req/banana-2 | Banana 2 | gemini | Per request | 1,000 ST/req | - | - | openai |
req/banana-2-4k | Banana 2 4K | gemini | Per request | 2,000 ST/req | - | - | openai |
req/gemini-3.0-pro-image | Gemini 3.0 Pro Image | gemini | Per request | 1,000 ST/req | - | - | openai |
req/gemini-3.5-flash | Gemini 3.5 Flash | gemini | Per request | 1,700 ST/req | - | 1M | openai |
req/gemini-3.6-flash-high | Gemini 3.6 Flash High | gemini | Per request | 800 ST/req | - | 1M | openai |
req/gemini-3.7-flash-high | Gemini 3.7 Flash High | gemini | Per request | 800 ST/req | - | 1M | openai |
req/gemini-3.8-flash | Gemini 3.8 Flash | gemini | Per request | 800 ST/req | - | 1M | openai |
req/gemini-embedding-2 | Gemini Embedding 2 | gemini | Per request | 150 ST/req | - | 8K | openai |
video/gemini-3.8-flash | Gemini 3.8 Flash Video | gemini | Per request | 1,400 ST/req | - | 1M | openai |
Google GenAI (/v1beta) & OpenAI SDK (/v1)
cURL
curl https://apistorehub.com/v1beta/models/gemini-3.1-pro:generateContent \
-H "x-goog-api-key: sk-ash-your_key" \
-H "Content-Type: application/json" \
-d '{"contents":[{"parts":[{"text":"Hello Gemini"}]}]}'Python SDK
import os
from openai import OpenAI
client = OpenAI(base_url="https://apistorehub.com/v1", api_key=os.environ["API_KEY"])
resp = client.chat.completions.create(model="gemini-3.1-pro", messages=[{"role": "user", "content": "Hello"}])
print(resp.choices[0].message.content)Gemini API FAQ
- What is the starting price for Gemini API on API Store Hub?
- Gemini API currently includes 18 active variants starting from 5,200 ST/1M tokens (1 VND = 1 ST).
- Which endpoints and SDKs work with Gemini API?
- Connect via /v1beta/models & /v1/chat/completions on https://apistorehub.com using standard OpenAI SDKs, Google GenAI SDK, Python, TypeScript, or cURL.
- How is billing handled for Gemini API?
- Usage is deducted per request or per 1M tokens from your prepaid ST credit balance on API Store Hub with full per-call logs.
- Can one API key call Gemini API alongside Claude and GPT?
- Yes. Switch model IDs dynamically on API Store Hub using a single API key and unified ST wallet.