← All docs

Getting started

Base URL

The base URL for every request, the /v1 path rule, and request timeouts.

Updated

Base URL by client

ClientBase URL
OpenAI SDK · Cursor · opencodehttps://api.everyais.com/v1
Anthropic SDK · Claude Codehttps://api.everyais.com

OpenAI-compatible clients append paths such as /chat/completions, so include /v1. The Anthropic SDK appends /v1/messages itself, so omit /v1. Duplicating the prefix, such as /v1/v1/messages, returns 404.

Configuring timeouts

There is no single guaranteed HTTP completion deadline across all API paths. Response times depend on the model, input, provider-specific limits, waiting, and retries. Set an explicit client timeout; if you lose the response, check the result and billing before retrying.

Streaming delivers output incrementally. Closing the connection does not guarantee immediate cancellation of the provider's work or zero billing. Do not assume synchronous generation, images, or video share a streaming deadline.

Poll video jobs using their returned job ID, or set background: true for asynchronous Responses. See streaming, async jobs, and retry decisions.

Request body size

RequestBody limit
Chat · Messages · Responses5 MiB
Image editing — entire multipart body4 MiB
Image editing — JSON5 MiB
General requests, including image and video generation1 MiB

Exceeding a limit returns 413 request_too_large. One MiB is 1,048,576 bytes. Multipart boundaries and fields count toward the body limit along with the files.

Public resources

The OpenAPI spec, documentation index, and full documentation are available without authentication. Browse the model directory, then use GET /v1/models to find models available to your key.