> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# List ai gateway models

> To compare AI Gateway models and prices, or find which models a provider serves; read one model's page with `get_ai_gateway_model`.

## Request contract

* **Method and path:** POST /apis/v1/vercel-com/developer-documentation/list-ai-gateway-models
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/vercel-com/developer-documentation/list-ai-gateway-models`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/vercel-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "vercel-com.developer-documentation.list-ai-gateway-models",
  "method": "POST",
  "path": "/apis/v1/vercel-com/developer-documentation/list-ai-gateway-models",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "limit": 5,
              "provider": "openai",
              "type": "chat"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "capability": {
              "description": "Capability tag, e.g. `vision`, `reasoning`, `tool-use`, `open-weights`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "description": "Results per call, 1 to 500. Defaults to 25.\n\nProvider reference: minimum 1; maximum 500.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 500,
                "min": 1
              }
            },
            "offset": {
              "description": "Skip this many matches; pass the previous `next_offset` (also the continuation).\n\nProvider reference: minimum 0; maximum 100000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100000,
                "min": 0
              }
            },
            "provider": {
              "description": "Creator or serving provider, e.g. `openai`, `anthropic`, `bedrock` (case-insensitive).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "q": {
              "description": "Words that must all appear in the id, tags or description, e.g. `claude` or `embedding`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "type": {
              "description": "Model type as listed in `types`, e.g. `chat`, `embedding`, `image`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/vercel-com.json POST /apis/v1/vercel-com/developer-documentation/list-ai-gateway-models
openapi: 3.1.0
info:
  description: ''
  title: Vercel
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    vercel-com:
      description: ''
      title: Vercel
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: e486d967952f10669a807bbfe5614b12d04eaf71a5aabbc8f1f0205093201a8d
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/vercel-com/developer-documentation/changelog
    - /apis/v1/vercel-com/developer-documentation/get-ai-gateway-model
    - /apis/v1/vercel-com/developer-documentation/get-page
    - /apis/v1/vercel-com/developer-documentation/get-pricing
    - /apis/v1/vercel-com/developer-documentation/list-ai-gateway-models
    - /apis/v1/vercel-com/developer-documentation/list-blog-posts
    - /apis/v1/vercel-com/developer-documentation/list-marketplace-integrations
    - /apis/v1/vercel-com/developer-documentation/list-rest-api-endpoints
    - /apis/v1/vercel-com/developer-documentation/list-templates
    - /apis/v1/vercel-com/developer-documentation/search-docs
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:f94d2a5cae7adfbc0db337feee7453c16ad14f197dbeb4d7e9f29f5127c1c331
    facts_hash: e486d967952f10669a807bbfe5614b12d04eaf71a5aabbc8f1f0205093201a8d
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: vercel-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/vercel-com/developer-documentation/list-ai-gateway-models:
    post:
      tags:
        - Vercel
      summary: List ai gateway models
      description: >-
        To compare AI Gateway models and prices, or find which models a provider
        serves; read one model's page with `get_ai_gateway_model`.
      operationId: vercel-com.developer-documentation.list-ai-gateway-models
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  limit: 5
                  provider: openai
                  type: chat
            schema:
              additionalProperties: true
              properties:
                capability:
                  description: >-
                    Capability tag, e.g. `vision`, `reasoning`, `tool-use`,
                    `open-weights`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  description: |-
                    Results per call, 1 to 500. Defaults to 25.

                    Provider reference: minimum 1; maximum 500.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 500
                    min: 1
                offset:
                  description: >-
                    Skip this many matches; pass the previous `next_offset`
                    (also the continuation).


                    Provider reference: minimum 0; maximum 100000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100000
                    min: 0
                provider:
                  description: >-
                    Creator or serving provider, e.g. `openai`, `anthropic`,
                    `bedrock` (case-insensitive).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                q:
                  description: >-
                    Words that must all appear in the id, tags or description,
                    e.g. `claude` or `embedding`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                type:
                  description: >-
                    Model type as listed in `types`, e.g. `chat`, `embedding`,
                    `image`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-22.
                  summary: Official provider example
                  value:
                    count: 5
                    listed_count: 416
                    models:
                      - cached_input_price_per_million: 0.13
                        capabilities:
                          - file-input
                          - implicit-caching
                          - reasoning
                          - tool-use
                          - vision
                          - web-search
                          - structured-output
                        context_text: 400K
                        context_window: 400000
                        creator: openai
                        description: GPT‑5.1-Codex-Max is purpose-built for agentic coding.
                        id: openai/gpt-5.1-codex-max
                        input_price_per_million: 1.25
                        max_output_tokens: 128000
                        output_price_per_million: 10
                        providers:
                          - azure
                        rank: 1
                        type: chat
                        url: https://vercel.com/ai-gateway/models/gpt-5.1-codex-max
                        zero_data_retention: true
                      - cached_input_price_per_million: 0.03
                        capabilities:
                          - file-input
                          - implicit-caching
                          - reasoning
                          - tool-use
                          - vision
                          - web-search
                          - structured-output
                        context_text: 400K
                        context_window: 400000
                        creator: openai
                        description: >-
                          GPT-5.1 Codex mini is a smaller, faster, and cheaper
                          version of GPT-5.1 Codex.
                        id: openai/gpt-5.1-codex-mini
                        input_price_per_million: 0.25
                        max_output_tokens: 128000
                        output_price_per_million: 2
                        providers:
                          - azure
                        rank: 2
                        type: chat
                        url: >-
                          https://vercel.com/ai-gateway/models/gpt-5.1-codex-mini
                        zero_data_retention: true
                      - cached_input_price_per_million: 0.13
                        capabilities:
                          - tool-use
                          - implicit-caching
                          - file-input
                          - reasoning
                          - vision
                          - web-search
                          - fast
                          - structured-output
                        context_text: 400K
                        context_window: 400000
                        creator: openai
                        description: >-
                          An upgraded version of GPT-5 that adapts thinking time
                          more precisely to the question to spend more time on
                          complex questions and respond more quickly to simpler
                          tasks.
                        id: openai/gpt-5.1-thinking
                        input_price_per_million: 1.25
                        max_output_tokens: 128000
                        output_price_per_million: 10
                        providers:
                          - openai
                          - azure
                        rank: 3
                        type: chat
                        url: https://vercel.com/ai-gateway/models/gpt-5.1-thinking
                        zero_data_retention: true
                      - cached_input_price_per_million: 0.17
                        capabilities:
                          - file-input
                          - implicit-caching
                          - reasoning
                          - tool-use
                          - vision
                          - web-search
                          - structured-output
                          - websockets
                        context_text: 400K
                        context_window: 400000
                        creator: openai
                        description: >-
                          GPT-5.2 is OpenAI's best general-purpose model, part
                          of the GPT-5 flagship model family. It's their most
                          intelligent model yet for both general and agentic
                          tasks.
                        id: openai/gpt-5.2
                        input_price_per_million: 1.75
                        max_output_tokens: 128000
                        output_price_per_million: 14
                        providers:
                          - azure
                          - openai
                        rank: 4
                        type: chat
                        url: https://vercel.com/ai-gateway/models/gpt-5.2
                        zero_data_retention: true
                      - cached_input_price_per_million: null
                        capabilities:
                          - tool-use
                          - vision
                          - reasoning
                          - file-input
                          - web-search
                          - structured-output
                        context_text: 400K
                        context_window: 400000
                        creator: openai
                        description: >-
                          Version of GPT-5.2 that produces smarter and more
                          precise responses.
                        id: openai/gpt-5.2-pro
                        input_price_per_million: 21
                        max_output_tokens: 128000
                        output_price_per_million: 168
                        providers:
                          - openai
                        rank: 5
                        type: chat
                        url: https://vercel.com/ai-gateway/models/gpt-5.2-pro
                        zero_data_retention: true
                    next_offset: 5
                    observed_at_ms: 1792700000000
                    query:
                      capability: null
                      limit: 5
                      offset: 0
                      provider: openai
                      q: null
                      type: chat
                    source_url: https://vercel.com/ai-gateway/models.md
                    total_count: 42
                    types:
                      - chat
                      - embedding
                      - video
                      - evaluation
                      - image
                      - reranking
                      - speech
                      - transcription
                      - realtime
                      - tool
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Every model in the Vercel AI Gateway catalog (GET
            /ai-gateway/models.md, about 400 models) with id, creator, type,
            context window, input, output and cached-input prices per million
            tokens, serving providers, capability tags, zero data retention,
            description and detail URL. `provider` matches the creator or any
            serving provider; `type`, `capability` and `q` narrow it. Paginates
            with `offset`.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `count` | number |  |

            | `listed_count` | number |  |

            | `models` | object[] |  |

            | `next_offset` | number |  |

            | `observed_at_ms` | number | Observation time, Unix milliseconds. |

            | `query` | object |  |

            | `source_url` | string |  |

            | `total_count` | number |  |

            | `types` | string[] |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.