Models and pricing
Where to find every model, its inputs and its price.
Browse models
- opinference.com/models lists every model you can call, by modality.
- Each model has its own page at
opinference.com/models/{id}. It shows the model's price and, for a media model, every input it accepts with its type, default and allowed range. - opinference.com/prices puts every price on one page.
These pages are generated from the live catalog, so they are the reference for limits and prices. This site does not copy them.
List models from the API
GET /v1/models returns the models your key can use, each with its published price.
curl https://api.opinference.com/v1/models \
-H "Authorization: Bearer $OP_API_KEY"{
"object": "list",
"data": [
{
"id": "openai/gpt-oss-120b",
"object": "model",
"created": 0,
"owned_by": "openai",
"modality": "text",
"pricing": {
"price_version": "2026-09-20",
"currency": "USD",
"rules": [
{ "unit": "input_tokens", "per": 1000000, "usd": 1.045 },
{ "unit": "output_tokens", "per": 1000000, "usd": 5.225 }
]
}
}
]
}GET /v1/models/{id} returns one model. A model id can contain a slash, as in
openai/gpt-oss-120b; send it as is.
| Field | Meaning |
|---|---|
id | The value to send as model |
owned_by | The model's author, not the endpoint that serves it |
modality | text, embeddings, image, video, audio_tts (speech), audio_stt (transcription), music or tool |
pricing.rules | One rule per billed unit. usd is the most a request pays for per units (one unit when per is absent). A rule with a match applies only to requests that match it, and comes before the plain rule for the same unit |
pricing.price_version | The price list the rules come from |
inputs | Media models only: each accepted input and its rules. See Media inputs |
The list holds only the models your key can use. A key restricted to some models, or to a region
or data policy, sees only the models it can reach, at the prices it can reach them. See
Key restrictions. A model your key cannot use answers 404 model_not_found, the same as a model that does not exist.
Media inputs
For an image, video, audio or music model, inputs maps each input you can send to its rules:
"inputs": {
"prompt": {"type": "string", "required": true, "max_length": 3000},
"width": {"type": "integer", "requires": ["height"],
"sizes": ["1280x720", "720x1280", "1920x1080", "1080x1920", "3840x2160", "2160x3840"]},
"height": {"type": "integer", "requires": ["width"],
"sizes": ["1280x720", "720x1280", "1920x1080", "1080x1920", "3840x2160", "2160x3840"]},
"duration_seconds": {"type": "enum", "values": [4, 6, 7, 8], "default": 4,
"values_when": {"video": [7], "reference_images": [8]}},
"video": {"type": "media", "kind": "video", "excludes": ["height", "resolution", "seed", "width"]},
"reference_images": {"type": "media_list", "kind": "image", "max_items": 3}
}```
| Keyword | Meaning |
|---|---|
| `type` | `string`, `integer`, `number`, `boolean`, `enum`, `media` (one URL), `media_list` (a list of URLs) or `object` |
| `required` | The request is refused without it |
| `default` | Sent for you when you leave the input out |
| `min`, `max` | The accepted range of a number |
| `max_length` | The longest accepted string |
| `values` | The only accepted values |
| `kind` | What a `media` or `media_list` input points at: `image`, `video`, `audio` or `mesh` |
| `max_items` | The most entries a list accepts |
| `excludes` | Inputs that cannot be sent together with this one |
| `requires` | Inputs of which at least one must be sent with this one |
| `sizes` | On `width` and `height`: the only accepted `<width>x<height>` pairs. Send both values from one pair |
| `values_when` | The values this input accepts while another input is sent. Above, a request with `video` takes `duration_seconds` 7 only |
When you leave out an input whose default `values_when` rules out, the first allowed value is sent
instead: with `video` and no `duration_seconds`, the request uses 7. A request that breaks a rule is
refused with `400 invalid_request`, and the message names the field.
A setting the model cannot take beside what else you sent is left out instead of refused. The
settings are `width`, `height`, `aspect_ratio`, `resolution`, `duration_seconds`, `fps`, `seed`,
`steps`, `guidance`, `quality`, `output_format` and `camera_fixed`. Above, `seed` beside `video` is
left out, and so is a setting sent without the media input it `requires`. The job's
`op_metadata.policy` lists each one as `param_dropped:<name>`, and the `202` lists them in the
`x-op-dropped-params` header. Prompts, media inputs and `n` are never left out: those rules still
answer with a `400`. Neither are `duration_seconds`, `resolution`, `quality`, `width` or `height`
when the model has no such setting, since each changes the price. When several providers serve the
model, one that takes your request as sent is tried first. To get a `400` instead of a left-out
setting, send `"provider": {"require_parameters": true}`.
`sizes` and `values_when` come from the provider's own published schema. A rule the provider does
not publish is not listed, and is still answered with a `400` when broken.
## Who serves a model
`GET /v1/models/{id}/endpoints` lists every provider that serves the model for your key, with
what each one charges:
```bash
curl https://api.opinference.com/v1/models/openai/gpt-oss-120b/endpoints \
-H "Authorization: Bearer $OP_API_KEY"{
"object": "list",
"model": "openai/gpt-oss-120b",
"data": [{
"provider": "nebius",
"provider_name": "Nebius AI Studio",
"region": "global",
"status": "active",
"context_length": 131072,
"data_policy": {"zdr": false, "trains_on_inputs": false, "retention_days": 0},
"billed_at": "list",
"pricing": {"price_version": "2026-09-20", "currency": "USD",
"rules": [{"unit": "input_tokens", "per": 1000000, "usd": 0.15675}]},
"supplier_pricing": {"price_version": "2026-09-20", "currency": "USD",
"rules": [{"unit": "input_tokens", "per": 1000000, "usd": 0.15}]}
}]
}| Field | Meaning |
|---|---|
provider | The provider id. Pass it to provider.order, only or ignore (see Provider preferences) |
provider_name | The provider's display name |
pricing | What you pay when this provider serves the request: its rate plus our 4.5% fee |
supplier_pricing | The provider's own rate, before our fee |
billed_at | list when you pay pricing. reported_charge when the provider reports its own charge, so you pay that charge plus our fee and pricing is typical |
context_length, max_output_tokens | The provider's limits for this model, when known |
quantization | The weights' precision, when the provider states it |
Rows are sorted by provider. Agent tools do not have this route and answer 404.
How a request is priced
The published price is the most a request for that model costs. A request served more cheaply is billed less. One exception: where the serving endpoint reports its own charge, the request is billed that charge plus our fee, which can be above the published price. Prices are in the units the rules name: tokens for text, and seconds, images or characters for media. The cost of each request appears on your usage page. See Credits and billing.