Quickstart
Get Up and running in just a few clicks
Last updated
Get Up and running in just a few clicks
Last updated
Register at cortecs.ai and follow these steps to set up your account:
Fill out your billing address in the profile page and press Save.
Enter your credit card details.
Increase your account balance. Press Top up to increase your account balance.
If your balance reaches zero, your instances will be discontinued. To avoid this, use Auto top-up to set an amount that is automatically transferred when your balance falls below a specified threshold.
To start a model, follow these steps:
Select a model from our catalog.
Ensure the model fits your needs by reviewing the quality assessment.
Start the model and wait until the status indicates it is running. This setup process can take a few minutes to complete.
Our endpoints are compatible with OpenAI API by default. We assume you have either Python or Node.js setup. This example is based on meta-llama/Meta-Llama-3.1-8B-Instruct but works for all models supported by cortecs.
OpenAI provides Python and Node.js libraries that are compatible with cortecs endpoints. First, install the library:
Query the model by calling the completion endpoint. Don't forget to set your API key, the model URL, and the model name.
LangChain is a powerful Python library for building LLM-based applications. It is recommended when you have more complex use cases.
Query the model by calling the completion endpoint. Don't forget to set your API key, the model URL, and the model name.
Optionally follow the langchain docs to:
The model initialization can take up to 20 minutes, depending on the model size. To speed up the initialization process, consider using smaller models, or models that are available for Instant provisioning.