Show HN: Integrate 60 LLMs with one TypeScript SDK (docs.tokenjs.ai)
I'm excited to introduce Token.js, a free and open source TypeScript SDK that allows you to integrate with over 60 LLMs using OpenAI's format, without the need for a proxy server.
Features:
- Use OpenAI's format to call 60+ LLMs from 9 providers (Anthropic, AWS Bedrock, Cohere, Gemini, Mistral, etc).
- Supports function calls, JSON outputs, image inputs, streaming, and more.
- Runs completely on the client side. No proxy server needed.
- Free and open source under the MIT License.
We built Token.js because we wanted a simple abstraction to try out a lot of different LLMs without rewriting our code, routing our API calls through a proxy server unnecessarily, or locking ourselves into a single LLM provider.
Check out our docs and let us know what you think!
1 comment
[ 0.29 ms ] story [ 239 ms ] thread