Dynamic credential selection in Chat Model nodes (AI Agent)

The idea is:

Right now, Chat Model nodes (OpenAI, Groq, Anthropic, etc.) only allow one static credential. I’d like support for dynamic credential swapping, for example by passing an API key via expression (={{ $json.apiKey }}) or enabling automatic key rotation

My use case:

I manage multiple API keys for Groq/OpenAI. When one key hits its quota, I need to switch automatically without duplicating multiple Chat Model nodes. This would also let me balance usage across keys.

I think it would be beneficial to add this because:

I think it would be beneficial to add this because:
Avoids creating duplicate Chat Model nodes for every key.
Makes AI Agent workflows more robust and production-ready.
Helps with failover and quota management.

Any resources to support this?

Authorization: Bearer {{ $json.apiKey }}

Are you willing to work on this?

Happy to test and share feedback, but not able to implement core changes myself.

That’s a very useful usecase. I don’t understand why they haven’t implemented while it’s already possible to have dynamic credentials for https requests nodes