Available adapters
All seven adapters share the same API surface. If you switch from OpenAI to Claude you change one import, not your billing.
Common shape
resource_id doesn’t have a paid Payment Credential available on the request, the call returns an HTTP 402 with the challenge JSON. The client pays, retries, and the call forwards to OpenAI.
When to use these vs the framework adapters
- Use model adapters when you’re calling the foundation-model SDK directly and want a paywall in front of it.
- Use framework adapters when you’re building agents or chains in LangChain, LangGraph, CrewAI, etc. The framework wraps the model call and the framework adapter wraps the framework.
See also
- AI agent frameworks for LangChain, LangGraph, and friends
- MCP server to expose AlgoVoi to Claude Desktop and any other MCP client
- x402 and MPP for the underlying protocols