Observed since 21 Oct, 11:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Single source of truth for AI model availability
Your single source of truth for AI model IDs across all major providers.
Stop your code from breaking when AI providers update, rename, or deprecate models. AI Model Registry tracks the latest model IDs so your applications and agents stay up-to-date automatically.
AI providers constantly update their models:
Without AI Model Registry:
With AI Model Registry:
pip install ai-model-registry
No installation needed! Use the REST API directly:
curl https://ai-model-registry.vercel.app/latest/openai
from ai_model_registry import get_latest_model, get_all_models
# Get the recommended model for a provider
model = get_latest_model("anthropic")
print(model) # claude-sonnet-4-20250514
# Get all models with status
models = get_all_models(provider="openai", status="active")
# Get recommended model for a provider
curl https://ai-model-registry.vercel.app/latest/anthropic
# Get all models
curl https://ai-model-registry.vercel.app/models
# Get OpenAI models only
curl https://ai-model-registry.vercel.app/models?provider=openai
# Get only active models
curl https://ai-model-registry.vercel.app/models?status=active
# Get specific model details
curl https://ai-model-registry.vercel.app/models/openai/gpt-4o
| Endpoint | Description |
|---|---|
GET / | API info and available endpoints |
GET /providers | List all supported providers |
GET /models | Get all models (optional: ?provider= ?status=) |
GET /models/{provider}/{model_id} | Get specific model details |
GET /latest/{provider} | Get recommended model for provider |
GET /health | Health check |
{
"provider": "anthropic",
"model_id": "claude-sonnet-4-20250514",
"status": "active",
"context": 200000,
"updated": "2025-01-24"
}
| Status | Description |
|---|---|
active | Current, recommended for use |
legacy | Still works, but newer version available |
deprecated | Will be removed soon |
Create a .cursorrules file in your project root to ensure Cursor AI always uses the latest model IDs:
# AI Model Registry Integration
# This ensures all AI API calls use current model IDs
Before writing any code that calls AI provider APIs (OpenAI, Anthropic, Google, Mistral, Groq):
1. Check ai-model-registry for the latest model IDs
2. Use: curl https://ai-model-registry.vercel.app/latest/{provider}
3. Never hardcode model IDs - always verify they are current
Providers to check:
- OpenAI: https://ai-model-registry.vercel.app/latest/openai
- Anthropic: https://ai-model-registry.vercel.app/latest/anthropic
- Google: https://ai-model-registry.vercel.app/latest/google
- Mistral: https://ai-model-registry.vercel.app/latest/mistral
- Groq: https://ai-model-registry.vercel.app/latest/groq
Add to your documentation site or developer portal:
Create a button: "Generate .cursorrules for my project"
This button generates a .cursorrules file that:
Example Implementation:
// When button clicked, generate and download .cursorrules file
function generateCursorRules() {
const content = `# AI Model Registry Integration
Before writing code with AI APIs, check: https://ai-model-registry.vercel.app/latest/{provider}`;
const blob = new Blob([content], { type: 'text/plain' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = '.cursorrules';
a.click();
}
# Clone the repository
git clone https://github.com/Venkatesh188/ai_model_registry.git
cd ai_model_registry
# Install dependencies
pip install -r requirements.txt
# Run the API
uvicorn api.index:app --reload
Open http://localhost:8000/docs for interactive API documentation (Swagger UI).
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
How to contribute:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)What to contribute:
MIT - See LICENSE for details.
Made with ❤️ for the AI developer community
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 1 Feb 2026 | 4 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 11:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:1036b37c208fc9ac1013e602c620044a503c9f99aacb717ef5a833d0afb9f8cb