- Call an open-source model — run models hosted on Inference.net directly.
- Proxy through Catalyst — route requests to any provider (OpenAI, Anthropic, etc.) through the Catalyst gateway for observability, evals, and cost tracking.
- Call your custom model — hit a model you’ve fine-tuned and deployed on the platform.
Get an API Key
1
Create an account
Visit inference.net and create an account.
2
Create an API key
On the dashboard, go to the API Keys tab in the left sidebar. Create a new key or use the default key.
3
Set the environment variable
1. Call an Open-Source Model
Run open-source models hosted on Inference.net. No provider API key needed — just your Inference API key. Browse available models at inference.net/models.2. Proxy Through Catalyst
Route requests to any LLM provider (OpenAI, Anthropic, Groq, etc.) through the Catalyst gateway. You keep your existing provider API key — the gateway adds observability, cost tracking, and eval-readiness with roughly 10ms of added latency. Your Inference project API key authenticates with the gateway. Your provider API key is forwarded to the provider via thex-inference-provider-api-key header.
For detailed setup guides per provider (Anthropic, Groq, Cerebras, OpenRouter, and more), see the Integrations docs.
3. Call Your Custom Model
Hit a model you’ve fine-tuned and deployed on Inference.net. The model path is your team slug followed by the deployment name, shown on your deployment’s detail page in the dashboard.Learn more about deploying models in the Deploy docs.
Headers Reference
Supported Request Parameters
The API supports the standard OpenAI chat completions parameters:Need a parameter that isn’t listed here? Contact us and we’ll add it.
Next Steps
Integrations
Set up Catalyst with OpenAI, Anthropic, Groq, and other providers.
Structured Outputs
Get typed JSON responses from your API calls.
Batch Processing
Process up to 50,000 requests in a single batch job.
Browse Models
Explore all models available on Inference.net.