Comment

Comment by adithyassekhar

Route your LLM requests through the Stripe AI Gateway with an API call. Provide your prompt, model, and Customer ID, and Stripe:

1.Routes the request to the appropriate provider (OpenAI, Anthropic, or Google).

2. Returns the model’s response to your application.

3. Records token usage for billing automatically.

4. Rejects requests when a customer has no credit left (when enabled for your account).

Does that mean all api calls to providers go through stripe?

Reading the justification for how much of a perfect partner stripe is for openrouter sounded made up, this makes it even better.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton