Models

List models, inspect their capabilities, and read their pricing.

On this page

Models#

List models#

GET https://cleanapis.com/v1/models
curl https://cleanapis.com/v1/models \
  -H "Authorization: Bearer cc_your_key_here"
{
  "object": "list",
  "data": [{
    "id": "claude-opus-4.8",
    "object": "model",
    "created": 1787240928,
    "owned_by": "Clean APIs",
    "name": "Example Model",
    "description": "General-purpose chat model.",
    "type": "chat",
    "context_window": 128000,
    "capabilities": ["reasoning", "vision", "tools", "streaming"],
    "pricing": {
      "input_per_1k": 0.000115,
      "output_per_1k": 0.00023
    }
  }]
}

Retrieve one model#

GET https://cleanapis.com/v1/models/claude-opus-4.8

Returns the same object, or 404 if the model does not exist or is unavailable to you.

Capabilities#

Capability Meaning
reasoning Thinks before answering, may return reasoning_content
vision Accepts image input
tools Supports function/tool calling
streaming Supports "stream": true
json_mode Supports response_format: {"type": "json_object"}
web_search Has built-in web search

Inspect capabilities before sending images or tool definitions.

Fields#

Field Description
id Model ID to pass as model
context_window Maximum combined prompt + completion tokens
pricing.input_per_1k USD per 1,000 prompt tokens
pricing.output_per_1k USD per 1,000 completion tokens

Only active, publicly available models are listed. Requesting an unlisted model returns 404.

Still stuck?

Open a support ticket from your dashboard and we'll take a look.

Get help