Skip to main content
GET
Compare models

查詢參數

string
必填
以逗號分隔的模型 ID 列表(例如 openai/gpt-4o,anthropic/claude-3.5-sonnet)。

回應

範例

授權

Authorization
string
header
必填

API key authentication. Pass your OpenModex API key as a Bearer token in the Authorization header: Authorization: Bearer omx_sk_...

查詢參數

models
string
必填

Comma-separated list of model IDs to compare (2-4 models).

回應

Model comparison response.

Response from comparing models.

object
enum<string>

The object type, always 'model_comparison'.

可用選項:
model_comparison
models
string[]

The list of model IDs being compared.

comparison
object

An object mapping each model ID to its comparison data including pricing, performance, and quality scores.

highlights
object

Highlights identifying the best model in each category.