Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
Fish Audio S2 Pro and Fish Audio Voice Cloning retire Nov 29, 2026. View the notice
Get details for one LLM by model ID: title, description, creation time, context size, and price per million input and output tokens.
cURL
curl --request GET \ --url https://api.novita.ai/openai/v1/models/{model} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: <content-type>'
import requests url = "https://api.novita.ai/openai/v1/models/{model}" headers = { "Content-Type": "<content-type>", "Authorization": "<authorization>" } response = requests.get(url, headers=headers) print(response.text)
const options = { method: 'GET', headers: {'Content-Type': '<content-type>', Authorization: '<authorization>'} }; fetch('https://api.novita.ai/openai/v1/models/{model}', 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.novita.ai/openai/v1/models/{model}", 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: <authorization>", "Content-Type: <content-type>" ], ]); $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.novita.ai/openai/v1/models/{model}" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Content-Type", "<content-type>") req.Header.Add("Authorization", "<authorization>") 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.novita.ai/openai/v1/models/{model}") .header("Content-Type", "<content-type>") .header("Authorization", "<authorization>") .asString();
require 'uri' require 'net/http' url = URI("https://api.novita.ai/openai/v1/models/{model}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Content-Type"] = '<content-type>' request["Authorization"] = '<authorization>' response = http.request(request) puts response.read_body
{ "created": 1789024319, "id": "deepseek/deepseek-v4.1-flash", "object": "model", "input_token_price_per_m": 3000, "output_token_price_per_m": 12000, "title": "deepseek/deepseek-v4.1-flash", "description": "", "context_size": 1048576 }
application/json