Skip to main content
POST
List ai gateway models

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 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
capability
string

Capability tag, e.g. vision, reasoning, tool-use, open-weights.

limit
number

Results per call, 1 to 500. Defaults to 25.

Provider reference: minimum 1; maximum 500.

offset
number

Skip this many matches; pass the previous next_offset (also the continuation).

Provider reference: minimum 0; maximum 100000.

provider
string

Creator or serving provider, e.g. openai, anthropic, bedrock (case-insensitive).

q
string

Words that must all appear in the id, tags or description, e.g. claude or embedding.

type
string

Model type as listed in types, e.g. chat, embedding, image.

Response

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.

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