Stripe AI Toolkit
SDK, MCP, and skills for AI billing · Free
Stripe SDKs and skills for AI apps: token metering and billing for LLM calls, AI SDK integrations, and Stripe MCP setup.
Also known as: stripe/ai

What you can use for free
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately.
Paid features and costs
Stripe payment/billing fees, model APIs, and production hosting are separate.
Access and limitations
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately. Stripe payment/billing fees, model APIs, and production hosting are separate.
Use cases
- Choose an AI SDK adapter or token-meter and configure test mode.
- Reconcile tokens, usage events, and billing; check redelivery and API errors.
Example workflow
A possible workflow; this is not a report of hands-on testing.
Stripe SDK and skills for AI applications
Before you start
- An AI application, Stripe test account, and usage/billing scheme.
Steps
- Choose an AI SDK adapter or token-meter and configure test mode.
- Reconcile tokens, usage events, and billing; check redelivery and API errors.
- Compare the result with the workflow's goal; after changing the project, run its standard checks.
Check your result
- Usage is not counted twice; secret keys and test/live modes are separated.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.
Choosing Stripe AI Toolkit
Choose an AI SDK adapter or token-meter and configure test mode.
Choose this when
- Choose an AI SDK adapter or token-meter and configure test mode.
- Reconcile tokens, usage events, and billing; check redelivery and API errors.
Requirements
- Choose an integration for the application SDK and separately configure Stripe access and the model provider.
Things to consider
- Costs and limits of free use: Stripe payment/billing fees, model APIs, and production hosting are separate.
- Terms of use: MIT for the code and instructions in this repository; integrated products have separate licenses.
- The repository license does not remove Stripe payment/billing fees or inference costs.
Frequently asked questions
What can you use for free in Stripe AI Toolkit?
The package's code and instructions are available under the stated license; an installed agent and required dependencies must be provided separately.
What additional costs might arise with Stripe AI Toolkit?
Stripe payment/billing fees, model APIs, and production hosting are separate.
What terms of use matter for Stripe AI Toolkit?
MIT for the code and instructions in this repository; integrated products have separate licenses.
How do you get started with Stripe AI Toolkit?
Choose an AI SDK adapter or token-meter and configure test mode. Reconcile tokens, usage events, and billing; check redelivery and API errors. Compare the result with the workflow's goal; after changing the project, run its standard checks.
How do Stripe AI SDK, token meter, and Stripe MCP differ?
@stripe/ai-sdk connects billing with Vercel ai/@ai-sdk; @stripe/token-meter works with native OpenAI, Anthropic, and Gemini SDKs without a framework dependency. The separate remote MCP https://mcp.stripe.com uses OAuth. Skills/plugins provide instructions and agent tools; manually installed skills do not auto-update.
License
MIT for the code and instructions in this repository; integrated products have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Stripe AI Toolkit
- stripe
- Agent Skills