Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt

Use this file to discover all available pages before exploring further.

The /v1/models endpoint is an OpenAI-compatible interface that returns every model your API key can access. SDKs and clients use this endpoint to auto-discover available models and their supported API formats.

Quick example

curl https://www.anyfast.ai/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

Request

HeaderRequiredDescription
Authorization: Bearer <api-key>YesAuthenticate with your API key
Content-Type: application/jsonNoOptional
No request body (GET).

Response

{
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1626777600,
      "owned_by": "openai",
      "supported_endpoint_types": ["openai"]
    },
    {
      "id": "claude-sonnet-4-5-20250929",
      "object": "model",
      "created": 1626777600,
      "owned_by": "vertex-ai",
      "supported_endpoint_types": ["openai", "anthropic"]
    }
  ]
}

Response fields

FieldDescription
idModel identifier. Use this value for the model parameter in relay requests.
objectAlways "model".
createdFixed timestamp (no functional meaning).
owned_byProvider: openai, vertex-ai, custom, xai, volcengine, codex, aws, coze, ali, minimax, etc.
supported_endpoint_typesAPI formats this model supports: openai, anthropic, openai-response, gemini, image-generation, video, mj-*, etc.

Notes

  • Different API keys may see different model lists depending on provider configuration and pricing coverage.
  • Omitting the API key returns 401 {"error":{"message":"No token provided"}}.