3 points · by pdxpate · 2y ago · 1 comment
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!