List models

http
GET /ai/models

List model deployments, routing details and access status for the supplied credentials and account or project context.

Servers

json
[
  {
    "url": "https://api.veryfront.com"
  }
]

Authentication

json
[
  {
    "bearerAuth": []
  },
  {
    "apiKeyAuth": []
  }
]
json
{
  "bearerAuth": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "JWT or API Key",
    "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."
  },
  "apiKeyAuth": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-Key",
    "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."
  }
}

Parameters

NameLocationRequiredDescription
x-veryfront-project-referenceheaderNo
x-veryfront-project-idheaderNo
x-veryfront-project-slugheaderNo
x-veryfront-account-idheaderNo

Parameter contracts

json
[
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Canonical project selector: a UUID or slug for model access, inference and billing context. A signed project scope takes precedence. Otherwise, send only one project selector header."
    },
    "required": false,
    "name": "x-veryfront-project-reference",
    "in": "header"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Compatibility selector accepting a project UUID. Prefer x-veryfront-project-reference."
    },
    "required": false,
    "name": "x-veryfront-project-id",
    "in": "header"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Compatibility selector accepting a project slug. Prefer x-veryfront-project-reference."
    },
    "required": false,
    "name": "x-veryfront-project-slug",
    "in": "header"
  },
  {
    "schema": {
      "type": "string",
      "format": "uuid",
      "description": "An account the caller can read (account.read). Lists every model with enabled and disabled_by under that account's model policy alone. Not combined with a project selector."
    },
    "required": false,
    "name": "x-veryfront-account-id",
    "in": "header"
  }
]

Responses

200

Available AI model deployments. A project-scoped credential, or a selector header naming a project the caller can see, narrows the list to what that project's inference policy permits.

