3,686 prompts from top AI collections
← Back to Market
[LIVE] [KamillyAgent/puter-free-api] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,132 characters
Status: [LIVE] Endpoints found: https://api.puter.com/puterai/openai/v1/` Source: https://github.com/KamillyAgent/puter-free-api # puter-free-api A **fully OpenAI-compatible free AI API proxy** that wraps [Puter](https://puter.com)'s free AI tier (`https://api.puter.com/puterai/openai/v1/`) and serves it as a Vercel-hosted serverless endpoint. Any tool, SDK, or framework that speaks the OpenAI `/v1/chat/completions` shape works out of the box — just point it at this URL and you're done. ## Why? - 🆓 **Free** — Puter currently exposes a no-auth free tier; this proxy gives it a stable HTTPS URL. - 🔌 **Drop-in** — works with the official `openai` Python/Node SDKs, LangChain, LlamaIndex, etc. - 🔁 **Streaming** — OpenAI-style SSE (`data: {…}\n\n` chunks ending with `data: [DONE]`). - 🔐 **Optional auth** — set `API_KEY` to gate your endpoint. - ⚡ **Serverless** — deployed on Vercel, scales to zero when idle. ## Endpoints | Method | Path | Description | |--------|------|-------------| | `GET` | `/` | Health/info JSON with endpoint docs | | `GET` | `/v1/models` | OpenAI-style model list | | `POST` | `/v1/chat/completions` | OpenAI chat completions (streaming + non-streaming) | ## Supported models `gpt-5-nano` (default), `claude-sonnet-4-5`, `gemini-2.5-flash-lite`, `grok-4-1-fast`, `deepseek-chat`. ## OpenAI-SDK usage (drop-in) ```js import OpenAI from 'openai'; const client = new OpenAI({ baseURL: 'https://<your-vercel-url>/v1', apiKey: 'anything-or-your-API_KEY', // your static API_KEY if you set one }); const resp = await client.chat.completions.create({ model: 'gpt-5-nano', messages: [{ role: 'user', content: 'Say PONG and nothing else' }], }); console.log(resp.choices[0].message.content); ``` Streaming works the same way — just pass `stream: true`. ## Setup (Vercel env vars) In your Vercel project settings → Environment Variables, set: | Variable | Required? | Purpose | |----------|-----------|---------| | `PUTER_AUTH_TOKEN` | **Yes** | The Puter auth token used to call the upstream Puter API. Get one from [puter.c
Download .txt