Quick start
Get an API key
Section titled “Get an API key”- Open Inference in the Valgix dashboard.
- Select Set up billing under Overview and complete Polar Checkout.
- Once billing is active, open API keys and select Create API key.
- Copy the key when it appears. Inference shows its full value once.
Billing and usage · Manage and rotate API keys.
Discover models
Section titled “Discover models”Replace YOUR_API_KEY with the key you just created.
curl --fail-with-body https://inference.valgix.com/v1/models \ -H "Authorization: Bearer YOUR_API_KEY"A successful response lists the available model IDs.
Send a request
Section titled “Send a request”curl --fail-with-body https://inference.valgix.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ --data '{ "model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Explain what DNS does in one sentence."}], "max_tokens": 256 }'Read the generated text at choices[0].message.content. After generation, check the token counts under Overview in the dashboard.
For Responses, Anthropic Messages, or a coding client, continue with the API reference or the integration directory.
