Why every model id has a slash, and the model_not_found error

All in One AIPlayground & Text Models·· 5 views· 3 min read

Every catalog id has at least one slash, such as deepseek-ai/deepseek-v4-flash. The part before the first slash is who made the model. You send the id exactly as it is, slash included. Without it, the API cannot find the model.

How to read an id

Id How to read it
deepseek-ai/deepseek-v4-flash Who made the model (deepseek-ai), a slash and the model. In GET /v1/models, the first part also comes in owned_by.
openai/gpt-image-2/text-to-image For image, video and voice models, the end of the id usually says what the model does, such as text-to-image.
agent/... One of your agents, with the id you copy on the Agents tab.

The model_not_found error

The API answers 404 with model_not_found in these cases:

Cause Example
The id does not exist or is incomplete. You sent deepseek-v4-flash, without the part before the slash.
The model is the wrong type for the operation. An image model in chat. Chat only takes text models and agents; generations take image, video and voice models.
The agent belongs to another account. Each account only sees and uses its own agents.

How to fix it

1 Open the Models tab and click Copy the id on the model you want.
2 Check the type: Text for chat; Image, Video or Audio for generations.
3 Paste the id with no extra spaces or quotes and repeat the request.

In coding tools

Some tools add a prefix of their own before the id. In Aider the model is written openai/deepseek-ai/deepseek-v4-flash; in OpenCode, api/moonshotai/kimi-k2.7-code, with the provider name you gave in the file. The prefix belongs to the tool: what comes after it must be the exact catalog id. See Aider and OpenCode.

If a model leaves the catalog, its id stops working and the answer becomes model_not_found. Choose another one on the Models tab.

Copy the right id on the All in One AI Models tab.

See All in One AI

SEE ALSO

The Models tab: searching for a model and copying its id

Errors when setting up a tool with All in One AI: 401, model not found, no credits, /v1 and rejected config files

Using your AI agent through the API: agent/ in the model field

Choosing a text model: price, context window and what each one is for

All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from 396,00 MT/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.