# ModelAPIError

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/exceptions/ModelAPIError)

Exception raised when a model provider reports a server failure (HTTP 5xx).

## Signature

```python
ModelAPIError()
```

## Extends

- `ModelError`

## Properties

- `is_retryable`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/fddca066031a2122b3562485bd9c961a46978a1e/libs/core/langchain_core/exceptions.py#L105)