BoldRouter for Langflow
BoldRouter for Langflow: one API key for 129 models across 26 providers, with provider routing, automatic failover, prompt caching and PII anonymization.
lfx-boldrouter is a Langflow extension. Install it next to Langflow and it adds two things:
- A BoldRouter provider in Langflow's model settings. Its models then appear in the built-in Language Model, Agent and Embedding Model components.
- A BoldRouter component in the palette, with every BoldRouter option: routing strategy, provider order, fallback models, reasoning effort, anonymization and prompt caching.
Install
Requires Langflow 1.12 or later.
uv pip install lfx-boldrouter # or: pip install lfx-boldrouter
langflow run
Langflow discovers the extension at startup. To confirm it loaded:
lfx extension list
Use the provider
- Open Settings → Model Providers and choose BoldRouter.
- Paste your API key. Create one at boldrouter.com/dashboard/keys; keys start with
sk-bold-. - Optionally set a Routing Strategy (balanced, price, latency or uptime). It applies to every BoldRouter model you use.
- In a Language Model or Agent component, pick a BoldRouter model such as
bold/auto.
The key can also come from the BOLDROUTER_API_KEY environment variable.
Use the component
Find BoldRouter in the component palette, add your API key and click refresh on Model to load the live catalog. The advanced fields map to BoldRouter options:
| Field | Sent as | Docs |
|---|---|---|
| Model | model. bold/auto by default. |
Models |
| Routing Strategy | x-bold-routing header |
Routing |
| Provider Order | provider.order |
Routing |
| Fallback Models | models chain, primary model first |
Routing |
| Reasoning Effort | reasoning: off turns thinking off; minimal to max set the effort |
Chat completions |
| Anonymize Prompts | anonymize: true |
Anonymization |
| Prompt Caching | cache: false when off |
Prompt caching |
| Base URL | Endpoint override, for example for a proxy |
The component returns a LangChain chat model, so it works anywhere Langflow accepts a language model: agents, chains, structured output and tools. Token usage, including hidden reasoning tokens, is reported for streamed and non-streamed responses.
Develop
uv pip install -e ".[test]"
pytest
lfx extension validate src/lfx_boldrouter --execute-imports
lfx extension dev src/lfx_boldrouter # Langflow dev server with the extension loaded
License
MIT. Project: BoldRouter. Author: GentleBulldozer (GentleDozer on X). Owner: Cybrient Technologies SA.
Metadata
Release files for lfx-boldrouter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lfx_boldrouter-0.1.0.tar.gz | 8.5 kB | With provenance | Details for lfx_boldrouter-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lfx_boldrouter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for lfx_boldrouter-0.1.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / lfx_boldrouter-0.1.0.tar.gz
| Download URL | lfx_boldrouter-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c775efe5fc885731dbc1fc3c9aaf2dad4bdb691553d26f0033212972c611c9c2
|
|
BLAKE2b-256 checksum How to use checksums |
23ccc29a176f2599d17f4e19f14a61cd81ad24c7107877b7c868a31af9bc1d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / lfx_boldrouter-0.1.0-py3-none-any.whl
| Download URL | lfx_boldrouter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
040983db662ba93f65b48d5e7241b56f60e2f3c79a2f155b212a189ad7ade438
|
|
BLAKE2b-256 checksum How to use checksums |
3972be4de8d810ef8bdbf41ef3fd59ec1be0c46eb3d2fb064d8737d5070158e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logSecurity for lfx-boldrouter 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lfx_boldrouter-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.