Google

Gemini 3.8 Flash API

The flagship Flash model for long-horizon software engineering, autonomous agents, and complex enterprise workflows. It keeps the speed and cost profile of Flash while adding stronger reasoning and tool orchestration. It accepts text, images, video, audio, and PDF input, with about a 1.05M-token context window, search grounding, function calling, code execution, structured outputs, and tunable thinking. Prefer it over Flash-Lite for harder tasks, at higher usage cost.

  • Reasoning
  • Web search
  • Tool use
  • Function calling
  • Structured output
  • Long context
  • Code execution
Use in Consolegemini-3.8-flash

USD

Pricing

default
Standard Rate
Input$0.7874/1M tokensCompletion Price$3.937/1M tokensCache Read$0.078661/1M tokensCache Write$0.999998/1M tokensImage$0.7874/1M tokensAudio input$0.7874/1M tokens

Public list prices are shown in USD. Final charges may vary by account group and usage tier.

API

Code examples

curl --location --request POST 'https://api.tokenhot.ai/v1beta/models/gemini-3.8-flash:generateContent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contents": [
        {
            "role": "user",
            "parts": [
                {
                    "text": "Hello"
                }
        }
    ]
}'

Google

Related models

FAQ

Frequently asked questions

What is Gemini 3.8 Flash best suited for?

Gemini 3.8 Flash is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.

How is Gemini 3.8 Flash priced?

Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.

How can I call Gemini 3.8 Flash?

Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.

Get started

Build with Gemini 3.8 Flash

Use in Console
WhatsApp