Zum Inhalt springen
PeakPrivacyDocs
AnwendenVerwaltenEinführenSicherheit & DatenschutzEntwickler

Models

List the models the API offers, check which endpoints each one supports, and choose models by their security level.

Als Markdown anzeigen

GET /v1/ai/models lists the models available through the API, in catalogue order. Send an entry's id as model.

Example

curl https://api.peakprivacy.ch/v1/ai/models \
  -H "Authorization: Bearer $PEAKPRIVACY_API_KEY" \
  -H "Accept: application/json"

Response

{
  "object": "list",
  "data": [
    {
      "id": "deepseek-v4-flash",
      "object": "model",
      "created": 0,
      "owned_by": "...",
      "max_tokens": 1000000,
      "security_levels": { "with_anon": 1, "without_anon": 1 },
      "meta": {
        "capabilities": { "vision": false, "chat_completions": true, "responses": true },
        "recommended": false,
        "is_new": false,
        "description": "..."
      },
      "info": { "meta": { "...": "..." } }
    }
  ],
  "catalog_policy": { "version": 1, "default_model_id": "deepseek-v4-flash", "default_status": "available" }
}
FieldTypeDescription
idstringThe value to send as model.
owned_bystringProvider label from the catalogue.
max_tokensintegerUpper limit for the answer length. A higher max_tokens in a request is reduced to this value.
security_levelsobjectSecurity level without anonymisation (without_anon) and with "anonymize": true (with_anon). See Security levels.
meta.capabilitiesobjectEndpoint support, see below. vision is true if the model reads images in messages. Send images only to such a model, see Choosing a model.
meta.recommended, meta.is_newbooleanLabels from the catalogue.
meta.descriptionstringShort description, if set. meta can contain further fields.
infoobjectCopy of meta for older clients. Read meta.
catalog_policyobjectThe catalogue default set by PeakPrivacy. default_model_id is null if no default is set (default_status: "unset") or it isn't listed ("unavailable"). You still send model with every request.

The list is the same for every API token and changes when PeakPrivacy adds, retires or reconfigures models. Read ids from this endpoint, or check at startup that the ids you use are still listed. An unlisted id returns 400 with The selected model is invalid.

Endpoint support

meta.capabilities.chat_completions covers both chat completions paths. meta.capabilities.responses covers /v1/ai/responses.

ValueMeaning
trueSupported.
falseNot supported. The API returns 400 with code unsupported_endpoint before the model is called, also with "stream": true.
nullNot confirmed, for older or custom models. The request is attempted.

Security levels

Every model has one of three security levels: Schweiz, EU or Extern. Choosing a model › Security level maps the numbers in security_levels to these badges, and Which data belongs on which level (German) explains what each badge suits.

Check the level before your application sends personal or confidential data. If people choose the model themselves, show them the badge next to the model name.

Overview

A hand-maintained overview with German labels, taken from the web app. Its notes column ("Hinweis") and its footer describe the chat. Where the table differs from GET /v1/ai/models, the endpoint is right.

ModellStufeModellfamilieHinweis
GPT Swissgpt-swissSchweizgpt-oss-120b (OpenAI, Open Weight)im Paket enthalten
DeepSeek V4 Flashdeepseek-v4-flashSchweizDeepSeek (Modell dahinter: DeepSeek V4.1 Flash, Vorschau)im Paket enthalten
GLM 5.2glm5SchweizGLM (Zhipu AI)im Paket enthalten
Mistral Small Swissmistral-small-swissSchweizMistralim Paket enthalten
GPT EUgpt-euEUgpt-oss-120b (OpenAI, Open Weight)
Qwen 3qwen-3EUQwen3 235B (Alibaba)
Qwen 3 Fastqwen-3-fastEUQwen3 30B (Alibaba)
Gemma 3gemma-3EUGemma 3 27B (Google, Open Weight)liest Bilder
DeepSeek R1deepseek-r1EUDeepSeek (Modell dahinter: DeepSeek V4 Pro)
GPT-5gpt-5ExternOpenAI (Modell dahinter: GPT-5.6 Sol bzw. GPT-5.2)Frontier-Wallet · mit Anonymisierung möglich · liest Bilder
GPT-4.1gpt-4.1ExternOpenAIFrontier-Wallet · mit Anonymisierung möglich · liest Bilder
GPT-4ogpt-4oExternOpenAIFrontier-Wallet · mit Anonymisierung möglich · liest Bilder
Claude Opus 5.5claude-opusExternAnthropicFrontier-Wallet · mit Anonymisierung möglich · liest Bilder
Claude Sonnet 4.6claude-sonnetExternAnthropicFrontier-Wallet · mit Anonymisierung möglich · liest Bilder
Gemini 3.1 Pro (Preview)gemini-3-pro-previewExternGoogleFrontier-Wallet · liest Bilder
Gemini 3.5 Flashgemini-3.5-flashExternGoogleFrontier-Wallet · liest Bilder

Welche Modelle Sie sehen, legt Ihre Organisation fest. Massgeblich ist die Modellauswahl im Chat.

See also

Auf dieser Seite