# Provider price in context (/api-reference/reference/provider-price-in-context)

## Provider price in context

`GET https://data.tryopengrid.com/v1/providers/{provider}/gpus/{gpu}/context`

One provider's price for a GPU against its own recorded history.

### Parameters

- `provider` (path, required, string): Provider id, e.g. `lambda`.
- `gpu` (path, required, string): GPU id, e.g. `nvidia-h100-80gb-sxm5`. Older short names (`h100-80gb-sxm5`) are accepted as aliases; responses always return the id.
- `segment` (query, string)
- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

- `current` (number)
- `gpu` (string)
- `gpu_name` (string)
- `historical` (object)
  - `from_high_pct` (number)
  - `from_low_pct` (number)
  - `high` (object)
  - `low` (object)
  - `samples` (number)
  - `since` (string)
- `hour` (string)
- `interruptible` (boolean)
- `label` (null)
- `label_reason` (string)
- `label_window` (null)
- `price_concept` (string)
- `provider` (string)
- `provider_name` (string)
- `reason` (null)
- `recorded_since` (string)
- `segment` (string)
- `summaries` (array of string)
- `vs_market_median_pct` (number)
- `windows` (object)

Every success is `{"data": ..., "meta": {as_of, api_version, request_id, next_cursor?}}`.

### Example

```bash
curl "https://data.tryopengrid.com/v1/providers/lambda/gpus/nvidia-h100-80gb-sxm5/context" \
  -H "Authorization: Bearer $OPENGRID_API_KEY"
```