Quick Migration
Python
Before (OpenAI)
After (llm.kiwi)
Node.js
Before (OpenAI)
After (llm.kiwi)
Model Mapping
Map OpenAI models to llm.kiwi equivalents:| OpenAI Model | llm.kiwi Equivalent | Notes |
|---|---|---|
gpt-4 | gpt-oss-20b | High capability open variant |
gpt-4-turbo | gpt-oss-20b | Balanced performance |
gpt-3.5-turbo | default | Fast routing |
gpt-4o-mini | default | Model-lite routing |
API Compatibility
llm.kiwi supports most OpenAI endpoints:| Endpoint | Status |
|---|---|
/v1/chat/completions | ✅ Full support |
/v1/images/generations | ✅ Full support |
/v1/audio/transcriptions | ✅ Full support |
/v1/models | ✅ Full support |
/v1/embeddings | ⚠️ Coming soon |
/v1/assistants | ⚠️ Coming soon |
Feature Compatibility
| Feature | Supported |
|---|---|
| Streaming | ✅ |
| JSON Mode | ✅ (Pro) |
| Function Calling | ✅ (Pro) |
| Vision (image input) | ✅ (Pro) |
| Temperature/Top P | ✅ |
| Max Tokens | ✅ |
Environment Variables
Update your environment configuration:Before
After
Framework-Specific Guides
LangChain
Python
LlamaIndex
Python
Vercel AI SDK
TypeScript
Testing Your Migration
Verify your migration works correctly:Python
Common Issues
Model names don't work
Model names don't work
OpenAI model names don’t work directly. Use llm.kiwi models:
gpt-4→gpt-oss-20b(or other Pro models)gpt-3.5-turbo→default
Missing features
Missing features
Some newer OpenAI features may not be available yet. Check our API Reference for current support.
Rate limits differ
Rate limits differ
llm.kiwi has different rate limits. Review Rate Limits for your tier.
Need Help?
Contact support if you encounter migration issues.