Three steps to your first call
You have an API key. Add $1 of credit and this page takes you all the way to a real answer. This page gets you from "key in hand" to "a real answer and a correct bill" in about two minutes. If any step fails, the error codes are at the bottom.
1Copy your key
In the console, open API keys and copy the key that starts with sk-fg-. Treat it like a password; anyone with it can spend your balance.
2Run one request
Paste this into a terminal, replacing the key. It costs a fraction of a cent.
Any OpenAI SDK works too. Set base_url to https://tapixai.com/v1 and api_key to yours.
3Check two things in the response
1) The model field should be a real upstream id rather than the alias you sent. That is how you know what answered. 2) Open Usage in the console: the billed amount should match tokens × the published price on the price page.
If both match, you are done. Pick a model from the catalog and build.
!If it fails
401 wrong or revoked key. 402 balance empty, or a payment is still under review. 404 base URL missing /v1. 429 rate limit or concurrency, back off and retry. 400 model_not_in_catalog means the id does not exist; copy it from /models.
Still stuck? Reply to the welcome email or use the chat widget. A human answers.