Test whether your OpenAI-compatible API works. Fully static page, encrypted key storage, never leaves your browser.
δΈζ | English
- π Live Demo: api-hero.pages.dev
- π¬ Linux.do: linux.do
- Smart Paste β Paste a config block, auto-extract Base URL, API Key, and Model name
- Provider Management β Manage API configs per provider. Rename, delete, refresh model lists
- Auto Fetch Models β Pull all available models from a provider in one click
- Model Probe β Select a model from your saved providers, check which support it, and test connectivity individually or in batch
- AES-GCM Encryption β API keys encrypted locally using the browser's native Web Crypto API
- Connection Test β Send a message to verify API availability. Supports step-by-step Ping diagnostics (DNS β HTTPS β Auth β Model)
- Batch Test β Test all saved providers' models in one click
- Multi-Platform Export β Export individual or all providers as OpenAI .env / Codex CLI / Claude Code / Antigravity / OpenClaw / cURL / Python / JSON
- ZIP Export β Export all provider configs as individual JSONs packed into a ZIP
- Import Config β Import
.json/.env/.toml/.yamlfiles, auto-saved on import - Smart URL Handling β Auto-normalizes Base URL with or without
/v1, trailing slashes, etc. - CORS Proxy β Built-in Cloudflare Workers proxy to bypass API provider CORS restrictions
- Bilingual β Chinese by default, English toggle in the top-right corner
- Onboarding β Interactive guided tour for first-time visitors
Visit the live demo, or open index.html locally.
Some features (model fetching, connection tests) may be limited by CORS when opened locally. The online version is recommended.
- Fully static frontend. Cloudflare Workers only forwards requests
- API keys are AES-GCM encrypted and stored in localStorage
- No data is collected or uploaded
If you find this useful, buy me a coffee β
- π³ PayPal
MIT
β If you like it, give it a Star