Set the environment API Key
Make sure to get your API key from DeepInfra. You have to Login and get a new token. You are given a 1 hour free of serverless GPU compute to test different models. For more information, see the deepctl documentation. You can print your token withdeepctl auth token
Create the DeepInfra instance
You can also use our open-source deepctl tool to manage your model deployments. You can view a list of available parameters on the DeepInfra model API page.Create a Prompt template
We will create a prompt template for Question and Answer.Initiate the LLMChain
Run the LLMChain
Provide a question and run the LLMChain.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

