Hi @GiantGuf
From what I can tell, their API uses a standard POST request (with no streaming). toddle supports that out of the box, and you would just need to add the relevant headers + pass an object with model + messages for the body of the request.
However, since toddle's APIs are currently not supporting any server side secrets, your API key would be exposed on the front-end.
Therefore, I suggest calling openrouter's API from a back-end of your choice (buildship.com for instance) and make sure that your back-end is protected with some kind of authentication.