Comment by rbrownmh
I would highly recommend starting w/ OpenRouter - it's easy to play around w/ free models and their documentation is great.
OpenRouter Quickstart: https://openrouter.ai/docs/quickstart
See usage example here (Typescript): https://github.com/brownrw8/olelo-honua/blob/main/src/provid...
And while you're at it, check out my open source project using OpenRouter, ʻŌlelo Honua ;)
ʻŌlelo Honua: https://www.olelohonua.com