stop
. A content_filter
status means the content was blocked due to detection of suspected unapproved use cases.
Monthly Access Charge:
60-day trial, including $20 in credits
Afterwards, $100 per month, which includes $50 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: 400,000.
Requests per minute: 1,500.
Context limit: 200,000 tokens.
Direct ingestion of files other than text or audio is not supported.
Cache size: 15MB.
Service Level Agreement (SLA): 99.9% uptime.
Available Regions:
Eastern US
Western US
Canada (Quebec)
Australia
Allowed Use Cases:
Prior to generation of API keys, 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"
}