Skip to Content
API-ReferenzOpenAI-kompatibles ProtokollModels

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-5.5", "object": "model", "created": 1790553600, "owned_by": "bedrock", "canonical_slug": "claude-sonnet-5-5", "name": "Anthropic: Claude Sonnet 5.5", "description": "Claude Sonnet 5.5 is Anthropic's Sonnet-tier model, offering a balance of speed and intelligence for coding, reasoning, and agentic workloads. It supports text, image, and file inputs with text output, with a 1M-token context window and up to 128K output tokens, at a lower per-token price than Claude Opus 5.5.", "context_length": 1000000, "architecture": { "modality": "text+image+file->text", "input_modalities": [ "text", "image", "file" ], "output_modalities": [ "text" ], "tokenizer": "claude", "instruct_type": null }, "pricing": { "prompt": "0.000002", "completion": "0.00001", "input_cache_read": "0.0000002", "input_cache_write_5m": "0.0000025", "input_cache_write_1h": "0.000004", "web_search": "0.015" }, "top_provider": { "context_length": 1000000, "max_completion_tokens": 128000, "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, "is_deprecated": false, "supported_endpoints": [ "/v1/chat/completions", "/v1/responses" ], "aliases": [ "claude-sonnet-5-5", "claude-sonnet-5.5" ] } ] }

Feldbeschreibung

FeldTypBeschreibung
idstringModellkennung, z.B. "anthropic/claude-sonnet-5.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, qwen, 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-5.5

Anfragebeispiel

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

Antwortformat

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

Zuletzt aktualisiert am