# Deprecations and versioning

> Which API paths carry a version, what happens when a model is not available, and which models have a retirement date and which fields have been removed.

## Versioned paths

- The paths carry a version: `/v1/chat/completions` for the OpenAI-compatible API, `/v1/messages` for the Anthropic-compatible API and `/v1/models` for the model list.
- Write clients that ignore fields they do not know and treat an error code they do not know as a failure.

## Unavailable models

A request for a model that is not available is refused with HTTP 400, and the message lists the ids you can call. The OpenAI-compatible body carries the code `model_not_available`. The Anthropic-compatible body has the error type `invalid_request_error` and no code. The [Models](https://platform.projecthollow.com/docs/models.md) page lists the same ids.

## Models with a retirement date

No models are scheduled for retirement.

## Removed fields

**Fields that have been removed**

| Removed field | Use instead |
| --- | --- |
| `monthlySpendLimitUsd`, on projects and keys | `monthlySpendLimitGbp`, an amount in pounds. A request that sends the old name is refused with HTTP 400. |
| `monthToDateUsd`, on project limits | `monthToDateGbp`, in pounds. |
| `costUsd`, on request log rows, evaluation results and the request log CSV | `costGbp`, in pounds. |
| `runCeilingUsd` and `monthlyLimitUsd`, on a workflow's published spend | `runCeilingGbp` and `monthlyLimitGbp`, in pounds. |

These fields carried amounts in API wallet units under a dollar name. They were removed in one change with no overlap, and the new fields carry the amount in pounds that you see on the Limits page. Clients that read or send the old names need the new ones. The [changelog](https://platform.projecthollow.com/docs/changelog.md) has the date.
