Pricing Average
Returns the average cost and training time of an autotrained model.
URL
GET https://api.synodic.ai/v0/pricing/average
Example Request
- Bash
- Python
- Node.js
- Rust
curl -X GET "https://api.synodic.ai/v0/pricing/average"
import requests
response = requests.get("https://api.synodic.ai/v0/pricing/average")
print(response.json())
const axios = require('axios');
axios.get("https://api.synodic.ai/v0/pricing/average")
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
use reqwest;
fn main() {
let client = reqwest::blocking::Client::new();
let response = client.get("https://api.synodic.ai/v0/pricing/average")
.send()
.expect("Failed to send request");
println!("{:?}", response.text());
}
Example Response
{
"average_cost": 2.5446468611850963,
"average_time": 1520.5537514615387
}