Skip to main content

Short Answer

No. APIYI does not provide the Files API, meaning the flow where you upload a file first, get a file_id, and then reference it in a request. The APIs that depend on file uploads are not provided either: What to do instead: put images, PDFs, and other files directly into the chat request as base64 or a URL. Every provider’s models support this inline style; see below.

What the Error Means

Calling /v1/files returns:
Note that nothing follows for model. The platform routes each request to a channel by model name. A file upload request carries no model name, so the platform finds no matching channel and returns this error. What it really means is that the platform does not provide this API. It has nothing to do with your group, balance, or token permissions, and switching groups or retrying will not help. If you reference a file_id in a chat request, the error depends on the endpoint, for example:
If you use the official OpenAI, Anthropic, or Google SDK with base_url pointed at APIYI, methods such as client.files.create(), client.files.upload(), and client.batches.create() will fail. Switch to the inline style below.

Alternative: Put the File Directly in the Request

Images: pass a public URL or data:image/png;base64,... in image_url.PDF: in /v1/responses, use file_data on input_file; in /v1/chat/completions, use file_data on the file type.
All three styles were tested on 2026-10-22: the same PDF was sent through /v1/responses, /v1/chat/completions, Claude /v1/messages, and Gemini generateContent, and the model read the file content correctly every time.
The cost of the inline style is that every request carries the file again, so request bodies get larger. If you ask many questions about the same file, convert it to text and put that in the prompt, or use each provider’s caching to reduce the cost of repeated input; see Does APIYI Support Cache Billing?.

What About Batch Processing?

There is no Batch API. For batch jobs, send ordinary requests concurrently from your client; for concurrency limits see What Are the API Concurrency Limits?. Ordinary requests are billed at normal prices, without the asynchronous discount of the official Batch API.

Video Understanding API

How each model accepts video input, and the size limits

How to Configure Base URL? Differences Between /v1, Root Domain, and /v1beta

How to fill it in for the OpenAI / Claude / Gemini formats

What Are the API Concurrency Limits?

Send batch jobs concurrently from your client

How Can I Troubleshoot Model API Errors?

Match the error type step by step