AI Model APIModelsList models
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.
Native OpenAI Format
Get a list of currently available models.
Automatically identify the return format based on the request headers:
- Returns Anthropic format when
x-api-keyandanthropic-versionheaders are present - Returns Gemini format when
x-goog-api-keyheader orkeyquery parameter is present - Returns OpenAI format in other cases
AuthorizationBearer <token>
Authenticate with a Bearer token.
Format: Authorization: Bearer sk-xxxxxx
In: header
Query Parameters
key?string
Google API key (for Gemini format)
Header Parameters
x-api-key?string
Anthropic API key (for Claude format)
anthropic-version?string
Anthropic API version
x-goog-api-key?string
Google API key (for Gemini format)
Response Body
application/json
application/json
curl -X GET "https://api.beeaicloud.com/v1/models"{
"object": "list",
"data": [
{
"id": "gpt-4",
"object": "model",
"created": 0,
"owned_by": "openai"
}
]
}{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}How is this guide?