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.
Token Costs:
Input tokens: $0.018 per 1,000 tokens.
Output tokens: $0.045 per 1,000 tokens.
Specifications:
Tokens per minute: 30,000.
Requests per minute: 160.
Context limit: 7,850 tokens.
Cache size: 15MB.
Service Level Agreement (SLA): 99.9% uptime.
Available Regions:
Southern UK (additional $50/mo)
Eastern US
Western US
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"
}