Gemini 3.7 Flash में नया क्या है

लेटेस्ट मॉडल अन्य मॉडल

Gemini 3.7 Flash (gemini-3.7-flash), Gemini 3 सीरीज़ का Flash मॉडल है. यह अब उपलब्ध नहीं है और इसके अनुरोध, अपने-आप Gemini 3.8 Flash पर भेज दिए जाते हैं.

इस गाइड को रेफ़रंस के तौर पर सेव किया गया है. इसमें Gemini 3.7 Flash में जोड़ी गई सुविधाओं और बदलावों के बारे में बताया गया है.

मॉडल अवलोकन

मॉडल मॉडल आईडी सूझ-बूझ वाले मॉडल का डिफ़ॉल्ट लेवल ब्यौरा
Gemini 3.7 Flash (अब उपलब्ध नहीं है) gemini-3.7-flash medium यह पिछली जनरेशन का Flash मॉडल है. इसे कोडिंग, एजेंटिक वर्कफ़्लो, और कई चरणों वाले काम करने के लिए बनाया गया है. इसे Gemini 3.8 Flash से बदल दिया गया है.

Gemini 3.7 Flash, 10 लाख टोकन वाली कॉन्टेक्स्ट विंडो, ज़्यादा से ज़्यादा 64 हज़ार आउटपुट टोकन, और सूझ-बूझ वाले मॉडल के लेवल (low, medium, high) के साथ काम करता है. इसमें, 3.6 Flash की तरह ही, पहले से मौजूद टूल का सुइट शामिल है.

पूरी जानकारी के लिए, Gemini 3.7 Flash मॉडल का पेज देखें.

क्विकस्टार्ट

Python

from google import genai

client = genai.Client()

interaction = client.interactions.create(
    model="gemini-3.7-flash",
    input="Write a responsive navigation component in React with smooth animations and dark mode toggle."
)

print(interaction.output_text)

JavaScript

import { GoogleGenAI } from "@google/genai";

const client = new GoogleGenAI({});

const interaction = await client.interactions.create({
  model: "gemini-3.7-flash",
  input: "Write a responsive navigation component in React with smooth animations and dark mode toggle.",
});

console.log(interaction.output_text);

Java

import com.google.genai.Client;
import com.google.genai.gaos.models.interactions.CreateModelInteraction;
import com.google.genai.gaos.models.interactions.Interaction;
import com.google.genai.gaos.models.interactions.InteractionsInput;
import com.google.genai.gaos.models.interactions.Model;
import com.google.genai.gaos.models.operations.CreateInteractionRequestBody;

Client client = new Client();
CreateModelInteraction req = CreateModelInteraction.builder()
    .model(Model.of("gemini-3.7-flash"))
    .input(InteractionsInput.of("Write a responsive navigation component in React with smooth animations and dark mode toggle."))
    .build();
Interaction interaction =
    client.interactions.create(CreateInteractionRequestBody.of(req)).interaction().get();
System.out.println(interaction.outputText().orElse(""));

आराम का समय

curl "https://generativelanguage.googleapis.com/v1beta/interactions" \
  -H "x-goog-api-key: $GEMINI_API_KEY" \
  -H 'Content-Type: application/json' \
  -X POST \
  -d '{
    "model": "gemini-3.7-flash",
    "input": "Write a responsive navigation component in React with smooth animations and dark mode toggle."
  }'

Gemini 3.7 Flash में नया क्या है

  • कोडिंग और एजेंटिक टास्क: असल दुनिया के सॉफ़्टवेयर इंजीनियरिंग और एजेंटिक बेंचमार्क पर, क्वालिटी काफ़ी बेहतर हुई है. इससे समस्याओं को हल करने में मदद मिलती है और एजेंट के लूप में फंसने की समस्या कम होती है.
  • वेब डेवलपमेंट और बेहतर डिज़ाइन पैरिटी: डिज़ाइन मॉकअप से सीधे तौर पर, डेस्कटॉप और वेब ऐप्लिकेशन कोड का बेहतर क्वालिटी वाला कोड जनरेट करता है. इससे डिज़ाइन के मुताबिक काम करने और मौजूदा कोड बेस की ऑडिटिंग में काफ़ी मदद मिलती है. साथ ही, 1:1 डिज़ाइन पैरिटी की पुष्टि की जा सकती है.

रीज़निंग के लेवल समझना

Gemini 3.7 Flash, मॉडल के सूझ-बूझ वाले लेवल को अडजस्ट करके, डेवलपर को इंतज़ार के समय और सटीक जवाब देने की क्षमता पर कंट्रोल करने की सुविधा देता है:

  • सूझ-बूझ वाले मॉडल का लेवल कम: इससे, इंतज़ार के समय के हिसाब से ज़रूरी टास्क के लिए जवाब देने में लगने वाला समय कम हो जाता है. जैसे, किसी घटना के जवाब देने के लिए पाइपलाइन, रीयल-टाइम चैट, ड्राफ़्ट लिखना, और डेटा का तुरंत विश्लेषण करना.
  • मीडियम (डिफ़ॉल्ट): ज़्यादातर टास्क के लिए सबसे अच्छी क्वालिटी. मुश्किल कोड और एजेंटिक इस्तेमाल के मामलों के लिए सुझाव दिया जाता है. इससे, पहली बार में ही सटीक जवाब मिलने की संभावना बढ़ जाती है.
  • सूझ-बूझ वाले मॉडल का लेवल ज़्यादा: इससे, मॉडल की सोचने और टूल का इस्तेमाल करने की क्षमता बढ़ जाती है. रीज़निंग वाले मुश्किल सवालों के जवाब पाने, मुश्किल गणित के सवालों को हल करने, और कोडिंग और एजेंट के मुश्किल टास्क के लिए सबसे अच्छा. इससे, ज़्यादा समय तक सोचने और फ़ंक्शन कॉल करने की सुविधा मिलती है. हालांकि, इसमें ज़्यादा टोकन खर्च होते हैं और लागत भी ज़्यादा आती है.

Gemini 3.7 Flash में, सूझ-बूझ वाले मॉडल के लेवल कॉन्फ़िगर करने के लिए:

Python

from google import genai

client = genai.Client()

interaction = client.interactions.create(
    model="gemini-3.7-flash",
    input="Analyze this payment processing pipeline for race conditions during retry attempts and rewrite the transaction locks safely.",
    generation_config={
        "thinking_level": "medium"  # Balanced reasoning effort for complex tasks
    }
)

print(interaction.output_text)

एक से ज़्यादा भाषाओं में कोड के उदाहरण (JavaScript, Java, Go, REST) और रीज़निंग के मुश्किल कॉन्सेप्ट के लिए, Gemini 3.8 Flash में रीज़निंग के लेवल समझना लेख पढ़ें.

Antigravity एजेंट के लिए सहायता

Gemini 3.7 Flash में, Gemini Managed Agents और Google Antigravity SDK में Antigravity एजेंट को इस्तेमाल करने की सुविधा जोड़ी गई है.

मौजूदा कोड के सैंपल और एजेंट के डिफ़ॉल्ट कॉन्फ़िगरेशन के लिए, Antigravity एजेंट की गाइड और Gemini 3.8 Flash की गाइड देखें.

अन्य मॉडल

आगे क्या करना है

  • मॉडल की खास जानकारी देने वाले पेज पर, एपीआई की खास जानकारी देखें.
  • Interactions API की गाइड में, एक से ज़्यादा एजेंट को ऑर्केस्ट्रेट करने के बारे में जानें.
  • Google AI Studio में प्रॉम्प्ट टेस्ट करें और उन्हें बेहतर बनाएं.