AURA-1 chip design archive: docs, blog, research folders, tiny-gpu work, GDS viewer
7858a76 verified |
Download wafer_AI/docs/serverless.md from sangramrout/Chip_Design: direct link, hf CLI and curl.
- Browser
- Download file 2.19 kB
-
https://huggingface.co/datasets/sangramrout/Chip_Design/resolve/main/wafer_AI/docs/serverless.md
- Command line
-
hf download hf://datasets/sangramrout/Chip_Design/wafer_AI/docs/serverless.md
-
curl -L -o serverless.md https://huggingface.co/datasets/sangramrout/Chip_Design/resolve/main/wafer_AI/docs/serverless.md
2.19 kB
| > ## Documentation Index | |
| > Fetch the complete documentation index at: https://docs.wafer.ai/llms.txt | |
| > Use this file to discover all available pages before exploring further. | |
| # Serverless | |
| > Pay-as-you-go access to Wafer models through OpenAI-compatible and Anthropic-compatible APIs. | |
| Wafer Serverless gives you pay-as-you-go access to Wafer-hosted models through the same inference endpoint used across Wafer products. Load credits, mint an API key, and pay per token with no subscription window. | |
| ## Connection Details | |
| | | | | |
| | --------------------------------- | --------------------------------------------- | | |
| | **OpenAI-compatible endpoint** | `https://pass.wafer.ai/v1` | | |
| | **Anthropic-compatible endpoint** | `https://pass.wafer.ai/v1/messages` | | |
| | **Send your API key as** | `Authorization: Bearer <key>` | | |
| | **Request-scoped ZDR** | Add `Wafer-ZDR: required` on direct API calls | | |
| ## API Capabilities | |
| Serverless supports request-scoped privacy and advanced completion controls: | |
| * [API Reference](/serverless/api-reference) | |
| * [Zero Data Retention](/serverless/zero-data-retention) | |
| * [Tokenized Completions and Constrained Decoding](/serverless/tokenized-completions) | |
| * [Metrics API](/serverless/metrics-api) | |
| * [Usage API](/serverless/usage-api) | |
| ## Models | |
| Call `GET https://pass.wafer.ai/v1/models` to see the currently public Serverless catalog. Each model card includes whether the model supports ZDR. | |
| ```bash theme={null} | |
| curl -sS "https://pass.wafer.ai/v1/models" \ | |
| -H "Authorization: Bearer <YOUR_WAFER_API_KEY>" | |
| ``` | |
| The public catalog only lists models that are ready for general use. Some routed models may be available by allowlist before they appear in the public catalog. | |
| ## Agent Setup | |
| For Claude Code, Codex, Cline, Roo Code, and other harnesses, see [Agent Setup](/serverless/setup). | |
| ## Router Setup | |
| For Vercel AI Gateway, OpenRouter, and TrueFoundry AI Gateway, see [Router Setup](/serverless/router-setup). | |
| For direct curl requests and request parameters, see [API Reference](/serverless/api-reference). | |