json
{
  "description": "Available AI model deployments. A project-scoped credential, or a selector header naming a project the caller can see, narrows the list to what that project's inference policy permits.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "deployments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "funding": {
                  "type": "string",
                  "enum": [
                    "managed",
                    "customer"
                  ],
                  "description": "Account funding for this route. Omitted means Veryfront-managed. Customer funding uses the account provider key and zero Veryfront model credits."
                },
                "model": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unified model ID, e.g. `anthropic/claude-opus-4-8`."
                    },
                    "aliases": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Other IDs that select this model. The first is the short ID."
                    },
                    "name": {
                      "type": "string",
                      "description": "Display name."
                    },
                    "description": {
                      "type": "string",
                      "description": "Catalog description of the model."
                    },
                    "capabilities": {
                      "type": "object",
                      "properties": {
                        "streaming": {
                          "type": "boolean",
                          "description": "Whether streaming is supported."
                        },
                        "tools": {
                          "type": "boolean",
                          "description": "Whether tool calls are supported."
                        },
                        "vision": {
                          "type": "boolean",
                          "description": "Whether image inputs are supported."
                        },
                        "open_weights": {
                          "type": "boolean",
                          "description": "Whether model weights are publicly released."
                        },
                        "attachment": {
                          "type": "boolean",
                          "description": "Whether file input is supported. Omitted while unverified."
                        },
                        "structured_output": {
                          "type": "boolean",
                          "description": "Whether schema-constrained output is supported. Omitted while unverified."
                        },
                        "supported_parameters": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Verified supported request parameters. Unknown names remain valid strings."
                        },
                        "modalities": {
                          "type": "object",
                          "properties": {
                            "input": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "required": [
                            "input"
                          ],
                          "description": "Recorded input modalities. Output modalities are omitted while unverified."
                        },
                        "limit": {
                          "type": "object",
                          "properties": {
                            "context": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "description": "Recorded context window in tokens; input and requested output must fit within it."
                            },
                            "output": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "description": "Recorded maximum output tokens."
                            }
                          },
                          "description": "Known served token ceilings; omitted when neither is recorded. Missing does not mean unlimited."
                        },
                        "reasoning": {
                          "type": "boolean",
                          "description": "Whether the model takes thinking controls."
                        },
                        "web_research": {
                          "type": "boolean",
                          "description": "Whether chat can enable live web research with this model."
                        },
                        "temperature": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "min": {
                              "type": "number",
                              "minimum": 0
                            },
                            "max": {
                              "type": "number",
                              "minimum": 0
                            }
                          },
                          "required": [
                            "min",
                            "max"
                          ],
                          "description": "The temperature range a caller may set; null when the model fixes it."
                        }
                      },
                      "required": [
                        "reasoning",
                        "web_research",
                        "temperature"
                      ],
                      "description": "Recorded model capabilities. Optional facts stay absent while unverified."
                    },
                    "pricing_sources": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "direct_provider": {
                          "type": "string",
                          "format": "uri",
                          "description": "The model vendor's official pricing page."
                        },
                        "azure": {
                          "type": "string",
                          "format": "uri",
                          "description": "The official Azure-hosted pricing page; absent when the model has no Azure price list."
                        }
                      },
                      "required": [
                        "direct_provider"
                      ],
                      "description": "Official pricing source links for this model; null when none is recorded."
                    }
                  },
                  "required": [
                    "id",
                    "aliases",
                    "name",
                    "capabilities",
                    "pricing_sources"
                  ],
                  "description": "What the model is."
                },
                "model_provider": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Stable identifier."
                    },
                    "name": {
                      "type": "string",
                      "description": "Display name."
                    },
                    "icon_url": {
                      "type": "string",
                      "format": "uri",
                      "description": "URL of the model provider SVG icon, served without authentication."
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "icon_url"
                  ],
                  "description": "Who made the model."
                },
                "inference_provider": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Stable identifier."
                    },
                    "name": {
                      "type": "string",
                      "description": "Display name."
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "description": "Who runs the model."
                },
                "region": {
                  "type": "string",
                  "description": "Where inference runs. Known values: `eu`, `us`, `worldwide`, `unknown`. Tolerate values you have not seen."
                },
                "residency": {
                  "type": "object",
                  "properties": {
                    "tier": {
                      "type": "string",
                      "description": "Residency tier. Known values: `qualified-sovereign`, `eu-owned`, `eu-resident`, `standard`. Tolerate values you have not seen."
                    },
                    "jurisdiction": {
                      "type": "string",
                      "description": "Legal domicile (ISO 3166-1 alpha-2) of the company running the inference, or `unknown`. Not where inference is processed: read `region` and `processing_region` for that."
                    },
                    "processing_region": {
                      "type": "string",
                      "description": "The recorded processing region, e.g. `eu`, `europe-west1`, `global` or `unknown`; `region` is its normalised form."
                    },
                    "processing_label": {
                      "type": "string",
                      "description": "The processing location in words, for display. Branch on `region`."
                    },
                    "operator": {
                      "type": "string",
                      "description": "Legal entity operating the inference service, or `unknown`."
                    },
                    "quantization": {
                      "type": "string",
                      "description": "Weight precision served, e.g. `bf16`, `fp8` or `unknown`. Tolerate values you have not seen."
                    },
                    "precision_source": {
                      "type": "string",
                      "description": "How `quantization` is evidenced: `contractual`, `published`, `reported` or `unknown`."
                    },
                    "certifications": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Certifications evidenced for this deployment; empty when none."
                    },
                    "data_retention": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "days": {
                              "type": "integer",
                              "minimum": 0
                            }
                          },
                          "required": [
                            "days"
                          ]
                        }
                      ],
                      "description": "Prompt retention: `zero`, `metadata-only`, `unknown`, or `{ \"days\": N }`."
                    }
                  },
                  "required": [
                    "tier",
                    "jurisdiction",
                    "processing_region",
                    "processing_label",
                    "operator",
                    "quantization",
                    "precision_source",
                    "certifications",
                    "data_retention"
                  ],
                  "description": "Where and under whose terms this deployment processes data. `'unknown'` is a real value: the fact is not evidenced."
                },
                "pricing": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "provider_cost": {
                      "type": "object",
                      "properties": {
                        "input": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Input tokens, EUR per 1M."
                        },
                        "output": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Output tokens, EUR per 1M."
                        },
                        "cache_read": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                        },
                        "cache_write": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                        },
                        "cache_write_1h": {
                          "type": "number",
                          "minimum": 0,
                          "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                        },
                        "audio_input": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Audio input tokens, EUR per 1M."
                        },
                        "audio_output": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Audio output tokens, EUR per 1M."
                        },
                        "audio_cache_read": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cached audio input tokens, EUR per 1M."
                        },
                        "cache_writes_by_default": {
                          "type": "boolean",
                          "description": "Whether uncached prompt tokens may incur a cache-write charge by default."
                        },
                        "tiers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "input": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Input tokens, EUR per 1M."
                              },
                              "output": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Output tokens, EUR per 1M."
                              },
                              "cache_read": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                              },
                              "cache_write": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                              },
                              "cache_write_1h": {
                                "type": "number",
                                "minimum": 0,
                                "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                              },
                              "audio_input": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Audio input tokens, EUR per 1M."
                              },
                              "audio_output": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Audio output tokens, EUR per 1M."
                              },
                              "audio_cache_read": {
                                "type": "number",
                                "minimum": 0,
                                "description": "Cached audio input tokens, EUR per 1M."
                              },
                              "id": {
                                "type": "string",
                                "description": "Stable pricing-tier identifier."
                              },
                              "label": {
                                "type": "string",
                                "description": "Display label; not a machine-readable condition."
                              },
                              "applies_to": {
                                "type": "string",
                                "description": "Recorded condition in words; do not infer thresholds from this text."
                              },
                              "input_tokens_above": {
                                "type": "integer",
                                "minimum": 0,
                                "description": "The tier applies when normalized input tokens strictly exceed this threshold. Omitted when no numeric condition is recorded."
                              }
                            },
                            "required": [
                              "input",
                              "output",
                              "id",
                              "label",
                              "applies_to"
                            ]
                          },
                          "description": "Conditional provider tariffs, in declaration order. These are provider costs, not customer prices."
                        }
                      },
                      "required": [
                        "input",
                        "output"
                      ],
                      "description": "What the inference provider charges Veryfront."
                    },
                    "total_cost": {
                      "type": "object",
                      "properties": {
                        "input": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Input tokens, EUR per 1M."
                        },
                        "output": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Output tokens, EUR per 1M."
                        },
                        "cache_read": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                        },
                        "cache_write": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                        },
                        "cache_write_1h": {
                          "type": "number",
                          "minimum": 0,
                          "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                        },
                        "audio_input": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Audio input tokens, EUR per 1M."
                        },
                        "audio_output": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Audio output tokens, EUR per 1M."
                        },
                        "audio_cache_read": {
                          "type": "number",
                          "minimum": 0,
                          "description": "Cached audio input tokens, EUR per 1M."
                        }
                      },
                      "required": [
                        "input",
                        "output"
                      ],
                      "description": "What the customer pays."
                    }
                  },
                  "required": [
                    "provider_cost",
                    "total_cost"
                  ],
                  "description": "What this deployment costs, in EUR per 1M tokens; null unless both the customer price and the provider cost are recorded."
                },
                "routing": {
                  "type": "object",
                  "properties": {
                    "surface": {
                      "type": "string",
                      "enum": [
                        "openai",
                        "anthropic",
                        "google"
                      ],
                      "description": "Wire protocol to call the model on."
                    },
                    "operations": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Operations of `surface` the model is served on, e.g. `messages`."
                    },
                    "transport": {
                      "type": "string",
                      "description": "OpenAI wire API the model must use; absent when unconstrained."
                    },
                    "provider_tools": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Provider-executed tools this deployment allows."
                    },
                    "reasoning": {
                      "type": "object",
                      "properties": {
                        "mode": {
                          "type": "string",
                          "description": "Reasoning control, e.g. `budget` or `adaptive`. Tolerate values you have not seen."
                        },
                        "budget_tokens": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "description": "Thinking budget sent when the caller sets none."
                        }
                      },
                      "required": [
                        "mode"
                      ],
                      "description": "How to control reasoning; absent when the model has no controllable reasoning."
                    },
                    "chat_completions": {
                      "type": "object",
                      "properties": {
                        "reasoning_with_function_tools": {
                          "type": "boolean",
                          "description": "Whether reasoning and function tools work in one request. Missing means true."
                        },
                        "consecutive_system_messages": {
                          "type": "boolean",
                          "description": "Whether consecutive system messages are accepted. Missing means false."
                        }
                      },
                      "description": "Chat Completions constraints; absent when none is recorded."
                    }
                  },
                  "required": [
                    "surface",
                    "operations",
                    "provider_tools"
                  ],
                  "description": "How to call the model."
                },
                "is_default": {
                  "type": "boolean",
                  "description": "True on the first enabled deployment of the model a client preselects, and on no other. That model is Claude Sonnet 4.6 when the policy in force serves it, otherwise the managed-execution default (`is_managed_default`). No deployment is marked when nothing is served."
                },
                "is_managed_default": {
                  "type": "boolean",
                  "description": "True on the first enabled deployment of the model managed execution defaults to, and on no other: the served default the project or its account states, else the first EU-preferred model served, else the first served model. It can differ from the model `is_default` marks for a client to preselect. No deployment is marked when nothing is served."
                },
                "enabled": {
                  "type": "boolean",
                  "description": "Whether the policy in force allows this deployment."
                },
                "disabled_by": {
                  "type": "string",
                  "enum": [
                    "account",
                    "project",
                    "api_key"
                  ],
                  "description": "The level whose policy refuses this deployment. Present exactly when `enabled` is false."
                }
              },
              "required": [
                "model",
                "model_provider",
                "inference_provider",
                "region",
                "residency",
                "pricing",
                "routing",
                "is_default",
                "is_managed_default",
                "enabled"
              ],
              "description": "One place a model runs."
            },
            "description": "One entry per place a model runs, in routing order, including the ones the policy in force refuses. A model's first enabled deployment is the one requests route to."
          }
        },
        "required": [
          "deployments"
        ]
      }
    }
  }
}

