Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
{
"text": [
{
"provider": "openrouter",
"configured": true,
"models": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"description": "<string>",
"architecture": {
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"tokenizer": "<string>",
"instruct_type": "<string>"
},
"topProvider": {
"is_moderated": true,
"context_length": 123,
"max_completion_tokens": 123
},
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"web_search": "<string>",
"internal_reasoning": "<string>",
"input_cache_read": "<string>",
"input_cache_write": "<string>"
},
"context_length": 123,
"max_completion_tokens": 123,
"per_request_limits": {},
"supported_parameters": [
"<string>"
]
}
]
}
],
"image": [
{
"provider": "openrouter",
"configured": true,
"models": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"description": "<string>",
"architecture": {
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"tokenizer": "<string>",
"instruct_type": "<string>"
},
"topProvider": {
"is_moderated": true,
"context_length": 123,
"max_completion_tokens": 123
},
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"web_search": "<string>",
"internal_reasoning": "<string>",
"input_cache_read": "<string>",
"input_cache_write": "<string>"
},
"context_length": 123,
"max_completion_tokens": 123,
"per_request_limits": {},
"supported_parameters": [
"<string>"
]
}
]
}
]
}
Returns list of all available text and image models from OpenRouter
{
"text": [
{
"provider": "openrouter",
"configured": true,
"models": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"description": "<string>",
"architecture": {
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"tokenizer": "<string>",
"instruct_type": "<string>"
},
"topProvider": {
"is_moderated": true,
"context_length": 123,
"max_completion_tokens": 123
},
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"web_search": "<string>",
"internal_reasoning": "<string>",
"input_cache_read": "<string>",
"input_cache_write": "<string>"
},
"context_length": 123,
"max_completion_tokens": 123,
"per_request_limits": {},
"supported_parameters": [
"<string>"
]
}
]
}
],
"image": [
{
"provider": "openrouter",
"configured": true,
"models": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"description": "<string>",
"architecture": {
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"tokenizer": "<string>",
"instruct_type": "<string>"
},
"topProvider": {
"is_moderated": true,
"context_length": 123,
"max_completion_tokens": 123
},
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"web_search": "<string>",
"internal_reasoning": "<string>",
"input_cache_read": "<string>",
"input_cache_write": "<string>"
},
"context_length": 123,
"max_completion_tokens": 123,
"per_request_limits": {},
"supported_parameters": [
"<string>"
]
}
]
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.