List models
curl --request GET \
--url https://api.itellico.ai/v1/accounts/{account_id}/providers/models \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.itellico.ai/v1/accounts/{account_id}/providers/models"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.itellico.ai/v1/accounts/{account_id}/providers/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.itellico.ai/v1/accounts/{account_id}/providers/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.itellico.ai/v1/accounts/{account_id}/providers/models")
.header("X-API-Key", "<api-key>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.itellico.ai/v1/accounts/{account_id}/providers/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.itellico.ai/v1/accounts/{account_id}/providers/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"provider": {
"code": "<string>",
"name": "<string>",
"eu_hosted": false
},
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "",
"recommended": true,
"pricing": {
"additional_cost_per_minute": 123,
"tier": "<string>"
},
"settings": {
"temperature": {
"default": 123,
"min": 123,
"max": 123
},
"max_tokens": {
"default": 123,
"min": 123,
"max": 123
}
},
"latency_rating": 123,
"intelligence_rating": 123,
"latency_range": {
"min_ms": 123,
"max_ms": 123
}
}
]
}
]Providers
List models
List available models grouped by provider. Each provider entry includes its code, name, an EU-hosted flag, and a list of models with id, name, description, recommendation metadata, pricing, latency/intelligence ratings, latency ranges, and supported configuration ranges (temperature, max_tokens).
GET
/
v1
/
accounts
/
{account_id}
/
providers
/
models
List models
curl --request GET \
--url https://api.itellico.ai/v1/accounts/{account_id}/providers/models \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.itellico.ai/v1/accounts/{account_id}/providers/models"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.itellico.ai/v1/accounts/{account_id}/providers/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.itellico.ai/v1/accounts/{account_id}/providers/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.itellico.ai/v1/accounts/{account_id}/providers/models")
.header("X-API-Key", "<api-key>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.itellico.ai/v1/accounts/{account_id}/providers/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.itellico.ai/v1/accounts/{account_id}/providers/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"provider": {
"code": "<string>",
"name": "<string>",
"eu_hosted": false
},
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "",
"recommended": true,
"pricing": {
"additional_cost_per_minute": 123,
"tier": "<string>"
},
"settings": {
"temperature": {
"default": 123,
"min": 123,
"max": 123
},
"max_tokens": {
"default": 123,
"min": 123,
"max": 123
}
},
"latency_rating": 123,
"intelligence_rating": 123,
"latency_range": {
"min_ms": 123,
"max_ms": 123
}
}
]
}
]Was this page helpful?
⌘I