Description
AFM-4.5B is a 4.5 billion parameter instruction-tuned language model developed by Arcee AI. The model was pretrained on approximately 8 trillion tokens, including 6.5 trillion tokens of general data and 1.5 trillion tokens with an emphasis on mathematical reasoning and code generation.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Arcee AI: AFM 4.5B (arcee-ai/afm-4.5b)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "arcee-ai/afm-4.5b",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Arcee AI: AFM 4.5B model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.048$ / 1M tokens
- Output: 0.15$ / 1M tokens
Token Limits
- Max Output: 65,536 tokens
- Max Context: 65,536 tokens
Subscription Tiers
- free
- pro
- ultimate