curl --request GET \
--url https://api.myrouter.ai/openai/v1/models \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"data": [
{
"id": "<string>",
"created": 123,
"object": "<string>",
"input_token_price_per_m": 123,
"output_token_price_per_m": 123,
"title": "<string>",
"description": "<string>",
"context_size": 123
}
]
}curl --request GET \
--url https://api.myrouter.ai/openai/v1/models \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"data": [
{
"id": "<string>",
"created": 123,
"object": "<string>",
"input_token_price_per_m": 123,
"output_token_price_per_m": 123,
"title": "<string>",
"description": "<string>",
"context_size": 123
}
]
}Retrieves a list of models currently available for the LLM API, along with basic information about each model. This endpoint is compatible with the OpenAI API.Documentation Index
Fetch the complete documentation index at: https://docs.myrouter.ai/llms.txt
Use this file to discover all available pages before exploring further.
application/jsonHide Model Object Properties