Skip to content

Does a hosted provider package have to carry a key? #1506

Description

@TheCheetah11

TanStack AI ships one package per provider, from ai-openai and ai-anthropic through ai-openrouter and ai-cohere, and the family keeps growing, so the pattern for adding a vendor is settled. The one thing every hosted package carries is credential setup, and the routing side reads cost out of each provider's own response to compare candidates, which quietly assumes the user already holds an account with everyone being compared. Ollama sits in the set as the exception, a package with nothing to paste in.

BlockRun is one OpenAI compatible base URL covering chat, image, video, music, speech and sound effects, paid per call in USDC over x402 with no key and no vendor account, so an adapter could take that same place in the set. https://blockrun.ai

If that fits the direction of the repo, I can write the package and open a pull request for review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

waiting-on: authorWaiting for the author to respond or update

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions