Skip to Content

Models API

Listen und durchsuchen Sie alle auf der OfoxAI-Plattform verfügbaren Modelle. Die Antwortdaten folgen dem OpenRouter-Standard und enthalten vollständige Metadaten: Architektur, Preise, unterstützte Parameter und mehr.

Die Models API ist eine öffentliche Schnittstelle — kein API Key erforderlich. Detaillierte Feldbeschreibungen finden Sie unter Modellkatalog — Models API-Standard.

Alle Modelle auflisten

GET https://api.ofox.ai/v1/models

Anfragebeispiele

Terminal
curl https://api.ofox.ai/v1/models

Antwortformat

{ "object": "list", "data": [ { "id": "anthropic/claude-sonnet-4.5", "object": "model", "created": 1759104000, "owned_by": "bedrock", "canonical_slug": "claude-sonnet-4-5-20250929", "name": "Claude Sonnet 4.5", "description": "Anthropic's balanced model with state-of-the-art performance...", "context_length": 200000, "architecture": { "modality": "text+image+file->text", "input_modalities": ["text", "image", "file"], "output_modalities": ["text"], "tokenizer": "claude", "instruct_type": null }, "pricing": { "prompt": "0.000003", "completion": "0.000015", "input_cache_read": "0.0000003", "input_cache_write_5m": "0.00000375", "input_cache_write_1h": "0.000006" }, "top_provider": { "context_length": 200000, "max_completion_tokens": 16384, "is_moderated": false }, "per_request_limits": null, "supported_parameters": [ "temperature", "top_p", "max_tokens", "stop", "tools", "tool_choice", "response_format", "reasoning" ], "default_parameters": null, "expiration_date": null } ] }

Feldbeschreibung

FeldTypBeschreibung
idstringModellkennung, z.B. "anthropic/claude-sonnet-4.5"
canonical_slugstringPermanenter Bezeichner, ändert sich nicht
namestringAnzeigename des Modells
creatednumberHinzufügezeitpunkt (Unix-Zeitstempel)
descriptionstringBeschreibung der Modellfähigkeiten
context_lengthnumberMaximale Kontextfenstergröße (Token)
architectureobjectEin-/Ausgabemodalitäten, Tokenizer-Informationen
pricingobjectPreise (USD/Token)
top_providerobjectAnbieterkonfiguration (Kontextlimit, max. Ausgabe usw.)
supported_parametersstring[]Unterstützte API-Parameter

Modelle nach Anbieter filtern

GET https://api.ofox.ai/v1/models/{provider}

Gibt nur die Modelle des angegebenen Anbieters zurück.

Pfadparameter

ParameterTypBeschreibung
providerstringAnbieterkennung, z.B. anthropic, openai, google, bailian, volcengine

Anfragebeispiel

Terminal
# Alle Anthropic-Modelle auflisten curl https://api.ofox.ai/v1/models/anthropic # Alle OpenAI-Modelle auflisten curl https://api.ofox.ai/v1/models/openai

Antwortformat

Das Antwortformat entspricht dem der vollständigen Modellliste. Das data-Array enthält nur Modelle des angegebenen Anbieters.

Modelldetails abrufen

GET https://api.ofox.ai/v1/models/{provider}/{model_id}

Pfadparameter

ParameterTypBeschreibung
providerstringAnbieterkennung, z.B. anthropic
model_idstringModellname, z.B. claude-sonnet-4.5

Anfragebeispiel

Terminal
curl https://api.ofox.ai/v1/models/anthropic/claude-sonnet-4.5

Antwortformat

Gibt ein einzelnes Model-Objekt zurück, dessen Struktur dem Objekt in der Listenabfrage entspricht.

Last updated on