Models

List available models, modalities, pricing, and regions.

GET /v1/models

List available models. This endpoint does not require authentication.

curl https://api.tresor.co/v1/models

Add ?detail=true to include pricing, modality, and region information:

curl https://api.tresor.co/v1/models?detail=true

Query parameters

ParameterTypeDescription
detailbooleanInclude pricing, modality, and region info.
regionstringFilter by region (e.g. eu).
providerstringFilter by provider (e.g. tinfoil).
typestringFilter by model type such as chat, embedding, or transcription.

Detail fields

When ?detail=true is set, each model entry includes a tresor block with:

  • model_key
  • region
  • provider
  • type
  • pricing

Pricing is modality-aware:

  • chat and embedding routes expose input_per_mtok and output_per_mtok
  • unit-priced transcription routes expose billing_unit and unit_amount
  • token-priced transcription routes expose input_per_mtok and output_per_mtok, same as chat pricing

Example transcription entry:

{
  "id": "eu/privatemode/whisper-large-v3",
  "object": "model",
  "owned_by": "privatemode",
  "tresor": {
    "model_key": "whisper-large-v3",
    "region": "eu",
    "provider": "privatemode",
    "type": "transcription",
    "pricing": {
      "billing_unit": "audio_minute",
      "unit_amount": 0.014,
      "currency": "eur"
    }
  }
}

Token-priced transcription routes return the same pricing shape as chat routes, with input_per_mtok and output_per_mtok populated instead of billing_unit and unit_amount.

Available models

Use GET /v1/models for the canonical, up-to-date list — including pricing, region, and provider information when ?detail=true is set. The set of models changes over time; treat the live response as the source of truth.

See also