Models
List model IDs and prices with GET /models.
GET /models returns the model catalog, with each model's context limit, modalities, supported parameters and prices.
A listed model answers only when an AI provider key (your own or a partner's) serves it. Today that is the openai/ and deepseek/ models served from Azure. Any other listed model answers 400 is not a valid model ID.
It needs no key.
Use id (author/slug) as model in a request.
Prices are USD per token, as decimal strings, at our price: list price less the current discount.
input_cache_read and input_cache_write are the prices of cached and cache-writing input tokens.
supported_parameters lists what at least one host accepts; a given host may accept fewer.
To list a model's hosts, follow links.details, which is GET /models/{author}/{slug}/endpoints for the id.
Request
curl https://api.plaingateway.com/api/v1/models
Response
One data item, shortened. The prices shown are list prices.
HTTP/1.1 200
{
"data": [
{
"id": "openai/gpt-5.6-luna",
"canonical_slug": "openai/gpt-5.6-luna-20260709",
"hugging_face_id": null,
"name": "OpenAI: GPT-5.6 Luna",
"created": 1783590864,
"context_length": 1050000,
"architecture": {
"modality": "text+image+file->text",
"input_modalities": ["file", "image", "text"],
"output_modalities": ["text"],
"tokenizer": "GPT",
"instruct_type": null
},
"pricing": {
"prompt": "0.0000002",
"completion": "0.0000012",
"input_cache_read": "0.00000002",
"input_cache_write": "0.00000025"
},
"top_provider": {
"context_length": 1050000,
"max_completion_tokens": 128000,
"is_moderated": true
},
"per_request_limits": null,
"supported_parameters": ["max_tokens", "reasoning", "response_format", "structured_outputs", "tool_choice", "tools"],
"links": {
"details": "/api/v1/models/openai/gpt-5.6-luna/endpoints"
}
}
],
"total_count": 26,
"links": {
"next": null
}
}