400

Bad request

json
{
  "description": "Bad request",
  "content": {
    "application/problem+json": {
      "schema": {
        "$ref": "#/components/schemas/Problem"
      }
    }
  }
}

401

Unauthorized

json
{
  "description": "Unauthorized",
  "content": {
    "application/problem+json": {
      "schema": {
        "$ref": "#/components/schemas/Problem"
      }
    }
  }
}

403

Forbidden

json
{
  "description": "Forbidden",
  "content": {
    "application/problem+json": {
      "schema": {
        "$ref": "#/components/schemas/Problem"
      }
    }
  }
}

404

Not found

json
{
  "description": "Not found",
  "content": {
    "application/problem+json": {
      "schema": {
        "$ref": "#/components/schemas/Problem"
      }
    }
  }
}

503

This project's inference policy could not be read

json
{
  "description": "This project's inference policy could not be read",
  "content": {
    "application/problem+json": {
      "schema": {
        "$ref": "#/components/schemas/Problem"
      }
    }
  }
}

Referenced contracts

components/schemas/Problem

json
{
  "type": "object",
  "properties": {
    "cause": {
      "type": "string",
      "enum": [
        "schedule_concurrency_forbidden",
        "schedule_fire_in_progress",
        "schedule_run_limit_reached"
      ],
      "description": "Schedule admission refusal."
    },
    "idempotency": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "enum": [
            "in_progress",
            "payload_mismatch",
            "outcome_unknown"
          ]
        },
        "operation": {
          "type": "string",
          "minLength": 1
        },
        "retryable": {
          "type": "boolean"
        },
        "retry_after_seconds": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "recovery": {
          "type": "object",
          "properties": {
            "available": {
              "type": "boolean"
            },
            "description": {
              "type": "string"
            },
            "resource_url": {
              "type": "string"
            }
          },
          "required": [
            "available",
            "description"
          ]
        }
      },
      "required": [
        "state",
        "operation",
        "retryable",
        "retry_after_seconds",
        "expires_at"
      ],
      "description": "Replay status, retry timing, and recovery lookup."
    },
    "type": {
      "type": "string",
      "description": "URI reference identifying the problem type",
      "example": "https://api.veryfront.com/errors/validation-failed"
    },
    "title": {
      "type": "string",
      "description": "Short human-readable summary of the problem",
      "example": "Validation Failed"
    },
    "status": {
      "type": "integer",
      "minimum": 100,
      "maximum": 599,
      "description": "HTTP status code",
      "example": 400
    },
    "code": {
      "type": "string",
      "description": "Stable machine-readable error code",
      "example": "RUN_INVALID_INPUT"
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation specific to this occurrence",
      "example": "The 'email' field must be a valid email address"
    },
    "instance": {
      "type": "string",
      "description": "URI reference identifying the specific occurrence",
      "example": "/projects/my-project/members"
    },
    "slug": {
      "type": "string",
      "description": "Stable identifier for the problem type",
      "example": "validation-failed"
    },
    "category": {
      "type": "string",
      "enum": [
        "AUTH",
        "RESOURCE",
        "VALIDATION",
        "DATABASE",
        "SUBSCRIPTION",
        "INTEGRATION",
        "INTERNAL"
      ],
      "description": "API error category",
      "example": "VALIDATION"
    },
    "suggestion": {
      "type": "string",
      "description": "Suggested action to resolve the problem",
      "example": "Check the request body and query parameters against the API documentation."
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Field path that caused the error",
            "example": "email"
          },
          "message": {
            "type": "string",
            "description": "Error message for this field",
            "example": "Invalid email format"
          },
          "code": {
            "type": "string",
            "description": "Error code for this field",
            "example": "INVALID_FORMAT"
          }
        },
        "required": [
          "field",
          "message"
        ]
      },
      "description": "Detailed field-level errors for validation failures"
    }
  },
  "required": [
    "type",
    "title",
    "status"
  ]
}

