Skip to main content
POST
Model Comparison (beta)

Authorizations

Authorization
string
header
required

API key starting with nj_sk_

Body

application/json
model_a
string
required

First model ID to compare (e.g. gpt-5, claude-sonnet-4.6).

model_b
string
required

Second model ID to compare.

prompt
string
required

The input prompt to send to both models.

Required string length: 1 - 4000
temperature
number
default:0.7

Optional sampling temperature applied to both models.

Required range: 0 <= x <= 2

Response

Comparison results from both models.

model_a
object
model_b
object
cost
object
metadata
object