List models
GET https://usemodellane.com/v1/models
The response uses the OpenAI model list format, so client.models.list() in the official SDKs and the model pickers of OpenAI-compatible tools work without changes. This endpoint is not billed, which also makes it the simplest way to check that an API key works: a bad key gets 401 invalid_api_key.
The list holds ids only. Context length, supported features and prices are on Models & pricing.
Request
This endpoint takes no parameters and no body. Send your API key in the Authorization header as a bearer token.
Examples
curl
curl https://usemodellane.com/v1/models \
-H "Authorization: Bearer $MODELLANE_API_KEY"Python
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MODELLANE_API_KEY"],
base_url="https://usemodellane.com/v1",
)
for model in client.models.list():
print(model.id)Node.js
import OpenAI from "openai"
const client = new OpenAI({
apiKey: process.env.MODELLANE_API_KEY,
baseURL: "https://usemodellane.com/v1",
})
for await (const model of client.models.list()) {
console.log(model.id)
}Response
objectstring requiredThe object type.
dataarray requiredThe models your key can call. Context length, features and prices are on Models & Pricing.
idstring requiredThe model id. Pass it as `model` in a chat completion request.
objectstring requiredThe object type.
createdinteger requiredUnix timestamp (seconds) of when the model was added.
owned_bystring requiredThe organization that serves the model.
200
{
"object": "list",
"data": [
{
"id": "deepseek-v4.1-flash",
"object": "model",
"created": 1767225600,
"owned_by": "modellane"
}
]
}401
{
"error": {
"message": "Incorrect API key provided.",
"type": "authentication_error",
"code": "invalid_api_key"
}
}