GET /api/v1/hub/models returns available models, their parameter schemas, and prices for your account.
id: the value to send asmodel;parameters_schema: the JSON schema for theinputobject;input_modalitiesandoutput_modalities: accepted and produced media types;pricing_tiers: media price tiers;input_cost_per_millionandoutput_cost_per_million: text model rates.
Tier fields retain the name
price_usd, but currency is EUR and always defines the actual unit.Estimate a generation
Send the sameinput object that you would use for a generation:
billed_cost.