> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aurous-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# model_wrong_kind

> The model is the wrong kind for this endpoint (chat vs embedding).

**Code**: `model_wrong_kind`
**HTTP status**: `400`
**Type**: `invalid_request`

## When it fires

You passed an embedding model to `POST /v1/chat/completions`, or a chat model to `POST /v1/embeddings`. The `aurous_metadata.kind` field on each model row (from `GET /v1/models`) declares whether it's `chat` or `embedding`.

## How to recover

Check `aurous_metadata.kind` for the model you want before sending. Use a `chat`-kind model with the chat endpoint and an `embedding`-kind model with the embeddings endpoint.
