Modelle auflisten
GET/v1/models
Liste verfügbare Modelle auf.
Die Antwort der Models API kann verwendet werden, um festzustellen, welche Modelle zur Verwendung in der API verfügbar sind. Kürzlich veröffentlichte Modelle werden zuerst aufgeführt.
Parameters
Returns
Modelle auflisten
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.models.ModelListPage;
import com.anthropic.models.models.ModelListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
ModelListPage page = client.models().list();
}
}Response 200
{
"data": [
{
"id": "claude-opus-5-5",
"capabilities": {
"batch": {
"supported": true
},
"citations": {
"supported": true
},
"code_execution": {
"supported": true
},
"context_management": {
"clear_thinking_20251015": {
"supported": true
},
"clear_tool_uses_20250919": {
"supported": true
},
"compact_20260112": {
"supported": true
},
"supported": true
},
"effort": {
"high": {
"supported": true
},
"low": {
"supported": true
},
"max": {
"supported": true
},
"medium": {
"supported": true
},
"supported": true,
"xhigh": {
"supported": true
}
},
"image_input": {
"supported": true
},
"pdf_input": {
"supported": true
},
"server_tools": {
"code_execution": {
"supported": true
},
"supported": true,
"web_search": {
"supported": true
}
},
"structured_outputs": {
"supported": true
},
"thinking": {
"supported": true,
"types": {
"adaptive": {
"supported": true
},
"disabled": {
"supported": true
},
"enabled": {
"supported": true
}
}
}
},
"created_at": "2026-09-21T00:00:00Z",
"deprecated_at": "2019-12-27T18:11:19.117Z",
"display_name": "Claude Opus 5.5",
"lifecycle": "active",
"line": "haiku",
"max_input_tokens": 0,
"max_tokens": 0,
"retires_at": "2019-12-27T18:11:19.117Z",
"type": "model"
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}Returns Examples
Response 200
{
"data": [
{
"id": "claude-opus-5-5",
"capabilities": {
"batch": {
"supported": true
},
"citations": {
"supported": true
},
"code_execution": {
"supported": true
},
"context_management": {
"clear_thinking_20251015": {
"supported": true
},
"clear_tool_uses_20250919": {
"supported": true
},
"compact_20260112": {
"supported": true
},
"supported": true
},
"effort": {
"high": {
"supported": true
},
"low": {
"supported": true
},
"max": {
"supported": true
},
"medium": {
"supported": true
},
"supported": true,
"xhigh": {
"supported": true
}
},
"image_input": {
"supported": true
},
"pdf_input": {
"supported": true
},
"server_tools": {
"code_execution": {
"supported": true
},
"supported": true,
"web_search": {
"supported": true
}
},
"structured_outputs": {
"supported": true
},
"thinking": {
"supported": true,
"types": {
"adaptive": {
"supported": true
},
"disabled": {
"supported": true
},
"enabled": {
"supported": true
}
}
}
},
"created_at": "2026-09-21T00:00:00Z",
"deprecated_at": "2019-12-27T18:11:19.117Z",
"display_name": "Claude Opus 5.5",
"lifecycle": "active",
"line": "haiku",
"max_input_tokens": 0,
"max_tokens": 0,
"retires_at": "2019-12-27T18:11:19.117Z",
"type": "model"
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id"
}