Quickstart
From no key to your first answer.
Create a key
Sign in to the console and create a key on API keys. It is shown once: keep it in an environment variable.
export HACKROUTER_KEY=hr-...New accounts get free credit to start, once per email address.
Send a request
Use any model ID from Models. The examples call deepseek-v4-pro.
curl https://api.hackrouter.ai/v1/chat/completions \
-H "Authorization: Bearer $HACKROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{ "role": "user", "content": "Hello" }]
}'See it in the console
The request shows up under Requests with its tokens, timing and charge. Charges reach your balance within a minute or two.