GET /v1/models

Returns all available models with pricing, context lengths, and capabilities. OpenRouter-compatible format.

Request

curl https://api.surplusintelligence.ai/v1/models

No authentication required.

Response

{

"data": [

{

"id": "claude-opus-4.6",

"name": "Claude Opus 4.6",

"context_length": 200000,

"max_completion_tokens": 32000,

"pricing": {

"prompt": "0.000015",

"completion": "0.000075"

},

"architecture": {

"input_modalities": ["text"],

"output_modalities": ["text"]

},

"supported_parameters": ["temperature", "top_p", "tools", "stream"],

"top_provider": {

"max_completion_tokens": 32000

}

}

]

}

Pricing is in per-token strings (multiply by 1M for $/1M tokens rate). Cached for 60 seconds.

Current Counts

A recent live snapshot returned 145 catalog models and 76 active marketplace models. Counts change as models and seller liquidity change; use the endpoint response as source of truth.