FastGPTFastGPT

List Public System Models

Fetch active public system models and pricing metadata for pricing tables or public catalogs without requiring authentication.

Endpoint Overview

  • Method : GET
  • Path : /api/core/ai/model/list
  • Module : Core Features / Models
  • Authentication : No authentication required (public endpoint) (see API Getting Started )
  • Interactive Try-It-Out : Open in Scalar API Explorer (self-hosted instances: replace the origin with <instance>/apidoc/systemopenapi#tag/%E6%A8%A1%E5%9E%8B%E7%AE%A1%E7%90%86/GET/core/ai/model/list )

Description & Notes

Return minimal active system model and pricing metadata for public pricing pages without authentication.

Request Parameters

This endpoint does not require request parameters or a request body.

Request Examples

Replace YOUR_API_KEY and placeholder IDs before running. Self-hosted users should replace the base URL with <instance>/api .

cURL Example

curl --fail-with-body -X GET "https://cloud.fastgpt.io/api/core/ai/model/list"

Response Schema & Examples

Successful /api/* calls return the standard FastGPT envelope { "code": 200, "statusText": "", "message": "", "data": ... } , where data matches the 200 schema below (when a payload schema is declared; otherwise refer to the status description for runtime data semantics).

HTTP 200

Successfully returned public system model list

Content-Type : application/json

FieldTypeRequiredDefaultConstraints & Description
modelsobject[]Yes--
providersobject[]Yes--
providers[].providerstringYes-Model provider identifier
providers[].valueobjectYes--
providers[].value.enstringYes--
providers[].value.zh-CNstringYes--
providers[].value.zh-HantstringYes--
providers[].avatarstringYes-Model provider icon URL

Polymorphic Field: models

  • Variant 1 ( type="llm" ): type , pricing , config , name , provider , testMode
  • Variant 2 ( type="embedding" ): type , pricing , config , name , provider , testMode
  • Variant 3 ( type="rerank" ): type , pricing , config , name , provider , testMode
  • Variant 4 ( type="tts" ): type , pricing , name , provider , testMode
  • Variant 5 ( type="stt" ): type , pricing , name , provider , testMode
Edit on GitHub

Last updated

On this page

Put your business knowledge to work with AI

Import company documents and build accurate, reliable, traceable AI answers.