Gemini 3.8 Flash
Gemini 3.8 Flash is Google’s smartest flagship model to date. It delivers significant improvements over 3.7 Flash in software engineering, agent workflows, and step‑by‑step reasoning for professional domains. While approaching the quality of high‑cost cutting‑edge models, it still offers configurable performance levels to balance performance and token efficiency.
byGoogleInput TypetextimageaudiovideofileOutput TypetextContext Window1MMax Output66K
Providers
This model is available from multiple providers. Select one to see its pricing and sample code.
GoogleDefault
$0.6 / $3/ 1M tokens0.40× base price
Supported formatsOpenAI Chat CompletionsOpenAI ResponsesGoogle Gemini
Official Channels of Google AI Studio for Gemini
Pricing
Transparent pay-as-you-go pricing by token usage — no subscriptions or hidden fees.
Per 1M tokens
Input
Prompt and context tokens
$0.6
Output
Generated completion tokens
$3
Cache read
Reused or stored prompt context
$0.06
Code
Copy an example below to start calling this model in minutes.
API / request example
Sample Code & API
from openai import OpenAI
client = OpenAI(
base_url="https://api.apipod.ai/v1",
api_key="<YOUR_API_KEY>",
)
# Chat Completions
completion = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[
{
"role": "user",
"content": "What is the meaning of life?",
}
],
)
print(completion.choices[0].message.content)