LangChain: Structured Output Renaissance

Today's episode covers a fantastic wave of improvements to structured outputs across multiple LangChain integrations. We've got four major pull requests including strict mode support for Groq, OpenAI serialization fixes, and a complete streaming token usage overhaul for OpenRouter. Plus, we're celebrating the OpenRouter integration hitting its 1.0 release milestone!

Duration: PT4M15S

Episode overview

This episode is a short developer briefing from LangChain.

It explains recent repository work in plain language.

  • Show: LangChain
  • Published: 2026-03-05T11:10:05Z
  • Audio duration: PT4M15S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, fellow builders! Welcome back to another episode of the LangChain podcast. I'm your host, and wow, do we have an exciting episode today. If you've been working with structured outputs lately - and let's be honest, who hasn't - you're going to love what the community has been cooking up.

So grab your favorite beverage, get comfortable, and let's dive into what I'm calling the "Structured Output Renaissance" because today's changes are all about making your AI interactions more reliable, more informative, and just plain better.

Let's start with our biggest story of the day. Mason Daugherty has been absolutely crushing it with the OpenRouter integration. We've got not one, but two pull requests from Mason that are game-changers. The first one tackles something that's been quietly driving developers crazy - streaming token usage support. You…

Mason discovered that OpenRouter was sending usage data in a separate chunk without the usual choices array, and LangChain was just... ignoring it. Completely. So if you were building apps that needed to track token usage for billing or monitoring, you were flying blind. The fix adds a new stream_usage parameter…

And speaking of…

Now,…

Nearby episodes from LangChain

  1. Community Growth and Rock-Solid Fixes
  2. Community First - Making Contributing Clearer for Everyone
  3. Security Patch & Release Day
  4. Security Spring Cleaning
  5. Consistency Wins - The Model Property Fix That Makes Everything Just Work
  6. Dependency Detective Work and Core Fixes
  7. When AI Finds Its Own Bugs
  8. Testing CSV Files and Breaking Changes