原生 OpenAI 格式
列出模型(OpenAI)
- 获取当前可用的模型列表。
- 根据请求头自动识别返回格式:
- 包含
x-api-key和anthropic-version头时返回 Anthropic 格式 - 包含
x-goog-api-key头或key查询参数时返回 Gemini 格式
GET
Documentation Index
Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
所有接口均需要使用 Bearer Token 进行认证。在请求头中添加:
Query Parameters
Google API Key (用于 Gemini 格式)
Response
示例:
list