Skip to main content
POST
Get 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 Effective request declaration (including authentication and referenced schemas):

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

Model id like openai/gpt-4o, or the page slug like gpt-4o.

max_chars
number

Cut content to this many characters.

Provider reference: minimum 200; maximum 3000000.

url
string

Alternatively a page URL like https://vercel.com/ai-gateway/models/gpt-4o. Pattern: ^https?://.

Response

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.