Overview
Quickstart
Fund an account, create a key, and make a first request.
Create an account, add at least $5 USD, and create an API key in /settings/keys.
Today, the first funding of at least $5 USD adds $5 USD in bonus credit.
Use https://plaingateway.com/api/v1 as the base URL and Authorization: Bearer sk-pg-v1-... for API requests.
Choose an ID from Models, then use the recorded request in Chat completions.
Keep the key on your server and read usage.cost or X-PG-Cost-USD to see the charge.