stop
. A content_filter
status means the content was blocked due to detection of suspected unapproved use cases.
Monthly Access Charge:
$100, which includes $20 of token credits each month.
Utilization Costs:
Input tokens: $0.018 per 1,000 tokens (approximately 770 words).
Output tokens: $0.045 per 1,000 tokens (approximately 770 words).
Speech-to-Text Conversion: $0.73 per hour of audio.
Specifications:
Tokens per minute: 100,000.
Requests per minute: 800.
Context limit: 50,000 tokens.
Cache size: 15MB.
Service Level Agreement (SLA): 99.9% uptime.
Available Regions:
Eastern US
Western US
Canada (Quebec)
Australia
Streaming:
Currently, streaming of responses is not supported.
Allowed Use Cases:
Prior approval is required to ensure ethical and compliant use.
https://api.bastiongpt.com/v1/ChatCompletion
POST /v1/ChatCompletion HTTP/1.1
Host: api.bastiongpt.com
Content-Type: application/json
Key: ab12345678901234567890123456
{
"messages": [{"role": "user", "content": "What is a normal BP?"}],
"max_tokens": 1000,
"temperature": 0,
"user": "C0001"
}
{
"id": "s7RzpHeOFnpM",
"created": 1709442176,
"model": "bastiongpt",
"choices": [
{
"finish_reason": "stop",
"message": {
"content": "A normal blood pressure (BP) for an adult is generally considered to be in the range of 90/60 mmHg to 120/80 mmHg..."
}
}
],
"usage": {
"prompt_tokens": 30,
"completion_tokens": 383,
"total_tokens": 413
},
"environment": "development"
}