No description available
Gemini 3.8 Flash APIActive
AI Code With channel availability
The same model is billed by channel discount. Copy a channel code to set your preference.
Related Models
More models from Gemini
Compare models from other providers
Gemini 3.8 Flash API: price, model ID, and how to call it
Call Gemini 3.8 Flash through AI Code With. Use model ID gemini-3.8-flash with 200K context. list price about $0.7500 / $3.75 per 1M tokens before channel discounts. About $0.0214 for 100,000 input / 10,000 output tokens at the cheapest live channel.
Next: Get API key · See integration guides · All model prices · All model prices
Cost calculator
Estimate at the cheapest live channel: $0.1425 / $0.7125 per 1M tokens, cache read $0.0142. Billed usage follows your prepaid balance.
cURL example
Set model to gemini-3.8-flash. The page slug is only the URL, not the API parameter.
curl https://api.aicodewith.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AICODEWITH_API_KEY" \
-d '{
"model": "gemini-3.8-flash",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'FAQ
What is the Gemini 3.8 Flash model ID?
Send model "gemini-3.8-flash" in the API request. The page path /gemini-3.8-flash is only the URL, not the model parameter.
How do I call the Gemini 3.8 Flash API?
Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to gemini-3.8-flash. Supported protocols: OpenAI Chat Completions. See See integration guides.
How is Gemini 3.8 Flash priced?
Gemini 3.8 Flash is list price about $0.7500 / $3.75 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel. About $0.0214 for 100,000 input / 10,000 output tokens at the cheapest live channel.
How long is the Gemini 3.8 Flash context window?
Gemini 3.8 Flash has about 200K input context and up to 65.54K output tokens. Treat that as capacity, not a reason to fill every request.
GPT-5.6 Sol