List models
Every chat model you can call, with prices and limits.
GET
https://api.atlaso.ai/v1
/
models
List models
curl --request GET \
--url https://api.atlaso.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.atlaso.ai/v1/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.atlaso.ai/v1/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.atlaso.ai/v1/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.atlaso.ai/v1/models")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.atlaso.ai/v1/models");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"object": "list",
"data": [
{
"id": "openai/gpt-5.4-mini",
"object": "model",
"created": 123,
"owned_by": "openai",
"name": "GPT-5.4 mini",
"provider": "openai",
"maker": "openai",
"kind": "chat",
"context_length": 123,
"max_completion_tokens": 123,
"pricing": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
},
"pricing_labels": {
"prompt": "$0.15",
"completion": "$0.60",
"input_cache_read": "$0.015",
"input_cache_write": "Not stated"
},
"supported_parameters": [
"tools"
],
"abilities": {
"tools": true,
"vision": true,
"reasoning": true,
"structured_output": true,
"tool_mode": "yes"
},
"available": true,
"where_it_runs": {
"tag": "<string>",
"tooltip": "<string>",
"promised": true,
"includes_mainland_china": true
},
"deployment": {
"tag": "<string>",
"tooltip": "<string>",
"dedicated_available": true
},
"price_version": "<string>",
"next_price": {
"effective_from": "<string>",
"price_version": "<string>",
"prices": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
},
"long_context": {
"above_input_tokens": 123,
"prices": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
}
},
"price_modifiers": [
{}
]
},
"snapshot_of": "openai/gpt-5.6-sol",
"providers": [
"<string>"
]
}
]
}{
"error": {
"message": "Your Atlaso API key is missing, invalid or revoked. Set Authorization: Bearer to an active key from the API keys page.",
"type": "authentication_error",
"param": null,
"code": "invalid_api_key",
"doc_url": "https://docs.atlaso.ai/gateway/errors#invalid_api_key"
}
}{
"error": {
"message": "The Atlaso API is not enabled for this account yet. No model call was made.",
"type": "permission_error",
"param": null,
"code": "gateway_not_enabled",
"doc_url": "https://docs.atlaso.ai/gateway/errors#gateway_not_enabled"
}
}{
"error": {
"message": "Too many requests on this Atlaso key. Retry after the indicated delay; no model call was made.",
"type": "rate_limit_error",
"param": null,
"code": "rate_limited",
"doc_url": "https://docs.atlaso.ai/gateway/errors#rate_limited"
}
}{
"error": {
"message": "Atlaso could not check your API key right now. Retry shortly; no model call was made.",
"type": "api_error",
"param": null,
"code": "auth_unavailable",
"doc_url": "https://docs.atlaso.ai/gateway/errors#auth_unavailable"
}
}Each model id here is the exact value to send as
model. See Models for how hosts and prices are chosen.Authorizations
Query Parameters
List models
curl --request GET \
--url https://api.atlaso.ai/v1/models \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.atlaso.ai/v1/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.atlaso.ai/v1/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.atlaso.ai/v1/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.atlaso.ai/v1/models")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.atlaso.ai/v1/models");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"object": "list",
"data": [
{
"id": "openai/gpt-5.4-mini",
"object": "model",
"created": 123,
"owned_by": "openai",
"name": "GPT-5.4 mini",
"provider": "openai",
"maker": "openai",
"kind": "chat",
"context_length": 123,
"max_completion_tokens": 123,
"pricing": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
},
"pricing_labels": {
"prompt": "$0.15",
"completion": "$0.60",
"input_cache_read": "$0.015",
"input_cache_write": "Not stated"
},
"supported_parameters": [
"tools"
],
"abilities": {
"tools": true,
"vision": true,
"reasoning": true,
"structured_output": true,
"tool_mode": "yes"
},
"available": true,
"where_it_runs": {
"tag": "<string>",
"tooltip": "<string>",
"promised": true,
"includes_mainland_china": true
},
"deployment": {
"tag": "<string>",
"tooltip": "<string>",
"dedicated_available": true
},
"price_version": "<string>",
"next_price": {
"effective_from": "<string>",
"price_version": "<string>",
"prices": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
},
"long_context": {
"above_input_tokens": 123,
"prices": {
"currency": "USD",
"unit": "per_million_tokens",
"prompt": "0.15",
"completion": "0.60",
"input_cache_read": "0.015",
"input_cache_write": null
}
},
"price_modifiers": [
{}
]
},
"snapshot_of": "openai/gpt-5.6-sol",
"providers": [
"<string>"
]
}
]
}{
"error": {
"message": "Your Atlaso API key is missing, invalid or revoked. Set Authorization: Bearer to an active key from the API keys page.",
"type": "authentication_error",
"param": null,
"code": "invalid_api_key",
"doc_url": "https://docs.atlaso.ai/gateway/errors#invalid_api_key"
}
}{
"error": {
"message": "The Atlaso API is not enabled for this account yet. No model call was made.",
"type": "permission_error",
"param": null,
"code": "gateway_not_enabled",
"doc_url": "https://docs.atlaso.ai/gateway/errors#gateway_not_enabled"
}
}{
"error": {
"message": "Too many requests on this Atlaso key. Retry after the indicated delay; no model call was made.",
"type": "rate_limit_error",
"param": null,
"code": "rate_limited",
"doc_url": "https://docs.atlaso.ai/gateway/errors#rate_limited"
}
}{
"error": {
"message": "Atlaso could not check your API key right now. Retry shortly; no model call was made.",
"type": "api_error",
"param": null,
"code": "auth_unavailable",
"doc_url": "https://docs.atlaso.ai/gateway/errors#auth_unavailable"
}
}