Retrieve a model
const url = 'https://api.saygm.com/v1/models/gpt-5.5';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.saygm.com/v1/models/gpt-5.5Returns one canonical buyer model entry. Authentication is optional; with Authorization, the gateway validates the key to include visible composites. Catalog responses include ETag and Cache-Control headers; send If-None-Match to revalidate.
Authorizations
Section titled “Authorizations”- None
- bearerAuth
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”A model id exactly as returned by /v1/models. Percent-encode / in ids that contain a slash.
Examples
Frontier model
gpt-5.5Canonical confidential model
qwen3.6-27b-teeHeader Parameters
Section titled “Header Parameters”Revalidate the representation using its ETag.
Responses
Section titled “Responses”The catalog entry for the requested model, with ETag and Cache-Control headers.
One catalog entry. Direct and cascade products have a pricing card; fusion products omit pricing and price_range and carry billing and fusion metadata.
object
Canonical buyer model id to send in a request.
Fixed Unix timestamp retained for OpenAI SDK compatibility.
Organization credited with the model.
Trust boundary, derived from confidential and model_class: confidential is in-TEE inference; open and frontier are served by an upstream provider under that provider’s own terms. Unreviewed models report frontier.
Reviewed weights class. Omitted until GM has reviewed the model; an omitted field claims nothing.
true when inference runs inside a TEE. Omitted until GM has reviewed the model; an omitted field claims nothing.
Curated human-readable name. Omitted when GM has none, and for composites.
GM’s provider namespace for the model, usually its maker. It does not identify the upstream service that receives a request; a model can be served by several upstream providers, which X-GM-Providers can restrict. Composite products report gm.
Reasoning effort values supported by this model.
Accepted reasoning effort aliases and their native values.
object
One rate card for direct and cascade products. Omitted for fusion products because a fusion is billed per leg.
object
Pricing unit: per million tokens for token models, or per generated video second for video models.
Rates in nano-dollars. Per-token dimensions are per million tokens; output_per_image_ndollars is per generated image; output_per_video_second_ndollars is per generated video second. Dimensions are omitted when not offered and never serialized as null.
object
Video output price per generated second in nano-dollars.
Direct-product bounds. Omitted for composites without a single rate card; optional fields are omitted, never null.
object
Pricing unit: per million tokens for token models, or per generated video second for video models.
object
Rates in nano-dollars. Per-token dimensions are per million tokens; output_per_image_ndollars is per generated image; output_per_video_second_ndollars is per generated video second. Dimensions are omitted when not offered and never serialized as null.
object
Video output price per generated second in nano-dollars.
object
Rates in nano-dollars. Per-token dimensions are per million tokens; output_per_image_ndollars is per generated image; output_per_video_second_ndollars is per generated video second. Dimensions are omitted when not offered and never serialized as null.
object
Video output price per generated second in nano-dollars.
object
Rates in nano-dollars. Per-token dimensions are per million tokens; output_per_image_ndollars is per generated image; output_per_video_second_ndollars is per generated video second. Dimensions are omitted when not offered and never serialized as null.
object
Video output price per generated second in nano-dollars.
Present only for fusion products; omitted for direct and cascade products.
object
Present only for fusion products.
object
object
object
Whether the gateway is currently accepting inference requests for this model.
true for an announced model that cannot be called yet. Such a model is unavailable and has no pricing or price_range.
Hard capability flags and any published image or video generation limits.
object
Image API that serves the product, for example openai_images or gemini_generate_content.
Example
{ "id": "gpt-5.5", "object": "model", "owned_by": "anthropic", "tier": "frontier", "model_class": "open", "gateway_provider": "anthropic", "api_shapes": [ "chat.completions" ], "pricing": { "unit": "ndollars_per_mtok", "currency": "USD", "basis": "cheapest_eligible_offer", "surcharges": { "additionalProperty": { "kind": "per_event" } } }, "price_range": { "unit": "ndollars_per_mtok", "currency": "USD", "floor": { "basis": "cheapest_eligible_offer" }, "route_ceiling": { "basis": "cheapest_eligible_offer" }, "ceiling": { "basis": "cheapest_eligible_offer" } }, "billing": { "mode": "metered_per_leg" }, "fusion": { "strategy": "rank_then_fuse" }, "capabilities": { "api": "gemini_generate_content", "supported_frame_roles": [ "first_frame" ] }}Headers
Section titled “Headers”Model catalog revalidation policy.
Weak validator for the current model representation.
The current representation matches If-None-Match.
Headers
Section titled “Headers”Model catalog revalidation policy.
Weak validator for the current model representation.
An Authorization header was supplied but the SayGM API key is invalid.
OpenAI-shaped gateway error. Image errors after dispatch may also include billing fields at the top level.
object
object
Machine-readable error code. Account request limits use rate_limit_exceeded.
Gateway request identifier.
Settled charge in nano-dollars; present when billing_status is settled.
Example
{ "billing_status": "settled"}Headers
Section titled “Headers”The response is not stored.
No model with that id is in the catalog. The response carries error.code model_not_found.
OpenAI-shaped gateway error. Image errors after dispatch may also include billing fields at the top level.
object
object
Machine-readable error code. Account request limits use rate_limit_exceeded.
Gateway request identifier.
Settled charge in nano-dollars; present when billing_status is settled.
Example
{ "billing_status": "settled"}Headers
Section titled “Headers”The response is not stored.
When Authorization is present, the credit service is unavailable (ums_unavailable).
OpenAI-shaped gateway error. Image errors after dispatch may also include billing fields at the top level.
object
object
Machine-readable error code. Account request limits use rate_limit_exceeded.
Gateway request identifier.
Settled charge in nano-dollars; present when billing_status is settled.
Examples
{ "error": { "message": "Credit service unavailable.", "type": "server_error", "code": "ums_unavailable", "param": null }}Headers
Section titled “Headers”The response is not stored.