LangChainJS and Gemini 4 Argon: What's here and what's…
    Neura Market
    Neura Market
    /Gemini
    Marketplace
    Directories
    Resources
    Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiBlogLangChainJS and Gemini 4 Argon: What's here and what's coming?
    Back to Blog
    LangChainJS and Gemini 4 Argon: What's here and what's coming?
    ai

    LangChainJS and Gemini 4 Argon: What's here and what's coming?

    Allen Firstenberg October 14, 2026
    0 views

    Google has released the latest version in the Gemini family, Gemini 4 Argon, and I was fortunate...

    Google has released the latest version in the Gemini family, Gemini 4 Argon, and I was fortunate enough to be able to preview and test it.

    The first thing I did was try it against the LangChainJS test suite - and it passed with flying colors.

    However, if you're looking to use LangChainJS with Gemini 4 Argon today, there are a few things you need to keep in mind. And if you have some big future plans with Argon - there are a few things we're working on to make them working together better. This is a quick note to help let you know where we are and what we're working on.

    An incomplete sketch of a parrot, two stars, and the Roman numeral IV, generated by Gemini / Nano-Banana

    Gemini 4 Argon works today!

    You can use LangChainJS with Gemini 4 Argon using either the Google AI (gai) or Google Enterprise / Vertex (gcp) platforms. No changes or new libraries necessary. Just use the model name "gemini-4-argon" and you're all set to go!

    There are two things to keep in mind, however:

    • The "minimal" thinking level (and a thinking budget of 0) aren't supported, but LangChainJS doesn't turn this into "low" like it does for other models where "minimal" isn't supported. A fix for this is coming shortly.
    • "maxOutputTokens" has a 64k limit. Although Gemini 4 Argon supports up to 1M output tokens using a feature called Long Decode, but this requires some additional work. More about this below.

    If you're using either "maxReasoningTokens" or "thinkingBudget", we'll continue to support these parameters for backwards compatibility, mapping them to Google's "thinkingLevel" values.

    Exciting new updates soon.

    First, if you're not already using the "@langchain/google" library, this might be a great time for you to do so. This is where we're focusing all new work.

    As mentioned above, some changes to fix the thinking level will be available soon. Follow issue 11940 to learn more.

    Long Decode allows for output up to 1M tokens, the most of any of the frontier models. But this required some internal changes in Google's API. There are two ways to address this, and we'll be adding support for both:

    • Currently we support Google's "Generate Content" API. Google has added a "continuationToken" parameter which will let you read the response in 64k chunks.
    • Google also has the "Interactions" API, which allows for many new features. We have just started the first phase of a project to make the Interactions API available through LangChainJS in a transparent way.

    We'll be adding support for the "continuationToken", which will allow you to read the Long Decode responses one chunk at a time. This is, however, only meant as a stop-gap solution while we work on a better approach.

    The Interactions API supports Long Decode directly when in "background" mode. We'll be implementing support for the Interactions API as quickly as we can, and "background" mode will be one of the initial features supported. We even hope to make it transparent in some cases, so the only thing you'll need to do is set "maxOutputTokens" to more than 64k and things should "just work".

    Both of these require issue 11879 to be completed first - and our focus is on getting that released ASAP so we can begin work on the other components. We'll also be adding a chunk of new tests to make sure the features work as expected and that everything works as smoothly as it always has.

    Our objectives

    I've always tried to make LangChainJS as easy for developers to use, and continue using, as possible. You shouldn't have to make sure your parameters match the complex rules that Google enforces - the LangChainJS library should handle that for you.

    The changes we are working on for Argon support are no different.

    Your help and support for this project are, as always, appreciated.

    My thanks, again, to the teams at Google who gave me early access to begin testing and work with Argon. And my thanks to family and friends who have always been there. Working on this project is one way I choose to help the community - and I hope you are contributing to the communities that are important to you.

    Tags

    aigeminijavascriptllm

    Comments

    More Blog

    View all
    [AI in Practice] Upgrading from Gemini 3.5/3.6 to Gemini 4 Argon: Migration Notes and Pitfalls for LINE Bot Developersai

    [AI in Practice] Upgrading from Gemini 3.5/3.6 to Gemini 4 Argon: Migration Notes and Pitfalls for LINE Bot Developers

    Background I have a LINE Bot that I use every day, linebot-helper-python. I use it daily...

    E
    Evan Lin
    Six Months After Cloud Next ‘26: A Builder’s Tour of the Gemini Enterprise Agent Platformgooglecloud

    Six Months After Cloud Next ‘26: A Builder’s Tour of the Gemini Enterprise Agent Platform

    What actually shipped across Build, Scale, Govern, and Optimize — and what I'd tell a team starting...

    J
    Jonathan Zhuo
    1
    AlphaEvolve and Gemini: Autonomous Algorithm Discovery for Unified Disaster Predictionai

    AlphaEvolve and Gemini: Autonomous Algorithm Discovery for Unified Disaster Prediction

    📄 Published Paper (Open Access on Zenodo): Autonomous Discovery of Unified Multi-Hazard Prediction...

    T
    Tanaike
    1
    Nobody’s winning the AI race yetai

    Nobody’s winning the AI race yet

    By Ryan Swift Yesterday, Google finally released its Gemini 4 Argon model for public use. It’s...

    R
    Ryan Swift
    1
    I got Jev to zero mistakes. I'm still using Flash-Lite.ai

    I got Jev to zero mistakes. I'm still using Flash-Lite.

    Jev is a brilliant decision model. Gemini Flash-Lite is the model nobody talks about, and it’s fast,...

    S
    Swift
    1
    Gemini 4 Argon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/ai

    Gemini 4 Argon https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/

    ...

    B
    Ben Halpern
    1

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Games
    • Blog
    • Videos
    • Guides
    • Courses
    • Community
    • Gems
    • Extensions

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Compare Your n8n Version with the Latest Release Using the n8n APIn8n · $9.99 · Related topic
    • Auto-Update n8n to Latest Version with Coolifyn8n · $9.99 · Related topic
    • Check if Workflows Contain Built-in Nodes That Are Not of the Latest Versionn8n · $9.99 · Related topic
    • Automate Backup of Self-Hosted n8n Workflows to Google Drive with Version Controln8n · $14.99 · Related topic
    Browse all workflows