List available models and pricing
curl --request GET \
--url https://api.impossibl.com/v1/modelsimport requests
url = "https://api.impossibl.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.impossibl.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.impossibl.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.impossibl.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.impossibl.com/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.impossibl.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{
"object": "list",
"data": [
{
"id": "anthropic/claude-sonnet-4-5",
"object": "model",
"owned_by": "<string>",
"providers": [
"azure",
"openai"
],
"provider_details": [
{
"provider": "<string>",
"options": [
{
"region": "<string>",
"context_window": 2,
"supports_tools": true,
"route_count": 2
}
]
}
],
"released_at": "2023-12-25",
"release_source": "<string>",
"description": "<string>",
"description_sources": [
{
"title": "<string>",
"url": "<string>"
}
],
"benchmarks": {
"summary": true,
"detailPath": "/v1/models/openai/gpt-6-astra/benchmarks",
"source": "Artificial Analysis",
"status": "available",
"checkedAt": "2023-11-07T05:31:56Z",
"fetchedAt": "2023-11-07T05:31:56Z",
"nextCheckAt": "2023-11-07T05:31:56Z",
"errors": [
"<string>"
],
"variants": [
{
"slug": "<string>",
"name": "<string>",
"source": "<string>",
"data": {},
"pageRecords": [
{}
],
"api": {}
}
]
},
"context_window": 123,
"output_modality": "text",
"input_modalities": [
"text"
],
"output_modalities": [
"<string>"
],
"endpoints": [
"<string>"
],
"pricing": {
"input_per_mtok_usd": 123,
"output_per_mtok_usd": 123,
"audio_input_per_minute_usd": 123,
"audio_input_per_mtok_usd": 123
}
}
]
}API Reference
List available models and pricing
GET
/
v1
/
models
List available models and pricing
curl --request GET \
--url https://api.impossibl.com/v1/modelsimport requests
url = "https://api.impossibl.com/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.impossibl.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.impossibl.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.impossibl.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.impossibl.com/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.impossibl.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{
"object": "list",
"data": [
{
"id": "anthropic/claude-sonnet-4-5",
"object": "model",
"owned_by": "<string>",
"providers": [
"azure",
"openai"
],
"provider_details": [
{
"provider": "<string>",
"options": [
{
"region": "<string>",
"context_window": 2,
"supports_tools": true,
"route_count": 2
}
]
}
],
"released_at": "2023-12-25",
"release_source": "<string>",
"description": "<string>",
"description_sources": [
{
"title": "<string>",
"url": "<string>"
}
],
"benchmarks": {
"summary": true,
"detailPath": "/v1/models/openai/gpt-6-astra/benchmarks",
"source": "Artificial Analysis",
"status": "available",
"checkedAt": "2023-11-07T05:31:56Z",
"fetchedAt": "2023-11-07T05:31:56Z",
"nextCheckAt": "2023-11-07T05:31:56Z",
"errors": [
"<string>"
],
"variants": [
{
"slug": "<string>",
"name": "<string>",
"source": "<string>",
"data": {},
"pageRecords": [
{}
],
"api": {}
}
]
},
"context_window": 123,
"output_modality": "text",
"input_modalities": [
"text"
],
"output_modalities": [
"<string>"
],
"endpoints": [
"<string>"
],
"pricing": {
"input_per_mtok_usd": 123,
"output_per_mtok_usd": 123,
"audio_input_per_minute_usd": 123,
"audio_input_per_mtok_usd": 123
}
}
]
}⌘I

