Skip to main content
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.