Operation contract

json
{
  "operationId": "listModels",
  "tags": [
    "ai-gateway/Models/Model discovery"
  ],
  "summary": "List models",
  "description": "List model deployments, routing details and access status for the supplied credentials and account or project context.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255,
        "description": "Canonical project selector: a UUID or slug for model access, inference and billing context. A signed project scope takes precedence. Otherwise, send only one project selector header."
      },
      "required": false,
      "name": "x-veryfront-project-reference",
      "in": "header"
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255,
        "description": "Compatibility selector accepting a project UUID. Prefer x-veryfront-project-reference."
      },
      "required": false,
      "name": "x-veryfront-project-id",
      "in": "header"
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255,
        "description": "Compatibility selector accepting a project slug. Prefer x-veryfront-project-reference."
      },
      "required": false,
      "name": "x-veryfront-project-slug",
      "in": "header"
    },
    {
      "schema": {
        "type": "string",
        "format": "uuid",
        "description": "An account the caller can read (account.read). Lists every model with enabled and disabled_by under that account's model policy alone. Not combined with a project selector."
      },
      "required": false,
      "name": "x-veryfront-account-id",
      "in": "header"
    }
  ],
  "responses": {
    "200": {
      "description": "Available AI model deployments. A project-scoped credential, or a selector header naming a project the caller can see, narrows the list to what that project's inference policy permits.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "deployments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "funding": {
                      "type": "string",
                      "enum": [
                        "managed",
                        "customer"
                      ],
                      "description": "Account funding for this route. Omitted means Veryfront-managed. Customer funding uses the account provider key and zero Veryfront model credits."
                    },
                    "model": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Unified model ID, e.g. `anthropic/claude-opus-4-8`."
                        },
                        "aliases": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Other IDs that select this model. The first is the short ID."
                        },
                        "name": {
                          "type": "string",
                          "description": "Display name."
                        },
                        "description": {
                          "type": "string",
                          "description": "Catalog description of the model."
                        },
                        "capabilities": {
                          "type": "object",
                          "properties": {
                            "streaming": {
                              "type": "boolean",
                              "description": "Whether streaming is supported."
                            },
                            "tools": {
                              "type": "boolean",
                              "description": "Whether tool calls are supported."
                            },
                            "vision": {
                              "type": "boolean",
                              "description": "Whether image inputs are supported."
                            },
                            "open_weights": {
                              "type": "boolean",
                              "description": "Whether model weights are publicly released."
                            },
                            "attachment": {
                              "type": "boolean",
                              "description": "Whether file input is supported. Omitted while unverified."
                            },
                            "structured_output": {
                              "type": "boolean",
                              "description": "Whether schema-constrained output is supported. Omitted while unverified."
                            },
                            "supported_parameters": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "Verified supported request parameters. Unknown names remain valid strings."
                            },
                            "modalities": {
                              "type": "object",
                              "properties": {
                                "input": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "input"
                              ],
                              "description": "Recorded input modalities. Output modalities are omitted while unverified."
                            },
                            "limit": {
                              "type": "object",
                              "properties": {
                                "context": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "description": "Recorded context window in tokens; input and requested output must fit within it."
                                },
                                "output": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "description": "Recorded maximum output tokens."
                                }
                              },
                              "description": "Known served token ceilings; omitted when neither is recorded. Missing does not mean unlimited."
                            },
                            "reasoning": {
                              "type": "boolean",
                              "description": "Whether the model takes thinking controls."
                            },
                            "web_research": {
                              "type": "boolean",
                              "description": "Whether chat can enable live web research with this model."
                            },
                            "temperature": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "min": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "max": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "min",
                                "max"
                              ],
                              "description": "The temperature range a caller may set; null when the model fixes it."
                            }
                          },
                          "required": [
                            "reasoning",
                            "web_research",
                            "temperature"
                          ],
                          "description": "Recorded model capabilities. Optional facts stay absent while unverified."
                        },
                        "pricing_sources": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "direct_provider": {
                              "type": "string",
                              "format": "uri",
                              "description": "The model vendor's official pricing page."
                            },
                            "azure": {
                              "type": "string",
                              "format": "uri",
                              "description": "The official Azure-hosted pricing page; absent when the model has no Azure price list."
                            }
                          },
                          "required": [
                            "direct_provider"
                          ],
                          "description": "Official pricing source links for this model; null when none is recorded."
                        }
                      },
                      "required": [
                        "id",
                        "aliases",
                        "name",
                        "capabilities",
                        "pricing_sources"
                      ],
                      "description": "What the model is."
                    },
                    "model_provider": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Stable identifier."
                        },
                        "name": {
                          "type": "string",
                          "description": "Display name."
                        },
                        "icon_url": {
                          "type": "string",
                          "format": "uri",
                          "description": "URL of the model provider SVG icon, served without authentication."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "icon_url"
                      ],
                      "description": "Who made the model."
                    },
                    "inference_provider": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Stable identifier."
                        },
                        "name": {
                          "type": "string",
                          "description": "Display name."
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "description": "Who runs the model."
                    },
                    "region": {
                      "type": "string",
                      "description": "Where inference runs. Known values: `eu`, `us`, `worldwide`, `unknown`. Tolerate values you have not seen."
                    },
                    "residency": {
                      "type": "object",
                      "properties": {
                        "tier": {
                          "type": "string",
                          "description": "Residency tier. Known values: `qualified-sovereign`, `eu-owned`, `eu-resident`, `standard`. Tolerate values you have not seen."
                        },
                        "jurisdiction": {
                          "type": "string",
                          "description": "Legal domicile (ISO 3166-1 alpha-2) of the company running the inference, or `unknown`. Not where inference is processed: read `region` and `processing_region` for that."
                        },
                        "processing_region": {
                          "type": "string",
                          "description": "The recorded processing region, e.g. `eu`, `europe-west1`, `global` or `unknown`; `region` is its normalised form."
                        },
                        "processing_label": {
                          "type": "string",
                          "description": "The processing location in words, for display. Branch on `region`."
                        },
                        "operator": {
                          "type": "string",
                          "description": "Legal entity operating the inference service, or `unknown`."
                        },
                        "quantization": {
                          "type": "string",
                          "description": "Weight precision served, e.g. `bf16`, `fp8` or `unknown`. Tolerate values you have not seen."
                        },
                        "precision_source": {
                          "type": "string",
                          "description": "How `quantization` is evidenced: `contractual`, `published`, `reported` or `unknown`."
                        },
                        "certifications": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Certifications evidenced for this deployment; empty when none."
                        },
                        "data_retention": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "days": {
                                  "type": "integer",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "days"
                              ]
                            }
                          ],
                          "description": "Prompt retention: `zero`, `metadata-only`, `unknown`, or `{ \"days\": N }`."
                        }
                      },
                      "required": [
                        "tier",
                        "jurisdiction",
                        "processing_region",
                        "processing_label",
                        "operator",
                        "quantization",
                        "precision_source",
                        "certifications",
                        "data_retention"
                      ],
                      "description": "Where and under whose terms this deployment processes data. `'unknown'` is a real value: the fact is not evidenced."
                    },
                    "pricing": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "provider_cost": {
                          "type": "object",
                          "properties": {
                            "input": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Input tokens, EUR per 1M."
                            },
                            "output": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Output tokens, EUR per 1M."
                            },
                            "cache_read": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                            },
                            "cache_write": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                            },
                            "cache_write_1h": {
                              "type": "number",
                              "minimum": 0,
                              "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                            },
                            "audio_input": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Audio input tokens, EUR per 1M."
                            },
                            "audio_output": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Audio output tokens, EUR per 1M."
                            },
                            "audio_cache_read": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cached audio input tokens, EUR per 1M."
                            },
                            "cache_writes_by_default": {
                              "type": "boolean",
                              "description": "Whether uncached prompt tokens may incur a cache-write charge by default."
                            },
                            "tiers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "input": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Input tokens, EUR per 1M."
                                  },
                                  "output": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Output tokens, EUR per 1M."
                                  },
                                  "cache_read": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                                  },
                                  "cache_write": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                                  },
                                  "cache_write_1h": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                                  },
                                  "audio_input": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Audio input tokens, EUR per 1M."
                                  },
                                  "audio_output": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Audio output tokens, EUR per 1M."
                                  },
                                  "audio_cache_read": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Cached audio input tokens, EUR per 1M."
                                  },
                                  "id": {
                                    "type": "string",
                                    "description": "Stable pricing-tier identifier."
                                  },
                                  "label": {
                                    "type": "string",
                                    "description": "Display label; not a machine-readable condition."
                                  },
                                  "applies_to": {
                                    "type": "string",
                                    "description": "Recorded condition in words; do not infer thresholds from this text."
                                  },
                                  "input_tokens_above": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "The tier applies when normalized input tokens strictly exceed this threshold. Omitted when no numeric condition is recorded."
                                  }
                                },
                                "required": [
                                  "input",
                                  "output",
                                  "id",
                                  "label",
                                  "applies_to"
                                ]
                              },
                              "description": "Conditional provider tariffs, in declaration order. These are provider costs, not customer prices."
                            }
                          },
                          "required": [
                            "input",
                            "output"
                          ],
                          "description": "What the inference provider charges Veryfront."
                        },
                        "total_cost": {
                          "type": "object",
                          "properties": {
                            "input": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Input tokens, EUR per 1M."
                            },
                            "output": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Output tokens, EUR per 1M."
                            },
                            "cache_read": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cache-read input tokens, EUR per 1M. Absent when not billed separately."
                            },
                            "cache_write": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cache-write input tokens, EUR per 1M. Absent when not billed separately."
                            },
                            "cache_write_1h": {
                              "type": "number",
                              "minimum": 0,
                              "description": "One-hour cache-write input tokens, EUR per 1M. Omitted when no separate rate is recorded."
                            },
                            "audio_input": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Audio input tokens, EUR per 1M."
                            },
                            "audio_output": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Audio output tokens, EUR per 1M."
                            },
                            "audio_cache_read": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Cached audio input tokens, EUR per 1M."
                            }
                          },
                          "required": [
                            "input",
                            "output"
                          ],
                          "description": "What the customer pays."
                        }
                      },
                      "required": [
                        "provider_cost",
                        "total_cost"
                      ],
                      "description": "What this deployment costs, in EUR per 1M tokens; null unless both the customer price and the provider cost are recorded."
                    },
                    "routing": {
                      "type": "object",
                      "properties": {
                        "surface": {
                          "type": "string",
                          "enum": [
                            "openai",
                            "anthropic",
                            "google"
                          ],
                          "description": "Wire protocol to call the model on."
                        },
                        "operations": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Operations of `surface` the model is served on, e.g. `messages`."
                        },
                        "transport": {
                          "type": "string",
                          "description": "OpenAI wire API the model must use; absent when unconstrained."
                        },
                        "provider_tools": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Provider-executed tools this deployment allows."
                        },
                        "reasoning": {
                          "type": "object",
                          "properties": {
                            "mode": {
                              "type": "string",
                              "description": "Reasoning control, e.g. `budget` or `adaptive`. Tolerate values you have not seen."
                            },
                            "budget_tokens": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "description": "Thinking budget sent when the caller sets none."
                            }
                          },
                          "required": [
                            "mode"
                          ],
                          "description": "How to control reasoning; absent when the model has no controllable reasoning."
                        },
                        "chat_completions": {
                          "type": "object",
                          "properties": {
                            "reasoning_with_function_tools": {
                              "type": "boolean",
                              "description": "Whether reasoning and function tools work in one request. Missing means true."
                            },
                            "consecutive_system_messages": {
                              "type": "boolean",
                              "description": "Whether consecutive system messages are accepted. Missing means false."
                            }
                          },
                          "description": "Chat Completions constraints; absent when none is recorded."
                        }
                      },
                      "required": [
                        "surface",
                        "operations",
                        "provider_tools"
                      ],
                      "description": "How to call the model."
                    },
                    "is_default": {
                      "type": "boolean",
                      "description": "True on the first enabled deployment of the model a client preselects, and on no other. That model is Claude Sonnet 4.6 when the policy in force serves it, otherwise the managed-execution default (`is_managed_default`). No deployment is marked when nothing is served."
                    },
                    "is_managed_default": {
                      "type": "boolean",
                      "description": "True on the first enabled deployment of the model managed execution defaults to, and on no other: the served default the project or its account states, else the first EU-preferred model served, else the first served model. It can differ from the model `is_default` marks for a client to preselect. No deployment is marked when nothing is served."
                    },
                    "enabled": {
                      "type": "boolean",
                      "description": "Whether the policy in force allows this deployment."
                    },
                    "disabled_by": {
                      "type": "string",
                      "enum": [
                        "account",
                        "project",
                        "api_key"
                      ],
                      "description": "The level whose policy refuses this deployment. Present exactly when `enabled` is false."
                    }
                  },
                  "required": [
                    "model",
                    "model_provider",
                    "inference_provider",
                    "region",
                    "residency",
                    "pricing",
                    "routing",
                    "is_default",
                    "is_managed_default",
                    "enabled"
                  ],
                  "description": "One place a model runs."
                },
                "description": "One entry per place a model runs, in routing order, including the ones the policy in force refuses. A model's first enabled deployment is the one requests route to."
              }
            },
            "required": [
              "deployments"
            ]
          }
        }
      }
    },
    "400": {
      "description": "Bad request",
      "content": {
        "application/problem+json": {
          "schema": {
            "$ref": "#/components/schemas/Problem"
          }
        }
      }
    },
    "401": {
      "description": "Unauthorized",
      "content": {
        "application/problem+json": {
          "schema": {
            "$ref": "#/components/schemas/Problem"
          }
        }
      }
    },
    "403": {
      "description": "Forbidden",
      "content": {
        "application/problem+json": {
          "schema": {
            "$ref": "#/components/schemas/Problem"
          }
        }
      }
    },
    "404": {
      "description": "Not found",
      "content": {
        "application/problem+json": {
          "schema": {
            "$ref": "#/components/schemas/Problem"
          }
        }
      }
    },
    "503": {
      "description": "This project's inference policy could not be read",
      "content": {
        "application/problem+json": {
          "schema": {
            "$ref": "#/components/schemas/Problem"
          }
        }
      }
    }
  },
  "x-documentation-source-tag": "Model discovery",
  "x-canonical-documentation": {
    "domain": "ai-gateway",
    "resource": "Models",
    "subgroup": "Model discovery",
    "name": "List models",
    "description": "List model deployments, routing details and access status for the supplied credentials and account or project context.",
    "operationId": "listModels"
  },
  "x-mint": {
    "href": "/cloud/rest/api-reference/ai-gateway-models-model-discovery/list-models"
  }
}