polymer-pay-llm

Route OpenAI-compatible chat completions through Polymer Pay's category-based provider routing.

1|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/polymerdao/pay-apis --skill polymer-pay-llm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymer-pay-llm
Source: https://github.com/polymerdao/pay-apis/tree/main/skills/polymer-pay-llm
Command: npx skills add https://github.com/polymerdao/pay-apis --skill polymer-pay-llm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Access LLM models (GPT-4o, Claude, etc.) through Polymer Pay's category-based routing. Polymer Pay automatically selects the cheapest available provider, handles failover between providers on errors, and manages all payment negotiation. You never need to pick a provider or handle retries — just specify a category and Polymer Pay does the rest.

Core Features & Use Cases

  • Automatic cheapest-provider routing with automatic failover across multiple LLM providers.
  • OpenAI-compatible chat completions via the Polymer Pay proxy, using a single API key.
  • Discovery and per-model pricing endpoints to compare options and plan costs.

Quick Start

Invoke the Polymer Pay proxy chat endpoint to get an LLM response from the cheapest available provider.

Frequently Asked Questions about polymer-pay-llm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route LLM requests to the cheapest provider automatically?

LLM request routing to the cheapest provider is handled automatically by Polymer Pay's category-based proxy. You specify a model category in the chat completions endpoint, and the service selects the lowest-cost available provider without requiring manual provider selection.

Can I use OpenAI-compatible chat completions without managing multiple provider API keys?

Yes, OpenAI-compatible chat completions are supported through the Polymer Pay proxy using a single API key. You send standardized requests to the proxy endpoint, and it manages all provider authentication, payment negotiation, and failover internally.

What happens when an LLM provider fails during a chat completion request?

When an LLM provider fails during a request, automatic failover redirects the chat completion to the next available provider. The proxy handles retries and provider switching transparently, ensuring your request completes without manual intervention.

How do I discover available LLM models and check per-model pricing?

Model discovery and per-model pricing are available through dedicated endpoints in the proxy. You can query these to compare available LLM options, view costs, and plan your routing strategy before sending chat completion requests.

Does multi-provider LLM routing work with existing OpenAI-compatible client libraries?

Multi-provider LLM routing works with OpenAI-compatible client libraries by pointing them to the Polymer Pay proxy endpoint. The proxy accepts standard /v1/chat/completions requests, so existing code requires only a base URL and API key change.

What are the limitations of using a proxy for LLM failover and routing?

Using a proxy for LLM failover means all requests route through the Polymer Pay endpoint, requiring network access to the service. Routing is category-based, so you cannot manually select a specific underlying provider, only the cheapest available in a category.