Skip to main content

OpenAI Format

Get the list of currently available models.

Try It

GET/v1/modelshttps://api-platform.ope.ai

Authentication

Uses Bearer Token authentication.

  • Header: Authorization: Bearer <token>
  • Example: Authorization: Bearer sk-xxxxxx

Request examples

The domain below is an example: https://api-platform.ope.ai.

curl -X GET "https://api-platform.ope.ai/v1/models" \
-H "Authorization: Bearer $OPEAI_API_KEY"

Response examples

{
"object": "list",
"data": [
{
"id": "gpt-4",
"object": "model",
"created": 0,
"owned_by": "openai"
}
]
}