◆ REST API
GET/api/pricing/prices
All models, all vendors. Filter: ?vendor=anthropic
GET/api/pricing/prices/{vendor}/{model}
Single model. e.g. /api/pricing/prices/xai/grok-4.3
GET/api/pricing/changelog
Detected price changes with before/after values and timestamps.
// GET /api/pricing/prices/xai/grok-4.3
{
"vendor": "xai",
"model": "grok-4.3",
"input_per_1m": 1.25,
"output_per_1m": 2.50,
"context_window": 1000000,
"source_url": "https://docs.x.ai/developers/models",
"retrieved_at": "2026-05-10T16:38:00Z",
"verified": true,
"notes": "Auto-verified against pricepertoken.com"
}