Migrating from OpenAI
Assisters API is fully compatible with the OpenAI API specification. Migration typically takes just a few minutes.Quick Migration
The only changes needed are:- Base URL: Change to
https://api.assisters.dev/v1 - API Key: Use your Assisters key (starts with
ask_) - Model Names: Update to Assisters model IDs
Model Mapping
| OpenAI Model | Assisters Equivalent | Notes |
|---|---|---|
gpt-4 | llama-3.3-70b | Best quality (FREE via Groq) |
gpt-4-turbo | llama-3.3-70b | Fast + quality (FREE via Groq) |
gpt-3.5-turbo | llama-3.1-8b | Best value |
text-embedding-ada-002 | bge-m3 | 1024 dimensions, multilingual (FREE) |
text-embedding-3-large | bge-m3 | Best quality, 100+ languages (FREE) |
Environment Variables
Update your environment configuration:SDK Configuration
Python
JavaScript/TypeScript
cURL
Feature Compatibility
Fully Supported
| Feature | Status |
|---|---|
| Chat Completions | ✅ Full support |
| Streaming | ✅ Full support |
| Embeddings | ✅ Full support |
| Moderations | ✅ Full support |
| Models List | ✅ Full support |
Not Yet Supported
| Feature | Alternative |
|---|---|
| Function Calling | Use system prompts for structured output |
| Vision (Images) | Coming soon |
| Audio (Whisper) | Use specialized services |
| Assistants API | Use our chat API with context management |
| Fine-tuning | Contact us for custom models |
Response Format
Responses follow the exact OpenAI format:Migration Checklist
Create Account
Sign up at assisters.dev and get your API key
Common Migration Issues
Function Calling Not Working
Function Calling Not Working
Function calling is not yet supported. Use structured prompts instead:
Model Not Found Error
Model Not Found Error
Ensure you’re using Assisters model IDs, not OpenAI model names:
Different Response Quality
Different Response Quality
Open-source models may respond differently. Adjust your prompts:
- Be more explicit in instructions
- Use system messages to set context
- Test different models for your use case
Rate Limit Differences
Rate Limit Differences
Assisters has different rate limits. Check your tier:
| Tier | RPM | TPM |
|---|---|---|
| Free | 10 | 100K |
| Developer | 100 | 1M |
Gradual Migration
For production systems, consider a gradual rollout:Cost Comparison
| Use Case | OpenAI | Assisters | Savings |
|---|---|---|---|
| 1M chat tokens | ~$30 (GPT-4) | $0.90 | 97% |
| 1M embeddings | ~$0.13 | $0.01 | 92% |
| 1M moderations | ~$0.002 | $0.20 | - |
Calculate Your Savings
Use our pricing calculator to estimate your cost savings