All modelsGoogle API documentation
Gemini 3.8 Flash
gemini-3.8-flashPremiumText
Gemini 3.8 Flash is a text model by Google. Context: 1,000,000 tokens. Supports reasoning.
VisionThinkingStreamingLong context
- Context window
- 1M
- Maximum output tokens
- 65,000
Pricing
per 1M tokens
- Input / 1M
- $0.44
- Output / 1M
- $2.24
- Cache read / 1M
- $0.10
- Cache write / 1M
- $0.44
Gemini 3.8 Flash API pricing and specs
Gemini 3.8 Flash is available through the Claudexia API in the Premium channel. Model ID: gemini-3.8-flash.
Price: $0.44 per 1M input tokens and $2.24 per 1M output tokens.
Context window: 1,000,000 tokens.
Capabilities listed in the catalog: vision, thinking, streaming.
How to connect Gemini 3.8 Flash via API
Replace sk_cdx_... with your key from the API Keys section. The key must belong to the Premium channel.
OpenAI SDK and compatible clients (Python), base URL with /v1
from openai import OpenAI
client = OpenAI(base_url="https://api.claudexia.tech/v1", api_key="sk_cdx_...")
response = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Gemini 3.8 Flash API questions
- How much does the Gemini 3.8 Flash API cost?
- $0.44 per 1M input tokens and $2.24 per 1M output tokens in the Premium channel.
- Which base URL do I use for Gemini 3.8 Flash?
- OpenAI-compatible clients: https://api.claudexia.tech/v1. Model ID: gemini-3.8-flash.
- What is the Gemini 3.8 Flash context window?
- 1,000,000 tokens, according to the Claudexia catalog.