llm-models-reference
Reference guide for OpenAI model IDs, capabilities, pricing, and provider endpoints. Use when selecting a model, comparing OpenAI capabilities, or validating model IDs for {{PROJECT_NAME}}.
When & Why to Use This Skill
The llm-models-reference skill is a comprehensive technical resource designed for developers and engineers working with OpenAI's ecosystem. It provides a centralized, up-to-date reference for model IDs, capability matrices, pricing structures, and API endpoints. By combining static documentation with automated scripts to fetch live data, it ensures that your project uses the most accurate and cost-effective model configurations.
Use Cases
- Model Selection & Comparison: Evaluate different OpenAI models (e.g., GPT-4o vs. GPT-3.5) based on their specific capabilities, context windows, and pricing to optimize performance and cost.
- API Configuration Validation: Use the reference guide to verify model IDs and provider endpoints, preventing deployment errors and ensuring seamless integration within your codebase.
- Automated Data Maintenance: Execute the included Python scripts to programmatically fetch the latest model updates directly from the OpenAI API, keeping your local documentation synchronized with official releases.
- Cost Estimation: Access detailed pricing information for various models to calculate projected API expenses and manage budget constraints for LLM-powered applications.
| name | llm-models-reference |
|---|---|
| description | Reference guide for OpenAI model IDs, capabilities, pricing, and provider endpoints. Use when selecting a model, comparing OpenAI capabilities, or validating model IDs for {{PROJECT_NAME}}. |
OpenAI Models Reference
Use this skill as a pointer to the full reference document.
Project context: Fill placeholders in this skill and the reference doc using codex/PROJECT_CONTEXT.md.
Quick Start
python codex/skills/llm-models-reference/scripts/check_reference_age.py- Read
codex/skills/llm-models-reference/references/llm-models.mdfor model lineups, pricing, capability matrices, and API examples.
Bundled Resources
References
references/llm-models.md: OpenAI model IDs, pricing, capability matrices, API examples.
Scripts
scripts/check_reference_age.py: check last-updated age.scripts/fetch_openai_models.py: fetch current OpenAI models via API.
Fetching Latest Models
Requires an OpenAI API key in the environment:
export OPENAI_API_KEY="sk-..."
python codex/skills/llm-models-reference/scripts/fetch_openai_models.py