Skip to content
docs

FAQ

As <provider>/<model> from the GET /v1/models catalog, for example anthropic/claude-sonnet-4.6. A name without the provider is accepted by /v1/messages (Claude models) and /v1/systemone (TypeSafe models); see Model ID format. waibee/auto leaves the choice of model to the router; see Autorouting.

Three: OpenAI Chat Completions (POST /v1/chat/completions), OpenAI Responses (POST /v1/responses), and Anthropic Messages (POST /v1/messages). How they differ: Three request formats.

Models of other classes have two more endpoints: embeddings in OpenAI Embeddings format (POST /v1/embeddings) and decisions in System One API format (POST /v1/systemone).

With an sk_live_... key in the Authorization: Bearer header. /v1/messages also accepts x-api-key. See Authentication.

Set "stream": true. Chat Completions and Responses end the stream with the line data: [DONE], and Messages with the message_stop event. Event formats: Streaming and Responses.

Yes, on all three endpoints: in reasoning_effort on /v1/chat/completions, in output_config.effort on /v1/messages, and in reasoning.effort on /v1/responses. The router passes the level to the model, and whether it accepts max depends on the model. See Reasoning.

Yes, on all three endpoints, with up to 10,000 tools per request. Of the server tools, only web search works. See Tool calling.

Can I get a response that strictly follows a JSON Schema?

Section titled “Can I get a response that strictly follows a JSON Schema?”

Yes: response_format with the type json_schema on /v1/chat/completions, and output_config.format on /v1/messages. See Structured outputs.

There is no fixed limit per key. You get 429 when the model has limited the request rate (provider_rate_limited) or the key’s spending limit is used up (api_key_limit_exceeded). What to do in each case: Request rate.

Yes. Claude models cache when you add a cache_control marker, and OpenAI models cache a repeated prefix on their own. See Prompt caching.

The body can be up to 100 MB, one attachment up to 50 MB, and the text up to 15 MB. A request holds up to 100,000 messages and up to 10,000 tools. Details: Limits.

In Errors. Chat Completions returns errors in OpenAI format, Messages in Anthropic format, and Responses in its own format with a param field.