Endpoint
NAME
OpenRouter::API::Result::Endpoint - One provider endpoint for a model
SYNOPSIS
my @endpoints = $or.get-model-endpoints('anthropic', 'claude-opus-4-7');
my $cheapest = @endpoints.sort(*.input-price-per-token).head;
say $cheapest.provider-name, " \$", $cheapest.input-price-per-token,
"/tok in, ctx ", $cheapest.context-length;
DESCRIPTION
Wraps a single entry from the endpoints array of
GET /models/{author}/{slug}/endpoints, or from
GET /endpoints/zdr. Exposes provider, pricing, context, quant,
uptime, latency, and ZDR flags.
Prices come back as Rat in USD-per-token (OpenRouter's wire
format is a string).