Files
langchain/libs/partners/openrouter
langchain-oss-model-profiles[bot]andmdrxy de484a5eff chore(model-profiles): refresh model profile data (#40924)
Automated refresh of model profile data for all in-monorepo partner
integrations via `langchain-profiles refresh`.

🤖 Generated by the [`refresh_model_profiles`
workflow](https://github.com/langchain-ai/langchain/blob/master/.github/workflows/refresh_model_profiles.yml).

## Summary of changes

**3 added · 0 removed · 12 changed** across 2 provider(s).

<details>
<summary>openai</summary>

**➕ 1 added**
- `gpt-6.1-sol` — 1,050,000 ctx, 128,000 out, text+image+pdf in,
reasoning, tools

</details>

<details>
<summary>openrouter</summary>

**➕ 2 added**
- `openai/gpt-6.1-sol` — 1,050,000 ctx, 128,000 out, text+image+pdf in,
reasoning, tools
- `openai/gpt-6.1-sol-pro` — 1,050,000 ctx, 128,000 out, text+image+pdf
in, reasoning, tools

**✏️ 12 changed**
- `deepseek/deepseek-v4-flash-0731`: max input tokens 1,310,720 →
1,048,576
- `deepseek/deepseek-v4-pro-0813`: max output tokens 943,718 → 393,216
- `meta/muse-glimmer-30b`: max output tokens 16,384 → 117,964
- `nvidia/nemotron-3.5-lightning`: max input tokens 1,000,000 → 262,144
- `openai/gpt-oss-120b`: max output tokens 65,536 → 117,964
- `qwen/qwen3.5-122b-a10b`: max output tokens 235,929 → 65,536
- `qwen/qwen3.8-27b`: max output tokens 235,929 → 131,072
- `z-ai/glm-5.3`: max input tokens 1,310,720 → 1,048,576
- `z-ai/glm-5.3-flash`: max input tokens 1,310,720 → 1,048,576
- `~deepseek/deepseek-v4-flash-latest`: max input tokens 1,310,720 →
1,048,576
- `~z-ai/glm-flash-latest`: max input tokens 1,310,720 → 1,048,576
- `~z-ai/glm-latest`: max input tokens 1,310,720 → 1,048,576

</details>

Co-authored-by: mdrxy <61371264+mdrxy@users.noreply.github.com>
2026-09-30 10:10:11 -04:00
..
2026-09-22 00:10:36 -04:00

langchain-openrouter

PyPI - Version PyPI - License PyPI - Downloads Twitter

Quick Install

uv add langchain-openrouter

🤔 What is this?

This package contains the LangChain integration with OpenRouter, a unified API for hundreds of AI models across many providers.

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Resources

  • LangChain Academy — comprehensive, free courses on LangChain libraries and products, made by the LangChain team
  • Code of Conduct — community guidelines and standards