List active models
curl --request GET \
--url https://api.fetchhive.com/v1/public/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fetchhive.com/v1/public/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fetchhive.com/v1/public/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.fetchhive.com/v1/public/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 => [
"Authorization: Bearer <token>"
],
]);
$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.fetchhive.com/v1/public/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.fetchhive.com/v1/public/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fetchhive.com/v1/public/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "gpt-4.1",
"name": "GPT 4.1",
"slug": "gpt-4-1",
"provider": "openai",
"provider_name": "OpenAI",
"context_limit": 1047576,
"model_type": "llm",
"is_image_generation": false,
"is_vision": true,
"is_reasoning": false,
"is_tool_calling": true,
"is_json_schema": true
}
]{
"error": "Invalid access."
}Models
List active models
Returns all active (non-deprecated) LLM and image-generation models available in Fetch Hive as a flat array. Excludes embedding-only models.
provider identifies the underlying model maker (e.g. openai, anthropic, minimaxai).
model_type is "llm" for chat/text models and "image_generation" for
models that generate images. is_vision means a model accepts image input;
is_image_generation means a model generates images.
is_reasoning is true when the model supports reasoning capabilities.
GET
/
v1
/
public
/
models
List active models
curl --request GET \
--url https://api.fetchhive.com/v1/public/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fetchhive.com/v1/public/models"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fetchhive.com/v1/public/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.fetchhive.com/v1/public/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 => [
"Authorization: Bearer <token>"
],
]);
$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.fetchhive.com/v1/public/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.fetchhive.com/v1/public/models")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fetchhive.com/v1/public/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "gpt-4.1",
"name": "GPT 4.1",
"slug": "gpt-4-1",
"provider": "openai",
"provider_name": "OpenAI",
"context_limit": 1047576,
"model_type": "llm",
"is_image_generation": false,
"is_vision": true,
"is_reasoning": false,
"is_tool_calling": true,
"is_json_schema": true
}
]{
"error": "Invalid access."
}Authorizations
Workspace API key sent as Authorization: Bearer <api_key>.
Response
models returned
Example:
"gpt-4.1"
Example:
"GPT 4.1"
Example:
"gpt-4-1"
Example:
"openai"
Example:
"OpenAI"
Example:
1047576
Available options:
llm, image_generation Example:
"llm"
Example:
false
Example:
true
Example:
false
Example:
true
Example:
true
Was this page helpful?

