Questions worth asking
Everything people ask before trusting an app with their audio.
When exactly does the fallback engine take over?
Automatically on 429 rate limits, 402 out-of-credit or payment errors, 401/403 authentication failures, 5xx server errors, request timeouts, network faults, and empty transcripts. Genuine client errors such as unsupported or corrupt audio are reported immediately instead of being retried, because the next engine would reject them too.
Where do my API keys live?
Either in .env.local (or your hosting provider’s environment variables) on the server, or in an httpOnly cookie on your own device when you paste one on the settings page — your key always wins. The browser only ever calls this app’s own /api/transcribe route; the handler attaches the credentials server-side and never returns them in a response.
Is my audio stored anywhere?
No. Audio is buffered in memory for the duration of the request and forwarded to the provider. Nothing is written to disk, and no transcript is persisted by this app. If you use the large-file path, the object exists in Blob storage only until the transcript comes back, then it is deleted.
How large can a file be?
Up to 25 MB streams straight through the API route. Anything larger is uploaded straight from your browser to Vercel Blob — bypassing the serverless 4.5 MB body limit entirely — and deleted the instant the transcript comes back. The ceiling (MAX_UPLOAD_MB) is configurable.
Which languages are supported?
Deepgram Nova-2 handles 30+ languages natively, and AssemblyAI detects the language on its own. If you pick a language Nova-2 does not support (Arabic, for example), that request is switched to auto-detection rather than failing; Speechmatics is skipped for that attempt because it requires an explicit language.
Can I deploy this to Vercel?
Yes — and it was designed for it. Add the engine keys as project environment variables, plus BLOB_READ_WRITE_TOKEN to switch on large-file uploads. Provider timeouts are clamped to the function budget automatically, so a slow provider degrades into a clean error instead of a killed function.
Can I install it like a native app?
Yes. The app ships a web manifest and a service worker, so Android, iOS and desktop browsers offer “Add to Home Screen” or a dedicated install button. Once installed it opens full-screen, keeps its own icon, and the interface shell loads even when you are offline.
Is there a light theme and Arabic support?
Both. The theme toggle switches between light, dark and your system preference, and the language switcher flips the entire interface — including layout direction — between English and Arabic.
Troubleshooting
The errors you are most likely to actually see.
| “No speech-to-text engine is configured” | No key is set at all. Add at least one to .env.local and restart the dev server (env files are read at boot). |
|---|---|
| 413 FUNCTION_PAYLOAD_TOO_LARGE | The upload exceeded Vercel’s 4.5 MB body cap. Connect a Blob store so large files bypass the function. |
| 413 “inline upload limit” | Working as designed. Re-import the file (with a Blob store connected it routes through storage) or raise MAX_UPLOAD_MB. |
| 429 Too many transcription requests | Your own rate limit. Wait for the window or raise RATE_LIMIT_MAX. |
| 402 / AUTH in the attempt trail, transcript still returned | The fallback worked. Top up or rotate the failing engine’s key to restore it. |
| Microphone does nothing | Browsers require a secure context. http://localhost counts; a LAN IP over http does not. |
| Usage panel says “no API for usage” | Correct: Gladia and AssemblyAI publish usage only in their dashboards. Deepgram’s card needs a key with management scope; Speechmatics’ needs a key for the same region as SPEECHMATICS_BASE_URL. |
Bring your own API keys — nothing is logged or stored.