GetTokens
Live on Solana
DEVELOPERS

One endpoint.
Every model.

Use your GetTokens API key with an OpenAI-compatible request.

QUICKSTART

Your first request

After purchasing credits, copy the API key shown at checkout and send it as a bearer token.

curl https://gettokens.fun/api/v1/chat/completions \
  -H "Authorization: Bearer tf_your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4.1-mini","messages":[{"role":"user","content":"Hello"}]}'
BALANCE

Check remaining credits

curl https://gettokens.fun/api/balance \
  -H "Authorization: Bearer tf_your_key"