Hanzo
OpenapiPricing

Returns one model's catalog entry — its pricing, context window and…

Returns one model's catalog entry — its pricing, context window and capabilities as the pricing source records them.

GET /v1/pricing/model/{name}

Addresshttps://api.hanzo.ai/v1/pricing/model/{name}
MethodGET
Operationget_pricing_model_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one model's catalog entry — its pricing, context window and capabilities as the pricing source records them. A model hidden for the caller's org answers the same 404 an unknown name does, so a disabled model gets no existence oracle.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the model's name or its slugged id ("zen4", "acme/some-model-1"), matched case-insensitively.

Response

StatusBodyMeaning
200objectok

200 body — 1 field.

FieldInTypeAlwaysDescription
*bodyobject

Failure carries the platform error shape — see Errors.

Examples

hanzo pricing model get <name>

Pricing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page