Gemini chat and coding API

Choose an existing Gemini model to work with a written task, code excerpt or document passage. Explain the intended result, provide the relevant text and set the output controls supported by that task. Vidgo’s current Gemini entries offer Chat Completions and Gemini native formats: use messages for a Chat Completions conversation, or contents and generationConfig for a native request. Review the answer and usage, then continue with clarifications or test feedback.

Gemini is developed by Google. Vidgo provides access to the models. Model names and trademarks belong to their respective owners.

Explore Gemini Models

The current family includes Flash and Pro Preview entries. Open a card to inspect its protocol options, output settings and current input/output rates, then test the written task you intend to integrate.

Gemini Conversation Tasks and Request Formats

In Chat Completions, provide the instruction and source text through messages, and choose the task’s supported max_tokens and sampling settings. In the native format, put each user or model turn in contents with text parts; use systemInstruction for persistent guidance and generationConfig for temperature, maxOutputTokens and topP. Keep the field names of the selected format together when continuing a conversation.

Model / taskInput and workflow
Gemini 3.8 FlashGemini 3.8 Flash handles long-horizon coding, multi-step reasoning, and multimodal analysis with a 1M-token context.
Gemini 3.7 FlashGemini 3.7 Flash handles agentic coding, multimodal analysis, and long-context knowledge work.
Gemini 3.5 FlashGemini 3.5 Flash handles coding, long-context analysis, and multimodal understanding.
Gemini 3.1 Pro PreviewGemini 3.1 Pro Preview handles complex reasoning, coding, and multimodal analysis across long contexts.
Gemini 3 Flash PreviewGemini 3 Flash Preview handles long-context chat, coding, and multimodal understanding with adjustable reasoning.

Use Cases for Gemini

Provide the relevant text and explain how the answer will be used. Ask for a summary, structured extraction, code review or written draft with explicit requirements. Check the result against the source and use additional context or test feedback when developing the next answer.

Technical-document summaries

Provide the relevant document sections and name the topics, facts and answer length to cover. Review the generated summary against its source before using it in a technical note or implementation discussion.

Code review with observed behavior

Supply the code excerpt, expected behavior and observed test result. Ask for an explanation or review, then verify proposed changes and return the results in a follow-up conversation.

Data extracted into named fields

Prepare a complete source note and define the required keys, values and units. Validate the returned structure before using the extracted data in an application prototype or content workflow.

Complete writing drafts

Provide the facts, target audience and required sections, then request a complete explanation or reply. Review its meaning, retained details and tone before preparing the final document.

Conversations built around source material

Keep the relevant earlier turns and add the next question with any new text. Review each answer in the context of the material already supplied when developing an analysis or clarifying a requirement.

Compatible and native API integrations

Prepare the same text task in the format your application uses. Choose messages for Chat Completions or contents for Gemini native requests, then inspect the returned text and usage in the corresponding response format.

Gemini Specifications and API Pricing

The table reads the current starting input-token rate for each Gemini entry per one million tokens. A complete request also includes output-token usage, including the thinking-token treatment documented for the selected model. Gemini 3.8 Flash and 3.7 Flash task pages additionally list cache-read rates. Review the selected model’s full rate table and returned usage, including the conversation context sent with each turn, when planning your application budget.

ModelProviderWorkflowInputAPI formatsStarting input rate
Gemini 3.8 FlashGoogleChatText instructions and conversation contextChat Completions / Gemini Native$0.6 / 1M tokens
Gemini 3.7 FlashGoogleChatText instructions and conversation contextChat Completions / Gemini Native$0.6 / 1M tokens
Gemini 3.5 FlashGoogleChatText instructions and conversation contextChat Completions / Gemini Native$0.9 / 1M tokens
Gemini 3.1 Pro PreviewGoogleChatText instructions and conversation contextChat Completions / Gemini Native$0.8 / 1M tokens
Gemini 3 Flash PreviewGoogleChatText instructions and conversation contextChat Completions / Gemini Native$0.4 / 1M tokens

How to Use Gemini on Vidgo

Test a complete text task online, then integrate the selected model and API format.

Test online

Test a complete text task online

Open the selected model, provide the task and source text, and choose its available output settings. Submit the conversation, read the complete answer and inspect available token usage. Add clarifications or test feedback when preparing a follow-up.

Why Use Gemini on Vidgo

Use the existing model conversation, current token prices and task documentation to connect a reviewed answer with your application workflow.

Task testing and model selection

Match the model to your integration

Choose one of the existing Gemini entries, inspect its current input/output price and select Chat Completions or the Gemini native format. Prepare the same written task and source material when comparing which workflow fits your application.

Review the answer with your source material

Open the selected model, provide the task and source text, and choose its available output settings. Submit the conversation, read the complete answer and inspect available token usage. Add clarifications or test feedback when preparing a follow-up.

Plan costs from actual token usage

The table reads the current starting input-token rate for each Gemini entry per one million tokens. A complete request also includes output-token usage, including the thinking-token treatment documented for the selected model. Gemini 3.8 Flash and 3.7 Flash task pages additionally list cache-read rates. Review the selected model’s full rate table and returned usage, including the conversation context sent with each turn, when planning your application budget.

API development and conversation refinement

Follow the chosen response format

Use /v1/chat/completions with model and messages for the compatible format. For the native format, use the selected model’s /v1beta/models/{model}:generateContent endpoint with contents and generationConfig; streaming uses streamGenerateContent?alt=sse. Follow the matching documentation for authentication and response fields, then accumulate the returned text and read its usage information.

Prepare an authenticated request

Use your Vidgo API credentials to authenticate the request to the selected endpoint. Send the exact model identifier, the conversation fields required by that protocol and the supported output settings. Consume the returned response using the same format you selected.

Keep relevant context for the next turn

Accumulate streaming text when the selected workflow streams, or read the complete response body when it returns a full reply. Inspect the final answer and returned usage fields, then keep the relevant messages for the next turn. Return to the model conversation when continuing the online task.

Gemini API FAQ

Choose an existing Gemini model to work with a written task, code excerpt or document passage. Explain the intended result, provide the relevant text and set the output controls supported by that task. Vidgo’s current Gemini entries offer Chat Completions and Gemini native formats: use messages for a Chat Completions conversation, or contents and generationConfig for a native request. Review the answer and usage, then continue with clarifications or test feedback.

Browse all models