FAQ
How do I specify the model?
Section titled “How do I specify the model?”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.
Which API formats are supported?
Section titled “Which API formats are supported?”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).
How do I authenticate?
Section titled “How do I authenticate?”With an sk_live_... key in the Authorization: Bearer header. /v1/messages also accepts x-api-key. See Authentication.
How do I turn on streaming?
Section titled “How do I turn on streaming?”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.
Is reasoning effort max supported?
Section titled “Is reasoning effort max supported?”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.
Is tool calling supported?
Section titled “Is tool calling supported?”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.
Is there a requests-per-second limit?
Section titled “Is there a requests-per-second limit?”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.
Is there prompt caching?
Section titled “Is there prompt caching?”Yes. Claude models cache when you add a cache_control marker, and OpenAI models cache a repeated prefix on their own. See Prompt caching.
What are the request limits?
Section titled “What are the request limits?”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.
Where can I find the error codes?
Section titled “Where can I find the error codes?”In Errors. Chat Completions returns errors in OpenAI format, Messages in Anthropic format, and Responses in its own format with a param field.