> ## 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

# Get ai gateway model

> To read details, pricing and usage guidance for a specific AI Gateway model.

## Request contract

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

[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.get-ai-gateway-model",
  "method": "POST",
  "path": "/apis/v1/vercel-com/developer-documentation/get-ai-gateway-model",
  "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": {
              "max_chars": 800,
              "model": "openai/gpt-4o"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "model": {}
                  },
                  "required": [
                    "model"
                  ]
                },
                {
                  "properties": {
                    "url": {}
                  },
                  "required": [
                    "url"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "max_chars": {
              "description": "Cut `content` to this many characters.\n\nProvider reference: minimum 200; maximum 3000000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 3000000,
                "min": 200
              }
            },
            "model": {
              "description": "Model id like `openai/gpt-4o`, or the page slug like `gpt-4o`.",
              "type": "string"
            },
            "url": {
              "description": "Alternatively a page URL like https://vercel.com/ai-gateway/models/gpt-4o. Pattern: ^https?://.",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/get-ai-gateway-model
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/get-ai-gateway-model:
    post:
      tags:
        - Vercel
      summary: Get ai gateway model
      description: >-
        To read details, pricing and usage guidance for a specific AI Gateway
        model.
      operationId: vercel-com.developer-documentation.get-ai-gateway-model
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  max_chars: 800
                  model: openai/gpt-4o
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        model: {}
                      required:
                        - model
                    - properties:
                        url: {}
                      required:
                        - url
              properties:
                max_chars:
                  description: |-
                    Cut `content` to this many characters.

                    Provider reference: minimum 200; maximum 3000000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 3000000
                    min: 200
                model:
                  description: >-
                    Model id like `openai/gpt-4o`, or the page slug like
                    `gpt-4o`.
                  type: string
                url:
                  description: >-
                    Alternatively a page URL like
                    https://vercel.com/ai-gateway/models/gpt-4o. Pattern:
                    ^https?://.
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-22.
                  summary: Official provider example
                  value:
                    chars: 6066
                    content: >-
                      # GPT-4o


                      The "omni" model that unified text, audio, and vision in a
                      single natively multimodal architecture, with audio
                      response speeds averaging 320ms, a 16x improvement over
                      prior voice pipeline approaches.


                      - **Model ID:** `openai/gpt-4o`

                      - **Type:** chat

                      - **Providers:** azure, openai

                      - **Context window:** 128,000

                      - **Maximum output tokens:** 16,384

                      - **Pricing:** $2.5/1M input tokens, $10.0/1M output
                      tokens

                      - **Canonical page:**
                      https://vercel.com/ai-gateway/models/gpt-4o


                      ## Supported parameters


                      Detailed capability metadata has not been reported for
                      this model.


                      ## Example


                      ```ts

                      import { streamText } from 'ai'


                      const result = streamText({
                        model: 'openai/gpt-4o',
                        prompt: 'Why is the sky blue?'
                      })

                      ```


                      ## About


                      GPT-4o was announced on May 13, 2024 at OpenAI's Spring
                      Updates eve
                    context_window: 128000
                    creator: openai
                    description: >-
                      The "omni" model that unified text, audio, and vision in a
                      single natively multimodal architecture, with audio
                      response speeds averaging 320ms, a 16x improvement over
                      prior voice pipeline approaches.
                    id: openai/gpt-4o
                    input_price_per_million: 2.5
                    markdown_url: https://vercel.com/ai-gateway/models/gpt-4o.md
                    max_output_tokens: 16384
                    name: GPT-4o
                    observed_at_ms: 1792700000000
                    outline:
                      - anchor: supported-parameters
                        level: 2
                        text: Supported parameters
                      - anchor: example
                        level: 2
                        text: Example
                      - anchor: about
                        level: 2
                        text: About
                      - anchor: what-to-consider
                        level: 2
                        text: What to consider
                      - anchor: when-to-use
                        level: 2
                        text: When to use
                      - anchor: best-for
                        level: 3
                        text: Best For
                      - anchor: consider-alternatives-when
                        level: 3
                        text: Consider Alternatives When
                      - anchor: best-for
                        level: 2
                        text: Best for
                      - anchor: consider-alternatives
                        level: 2
                        text: Consider alternatives
                      - anchor: frequently-asked-questions
                        level: 2
                        text: Frequently asked questions
                      - anchor: what-does-omni-mean-in-gpt-4os-name
                        level: 3
                        text: What does "omni" mean in GPT-4o's name?
                      - anchor: >-
                          how-much-faster-is-gpt-4os-audio-response-compared-to-earlier-voice-pipelines
                        level: 3
                        text: >-
                          How much faster is GPT-4o's audio response compared to
                          earlier voice pipelines?
                      - anchor: how-does-gpt-4os-api-pricing-compare-to-gpt-4-turbo
                        level: 3
                        text: How does GPT-4o's API pricing compare to GPT-4 Turbo?
                      - anchor: what-input-and-output-modalities-does-gpt-4o-support
                        level: 3
                        text: What input and output modalities does GPT-4o support?
                      - anchor: >-
                          is-the-gpt-4o-model-alias-the-same-as-a-specific-dated-snapshot
                        level: 3
                        text: >-
                          Is the "gpt-4o" model alias the same as a specific
                          dated snapshot?
                      - anchor: does-routing-gpt-4o-through-ai-gateway-add-latency
                        level: 3
                        text: Does routing GPT-4o through AI Gateway add latency?
                      - anchor: what-are-typical-latency-characteristics
                        level: 3
                        text: What are typical latency characteristics?
                      - anchor: links
                        level: 2
                        text: Links
                    output_price_per_million: 10
                    pricing_text: $2.5/1M input tokens, $10.0/1M output tokens
                    providers:
                      - azure
                      - openai
                    truncated: true
                    type: chat
                    url: https://vercel.com/ai-gateway/models/gpt-4o
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One AI Gateway model page (GET /ai-gateway/models/{slug}.md): id,
            name, type, serving providers, context window, maximum output
            tokens, input and output prices per million tokens, description,
            outline and the page Markdown (supported parameters, example,
            guidance). Accepts a model id (`openai/gpt-4o`), a bare slug or a
            model page URL. A full id must match the page's Model ID; unknown
            models are `not_found`.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `chars` | number |  |

            | `content` | string |  |

            | `context_window` | number | Tokens; null when not applicable. |

            | `creator` | string |  |

            | `description` | string |  |

            | `id` | string |  |

            | `input_price_per_million` | number |  |

            | `markdown_url` | string |  |

            | `max_output_tokens` | number | Tokens; null when 0 or not
            applicable. |

            | `name` | string | Page title. |

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

            | `outline` | object[] |  |

            | `output_price_per_million` | number | Null for input-only models
            such as embeddings. |

            | `pricing_text` | string | Pricing line as published. |

            | `providers` | string[] |  |

            | `truncated` | boolean |  |

            | `type` | string |  |

            | `url` | 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.