The request was refused before any reply, because of what it asks for.
was not found. Use a model ID from https://api.freetheai.org/v1/models
No model has that ID. Model IDs look like `fta/zai/glm-5.3`; old IDs from freetheai.xyz no longer work.
- Copy an ID from freetheai.org/models or from
GET https://api.freetheai.org/v1/models, including the fta/.../ part.
This model accepts text only. Remove the images, or pick a model that accepts images
The request has images, and this model cannot read them.
- Remove the images, or pick a model marked for images on freetheai.org/models.
This API key is set to tool-capable models only, and this model cannot take tool calls.
The key has the "Tool-capable models only" switch on, and this model cannot use tools.
- Pick a model from
/v1/models (the key only lists tool-capable ones), or turn the switch off on the API keys page.
This model generates media. Create a task with POST /v1/videos or POST /v1/images/generations
Image and video models run as tasks, not chat.
- Create a task with the endpoint named in the message and poll it until it completes (see freetheai.org/docs).
Content filtered: the model's content filter blocked this request or its reply.
The model’s own safety filter refused the message or its reply. It is not a fault with your key.
- Rephrase the message, or use another model.
Content filtered: dog/ models are for general questions, writing, and images.
The fta/dog/ and fta/lion/ models are for general questions, writing, images, and research. Their filter often refuses coding, roleplay, and character chats.
- For coding or roleplay, use an fta/zai or fta/kimi model.
the model rejected one of the request's settings
A generation setting (temperature, top_p, penalties, max tokens) has a value this model refuses.
- Reset your app’s generation settings to their defaults and try again.
the model needs at least one message from you in the request
The request only had system or character messages. Some apps send that by default.
- In SillyTavern: API Connections > Prompt Post-Processing > Semi-strict. In other apps, set role handling to semi-strict or strict.
the conversation is too long for this model
The chat is longer than this model can read at once.
- Lower your app’s context size, or start a new chat.
the provider rejected this request as invalid; check the messages and parameters.
The model refused the request’s shape: an empty message, an unusual role order, or a parameter it does not take.
- Reset your app’s generation settings, and turn on semi-strict prompt processing if your app has it.
- If it keeps happening, open a ticket with the error id from the message.
invalid json payload
The request body is not valid JSON for this endpoint.
- Check the body, and that the URL matches the format you send (for example
/v1/chat/completions for OpenAI chat).
missing model
The request does not name a model.
- Set the model field to an ID from freetheai.org/models.
request body is too large
The request is over the size limit, usually a long chat with many images.
- Shorten the chat history or lower your app’s context size, and send fewer or smaller images.