Offre limitéeAbonnement annuel :30 % de réductionet accès illimité à GPT Image, MiniMax H3 et plus
Nouveau AI Chat · Essais gratuits offerts chaque jour
Mettre à niveau
Pixmind
All API models
LLMGoogleAvailable

MODEL API

Gemini 3.8 Flash API

Google's most capable Flash-tier route for long-horizon software engineering, autonomous agents, and complex multi-step workflows. Through PixMind it combines text, image, audio, video, and PDF input with reasoning, tools, coding, and streamed text output.

  • Text
  • Vision
  • Image input
  • Audio input
  • Video input
  • PDF input

API usage is billed separately from Studio credits.

LIVE REQUEST BUILDER

Try the API in the playground

Configure a request, inspect the exact JSON, then run it with your account.

API key
Loading keys…
Multimodal inputsUp to 10 images, 10MB each · One video, up to 20MB
Response
The API response will appear here.

API PRICING

Programmatic pricing, separate from Studio

Compare the complete API billing table for this route. Token models separate input, output, cache-read, cache-write, and long-context rates; media models vary by configuration.

Per 1M tokens
Input955.5~$1.01
Output4914~$5.19
Cache read109.2~$0.12

Credits and approximate USD per 1M tokens

The accepted task response is the source of truth for its final pricing snapshot.

CAPABILITIES

What this route supports

Use one stable PixMind model ID while keeping provider-specific setup out of your application.

01

Text

Build drafting, rewriting, extraction, classification, and conversational workflows.

02

Vision

Analyze supplied images together with written instructions.

03

Image input

Use Image input through the live Gemini 3.8 Flash route without maintaining a separate provider integration.

04

Audio input

Use Audio input through the live Gemini 3.8 Flash route without maintaining a separate provider integration.

05

Video input

Use Video input through the live Gemini 3.8 Flash route without maintaining a separate provider integration.

06

PDF input

Use PDF input through the live Gemini 3.8 Flash route without maintaining a separate provider integration.

07

Reasoning

Work through multi-step analysis where intermediate constraints matter.

08

Tool calling

Connect the model to approved functions and application actions.

09

Coding

Generate, explain, review, and transform code with repository context.

010

Streaming

Return partial output as it is generated for responsive product experiences.

TECHNICAL SPECS

Supported parameters

Resolution, aspect ratios, and inputs the Gemini 3.8 Flash API route accepts.

Input modalities
Text · Image · Audio · Video · PDF
Output modality
Text
Input context
1,048,576 tokens
Maximum output
65,536 tokens
Endpoint
POST /v1/chat/completions
Streaming
Supported

MODEL WORKFLOWS

What to build with Gemini 3.8 Flash

Choose a task that matches the live route capabilities, then adapt one of these prompt starters.

Best-fit tasks

  • Build drafting, rewriting, extraction, classification, and conversational workflows.
  • Analyze supplied images together with written instructions.
  • Work through multi-step analysis where intermediate constraints matter.
  • Connect the model to approved functions and application actions.

Prompt starters

Replace the brackets
Starter

Analyze [problem]. List the constraints, test the strongest alternatives against [criteria], identify missing information, and return a concise recommendation with supporting evidence.

Starter

Inspect the supplied image for [task]. Separate direct observations from inferences, extract [required fields], and return the result as [format].

Starter

Complete [goal]. Use [available tools] only when needed, validate every tool result before continuing, and return [required final format].

Starter

In the supplied code context, implement [change]. Preserve [constraints], cover [success and failure paths], and return the patch plus focused verification steps.

MODEL SELECTION

Choose Gemini 3.8 Flash when the job fits

Compare nearby live routes by task, supported capability, and current entry price before you lock a model ID into production.

ModelBest forKey capabilitiesEntry priceAvailabilityAction
Gemini 3.8 Flash
Google · current page
Build drafting, rewriting, extraction, classification, and conversational workflows.Text · Vision · Image input$1.01 / 1M tokensAvailableSelected
Gemini 3.1 Pro Preview
Google
Build drafting, rewriting, extraction, classification, and conversational workflows.Text · Vision · Image input$2.02 / 1M tokensAvailableView route
Gemini 3.5 Flash
Google
Build drafting, rewriting, extraction, classification, and conversational workflows.Text · Vision · Image input$1.43 / 1M tokensAvailableView route
Gemini 3.5 Flash-Lite
Google
Build drafting, rewriting, extraction, classification, and conversational workflows.Text · Vision · Image input$0.41 / 1M tokensAvailableView route

Capabilities and starting prices are a current PixMind route snapshot. The accepted request contains the final configuration and billing quote.

GET STARTED

From playground to production

01

Create a scoped key

Create an API key for the image or video permission this route needs.

02

Send the request

Use the model ID and endpoint shown above from your backend service.

03

Track the task

Store the returned task ID and query its status until it reaches a terminal state.

FAQ

Gemini 3.8 Flash API questions

What model ID should I use for the Gemini 3.8 Flash API?+

Use gemini-3.8-flash in the model field. This is the stable PixMind route identifier shown in the playground request JSON.

Which endpoint does the Gemini 3.8 Flash API use?+

Send POST requests to /v1/chat/completions. Keep your API key on your server and pass it as a Bearer token.

Is the playground using a real API request?+

Yes. When you click Run model, PixMind forwards the displayed payload with the API key you entered. A successful request may create a paid task.

Does PixMind save the API key entered here?+

No. The playground keeps the key only in component memory and sends it for the current request; it is not written to browser storage.

Is API pricing the same as PixMind Studio pricing?+

No. API usage resolves through the apiPlatform pricing role and a separate pay-as-you-go ledger. Studio pricing includes the creation interface and product workflow services.

Why can the final price differ from the starting price?+

The entry price reflects the configuration displayed on this page. Resolution, duration, quality, audio, references, and output count can affect the final task price.

How do I receive a finished image or video?+

Generation routes can return an asynchronous task. Save its ID and query the task endpoint until the status is succeeded, failed, or cancelled.

Can I use the same integration for other PixMind models?+

Yes. Models in the same workload family share the generation contract, so switching usually means changing the model ID and supported parameters.

START WITH THE CONTROL PLANE

Turn your first Gemini 3.8 Flash prompt into a real API request

Test the exact payload in the playground, then create a scoped key and move the same model ID into your application.