Browser-local API key & latency tester

Verify that your free API key works and measure response latency directly from your network.

Privacy guarantee: requests go directly from your browser to the provider endpoint. Your API key stays in memory only, is never stored, and is never sent to freellmapi.net.

Limits and setup

Terminal curl timing command (no CORS)

Uses $API_KEY as a placeholder so your key is never copied into shell history by accident.

curl -sS -o /tmp/llm_resp.json -w "HTTP %{http_code} | TTFB %{time_starttransfer}s | Total %{time_total}s\n" \
  https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemma-4-31b-it:free","messages":[{"role":"user","content":"Reply with OK and nothing else."}],"max_tokens":32}' && cat /tmp/llm_resp.json

Questions

Does freellmapi.net see or log my API key?
No. The test calls window.fetch straight from your browser to the chosen provider's base URL. There is no backend proxy route.
Why did a working API key fail with a CORS error in the browser?
Browsers enforce CORS headers on cross-origin requests, and several LLM providers only allow server-side or CLI calls. Use the generated curl command on this page to verify from your terminal.