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.