Get an API key
Sign in at app.wafer.ai to add credits and create an API key. Store your key securely.Connect
Anthropic-style clients can send the key as
x-api-key: <YOUR_WAFER_API_KEY> instead.
Send a request
Choose an API
Chat Completions is the primary API. Every model supports it, and it has the widest feature set. Responses and Messages are compatibility APIs for clients that already speak those formats.
To use an SDK, point the OpenAI SDK’s base URL at
https://pass.wafer.ai/v1, or the Anthropic SDK’s base URL at https://pass.wafer.ai, and pass your Wafer API key.
Available models
List available models and their capabilities:id in your requests. See Models and Capabilities for context limits, per-API capability flags, reasoning efforts, and pricing.
Zero Data Retention
To require Zero Data Retention for a request, addWafer-ZDR: required. See Zero Data Retention for supported models and requirements.
Reference
- Errors and Rate Limits: error format, error codes, retries, and
429handling. - Usage and Billing: token usage in responses, prompt caching, and billing.