deepseek-ai/DeepSeek-R1-Distill-Llama-70Bmodel is good for reasoning.meta-llama/Llama-2-70b-chat-hfmodel is good for basic use-cases.meta-llama/Llama-3.3-70B-Instructmodel is good for multi-step tasks.
Authentication
Set yourDEEPINFRA_API_KEY environment variable. Get your key from here.
Example
UseDeepInfra with your Agent:
View more examples here.
Params
DeepInfra also supports the parameters of OpenAI.