Step 1: Get your API key
Go to the Dashboard and create an API key. If you’re logged in, examples throughout the docs will have your token pre-filled.Step 2: Make your first API call
That’s it
You’re using the OpenAI Chat Completions API — the same interface you already know. The only changes are:- Base URL:
https://api.deepinfra.com/v1/openai - API key: your DeepInfra token
- Model: any model from our catalog
Install the SDK (optional)
Next steps
Chat Completions
Learn about the full chat completions API.
Streaming
Stream responses token by token.
Tool Calling
Give models access to external functions.
Model Catalog
Browse 100+ available models.