{
"data": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"quantization": "int4",
"context_length": 123,
"max_output_length": 123,
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"input_cache_reads": "<string>",
"input_cache_writes": "<string>"
},
"supported_sampling_parameters": [
"temperature"
],
"supported_features": [
"tools"
],
"datacenters": [
{
"country_code": "<string>"
}
]
}
]
}Returns a list of models that are available to be used with OpenRouter.
This API is available without authentication.
{
"data": [
{
"id": "<string>",
"name": "<string>",
"created": 123,
"input_modalities": [
"<string>"
],
"output_modalities": [
"<string>"
],
"quantization": "int4",
"context_length": 123,
"max_output_length": 123,
"pricing": {
"prompt": "<string>",
"completion": "<string>",
"image": "<string>",
"request": "<string>",
"input_cache_reads": "<string>",
"input_cache_writes": "<string>"
},
"supported_sampling_parameters": [
"temperature"
],
"supported_features": [
"tools"
],
"datacenters": [
{
"country_code": "<string>"
}
]
}
]
}Successful Response
Show child attributes
int4, int8, fp4, fp6, fp8, fp16, bf16, fp32 All pricing values are in USD per 1 token.
Pricing fields are in string format to avoid floating point precision issues.
temperature, top_p, top_k, repetition_penalty, frequency_penalty, presence_penalty, stop, seed tools, json_mode, structured_outputs, web_search, reasoning Was this page helpful?