29.05.2026

How to choose a model and send your first request via the GPT API

The Serverspace control panel provides a wide range of modern artificial intelligence models from different providers. Before sending your first request, it is important to choose the appropriate model depending on the task — speed, response quality, context window, and cost.

Available models at the moment

 

The list of models in the Serverspace control panel is constantly being updated

Parameter configuration and request execution

After selecting a model, a menu will open where you can manage API keys and model parameters to achieve the best results.

The following settings are available:

 

API endpoint

The following endpoint is used for sending requests:

https://gpt.serverspace.io/v1/chat/completions

Example of the first request

To make a request via the GPT API, you need to form an HTTP request using the selected API key and model. The cURL format is commonly used:

curl https://gpt.serverspace.io/v1/chat/completions
-H "Content-Type: application/json"
-H "Authorization: Bearer YOUR_API_KEY"
-d '{
"model": "gpt-5.4-mini",
"messages": [
{
"role": "user",
"content": "Hello! Explain how the GPT API works."
}
],
"temperature": 0.6,
"top_p": 0.1,
"max_tokens": 500
}'

After executing the request, you will receive the model response in JSON format, which can be used in your application or service.