Skip to main content
GET
/
v1
/
models
List public models
curl --request GET \
  --url https://api.caprioletech.com/v1/models
import requests

url = "https://api.caprioletech.com/v1/models"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.caprioletech.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.caprioletech.com/v1/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.caprioletech.com/v1/models"

req, _ := http.NewRequest("GET", url, nil)

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.caprioletech.com/v1/models")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.caprioletech.com/v1/models")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "data": [
    {
      "id": "openai-latest"
    },
    {
      "id": "openai/gpt-5.6-terra"
    },
    {
      "id": "openai/gpt-5.6-luna"
    },
    {
      "id": "openai/gpt-5.5"
    },
    {
      "id": "openai/gpt-5.4-mini"
    },
    {
      "id": "claude-latest"
    },
    {
      "id": "anthropic/claude-fable-5"
    },
    {
      "id": "anthropic/claude-opus-4-8"
    },
    {
      "id": "anthropic/claude-opus-4-7"
    },
    {
      "id": "anthropic/claude-opus-4-6"
    },
    {
      "id": "anthropic/claude-sonnet-4-6"
    },
    {
      "id": "google-latest"
    },
    {
      "id": "google/gemini-3.1-pro-preview"
    },
    {
      "id": "google/gemini-3.5-flash"
    },
    {
      "id": "xai/grok-4.5"
    },
    {
      "id": "zai/glm-5.2"
    }
  ]
}
{
"detail": "Rate limit exceeded: 100 per 1 minute"
}
{
"detail": "An internal server error occurred. Please try again later."
}
Use this endpoint to retrieve the current public model catalog. The catalog includes provider-level latest aliases before concrete model IDs:
  • openai-latest
  • claude-latest
  • google-latest
Use a latest alias when you want Capriole AI to choose our recommended flagship model for that provider. Use a concrete model ID when you need one exact model version.
Model choiceBest for
openai-latest, claude-latest, google-latestConfigure once and let Capriole AI keep you on the recommended flagship
Concrete model IDs such as openai/gpt-5.6-terraPin one exact model version
Latest aliases resolve as follows on POST /v1/chat and POST /v1/chat/completions:
Latest aliasResolves to
openai-latestopenai/gpt-5.6-terra
claude-latestanthropic/claude-fable-5
google-latestgoogle/gemini-3.1-pro-preview
EndpointLatest aliases
POST /v1/chatopenai-latest, claude-latest, google-latest
POST /v1/chat/completionsopenai-latest, claude-latest, google-latest
POST /v1/responsesopenai-latest
POST /v1/messagesclaude-latest
POST /v1/messages/count_tokensclaude-latest
Anthropic Messages endpoints also accept bare concrete Claude Messages IDs such as claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, and claude-sonnet-4-6. On POST /v1/messages and POST /v1/messages/count_tokens, claude-latest remains pinned to claude-opus-4-8 for Claude Code compatibility. Use the bare alias IDs shown above. Provider prefixes such as openai/openai-latest are client-side selector patterns, not Capriole AI model IDs.

Response

Public model list

data
object[]
required