First-class support for OpenAI-compatible (OpenAPI-compatible) LLM providers in TanStack AI #151
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
This has been implemented ever since! |
Beta Was this translation helpful? Give feedback.
-
|
First-class OpenAI-compatible provider support would be very useful. The main thing I would want is a clean abstraction for model capabilities, pricing, context length, streaming, and fallback behavior, because provider choice often becomes an operational decision rather than just an SDK decision. I am working on an OpenAI-compatible multi-model API layer focused on official Chinese models, so this provider interface discussion is very relevant to what I am testing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
TanStack AI is great,
One limitation I ran into: TanStack AI currently requires provider-specific adapters, which makes it hard to use OpenAI-compatible APIs such as OpenRouter, Together, Groq, Fireworks, or self-hosted gateways.
It would be great to have first-class support for OpenAI-compatible providers, for example:
or a generic openaiCompatible() adapter.
Why this matters
Thanks for considering this
Beta Was this translation helpful? Give feedback.
All reactions