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.
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 cortecs/phi-4-FP8-Dynamic but works for all models supported by cortecs.
Accessing your model requires an API key, which you get on your profile page. Once we have a key we'll want to set our environment variables by running:
You can use popular libraries provided by OpenAI for Python or Node.js. First, install the library:
Query the model by calling the completion endpoint. Don't forget to pass your API key and the model URL if you didn't set them as environment variable already.
LangChain is another powerful Python library for building LLM-based applications. It is popular for more complex use cases.
Query the model by calling the completion endpoint. Don't forget to pass your API key and the model URL if you didn't set them as environment variable already.
Optionally follow the langchain docs to:
For more advanced use cases and easier instance management, check out our client library cortecs-py.
The model initialization can take up to 10 minutes, depending on the model size. To speed up the initialization process, consider using smaller models, or models that are available for Instant provisioning.