Back to Models

Gemini 3.8 Flash APIActive

gemini-3.8-flash

No description available

By:GeminiInput Type:Output Type:

AI Code With channel availability

The same model is billed by channel discount. Copy a channel code to set your preference.

ChannelCache Hit RateContext
Gemini 经济档81% off
79.0%¥1.026/ M tokens¥5.13/ M tokensRead:¥0.1026/ M tokensWrite:¥-/ M tokens200K0.0s
Gemini 直连档51% off
79.0%¥2.646/ M tokens¥13.23/ M tokensRead:¥0.2646/ M tokensWrite:¥-/ M tokens200K0.0s

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.

Model IDgemini-3.8-flash
ProtocolsOpenAI Chat Completions
Context200K
Max output65.54K

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.

Estimated cost$0.0214

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.