Model ID Cheatsheet

io.github.aezizhu由 GitHub 账号 aezizhu 发布v1.0.0更新于 Oct 24, 2026

Accurate API model IDs, pricing, and specs for 46 models across 7 AI providers.

发布方自己的服务:model.tools — Zero-Auth Agent Utilities

已验证SSE可网页运行开发者工具AI 与机器学习

概览

AI 生成的概览

一个只读的模型注册表 MCP 服务器,让助手查询多家 AI 供应商当前可用的 API 模型 ID、价格、规格和弃用状态。

可以做什么
查询模型的 API ID、价格、上下文窗口和能力,并检查其状态是现行、旧版还是已弃用,同时给出过时 ID 的替代建议。按供应商、状态或能力浏览和筛选注册表,并进行全文搜索。按任务和预算获取排序后的模型推荐,并对多个模型做并排比较。以资源形式读取完整注册表、仅现行模型列表或按价格从低到高排序的价格表。
适用场景
适合在助手编写包含模型 ID 的代码,或回答有哪些模型、价格多少、哪个最便宜或最适合某任务时使用,让回答基于持续维护的注册表而非训练数据。
运行要求
远程 SSE 端点(或 Streamable HTTP 端点),无需 API 密钥或身份验证;需要能访问托管服务器的网络。自托管为可选项,需要 Go 1.23+ 或 Docker。
安装前请注意
托管端点属于第三方基础设施,查询内容和你的 IP 会发送给该运营方;它按 IP 实施速率和连接数限制。注册表为只读且不发起外部调用,但数据来自公开文档的定期抓取,可能滞后于供应商的实际变更,关键模型 ID 请以官方文档核实。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Model ID Cheatsheet,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.aezizhu%2Fmodel-id-cheatsheet/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "model-id-cheatsheet": {
      "type": "sse",
      "url": "https://universal-model-registry-production.up.railway.app/sse"
    }
  }
}

README

[License: MIT] [Go] [Models] [Providers] [Tests]

Model ID Cheatsheet

Stop your AI coding agent from hallucinating outdated model names. This MCP server gives any AI assistant instant access to accurate, up-to-date API model IDs, pricing, and specs for 107 models across 19 providers.

Built in Go. Single 10MB binary. Zero external calls. Sub-millisecond responses. Auto-updated daily.

diff
- model = "gpt-4-turbo"           # Hallucinated - doesn't exist anymore+ model = "gpt-5.3-codex"         # Correct - verified against official docs
diff
- model = "claude-3-opus-20240229" # Deprecated+ model = "claude-opus-4-6"        # Current - latest Anthropic flagship

Quick Start

Pick one option below. You'll be up and running in under a minute.

Option A: Claude Code (one command)

bash
claude mcp add --transport sse --scope user model-id-cheatsheet \  https://universal-model-registry-production.up.railway.app/sse

Verify it works:

bash
claude mcp list# Should show: model-id-cheatsheet ... Connected

Then start a new Claude Code session and ask: "What's the latest OpenAI model?" - it will use the tools automatically.

Option B: Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "model-id-cheatsheet": {      "url": "https://universal-model-registry-production.up.railway.app/sse"    }  }}

Restart Cursor to pick up the change.

Option C: Windsurf

Add to Settings > MCP Servers (or edit ~/.codeium/windsurf/mcp_config.json):

json
{  "mcpServers": {    "model-id-cheatsheet": {      "serverUrl": "https://universal-model-registry-production.up.railway.app/sse"    }  }}

Option D: Codex CLI

Add to ~/.codex/config.toml:

toml
[mcp_servers.model-id-cheatsheet]command = "uvx"args = ["mcp-proxy", "--transport", "sse", "https://universal-model-registry-production.up.railway.app/sse"]

Option E: OpenCode

Add to ~/.config/opencode/opencode.json:

json
{  "$schema": "https://opencode.ai/config.json",  "mcp": {    "model-id-cheatsheet": {      "type": "remote",      "url": "https://universal-model-registry-production.up.railway.app/sse"    }  }}

Option F: Any MCP Client

Connect to the SSE endpoint directly (no API key, no auth):

https://universal-model-registry-production.up.railway.app/sse

Or use the Streamable HTTP transport:

https://universal-model-registry-production.up.railway.app/mcp

Verify Your Setup

Once connected, try asking your AI assistant any of these:

  • "What's the correct model ID for Claude Opus 4.6?"
  • "Is gpt-4o still available?"
  • "Compare gpt-5.2 vs claude-opus-4-6"
  • "What's the cheapest model with vision?"

If the agent calls a tool like get_model_info or check_model_status before answering, it's working.


How It Works

Your AI agent gains 6 tools that it calls automatically before writing any model ID:

ToolWhat It DoesExample Prompt
get_model_info(model_id)Full specs: API ID, pricing, context window, capabilities"What's the model ID for Claude Sonnet?"
list_models(provider?, status?, capability?)Browse and filter the registry"Show me all current Google models"
recommend_model(task, budget?)Ranked recommendations for a task"Best model for coding, cheap budget"
check_model_status(model_id)Verify if a model is current, legacy, or deprecated"Is gpt-4o still available?"
compare_models(model_ids)Side-by-side comparison table"Compare gpt-5.2 vs claude-opus-4-6"
search_models(query)Free-text search across all fields"Search for reasoning models"

Resources

URIDescription
model://registry/allFull JSON dump of all 107 models
model://registry/currentOnly current (non-deprecated) models as JSON
model://registry/pricingPricing table sorted cheapest-first (markdown)

What Happens Under the Hood

  1. You ask your agent to write code or answer a model question
  2. The agent automatically calls the appropriate tool (e.g., get_model_info)
  3. The server responds in sub-milliseconds with verified data (no external API calls)
  4. The agent writes code with the correct, current model ID

The server instructions tell the agent: "NEVER use a model ID from your training data without verifying it first." This means the agent will always check before writing.


Real-World Examples

Writing an API call:

python
# You: "Call the OpenAI API with their best coding model"# Agent calls: get_model_info("gpt-5.4")response = client.chat.completions.create(    model="gpt-5.4",  # Verified via model registry    messages=[...])

Catching deprecated models:

python
# You: "Use gpt-4o for this task"# Agent calls: check_model_status("gpt-4o")# Agent: "gpt-4o is deprecated. I'll use gpt-5 instead."response = client.chat.completions.create(    model="gpt-5",  # Updated automatically    messages=[...])

Finding the cheapest option:

python
# You: "Use the cheapest model that supports vision"# Agent calls: list_models(capability="vision", status="current")response = client.chat.completions.create(    model="gpt-5-nano",  # $0.05/$0.40 per 1M tokens    messages=[...])

Comparing options:

python
# You: "Should I use Claude or GPT for this?"# Agent calls: compare_models(["claude-opus-4-6", "gpt-5.2"])# Agent gets a side-by-side table and makes a recommendation

Resource Footprint

A common concern: "Will this slow down my agent or eat tokens?"

MetricValue
Binary size~10MB
Runtime memoryMinimal (static in-memory map, no database)
External API callsZero (all data is baked in)
Response timeSub-millisecond
Token cost per tool call~200-500 tokens (small text response)
Tool schema overhead~500-800 tokens in system prompt

For comparison, a single web search costs more tokens than all 6 tool schemas combined.


Covered Models (107 total)

Current Models (79)

ProviderModelsAPI IDs
OpenAI (15)GPT-5.4, GPT-5.4 Pro, GPT-5.3 Instant, GPT-5.2, GPT-5.2 Pro, GPT-5.1, GPT-5.1 Codex, GPT-5.1 Mini, GPT-5, GPT-5 Mini, GPT-5 Nano, GPT-4.1 Mini, GPT-4.1 Nano, o3, o4-minigpt-5.4, gpt-5.4-pro, gpt-5.3-chat-latest, gpt-5.2, gpt-5.2-pro, gpt-5.1, gpt-5.1-codex, gpt-5.1-mini, gpt-5, gpt-5-mini, gpt-5-nano, gpt-4.1-mini, gpt-4.1-nano, o3, o4-mini
Anthropic (4)Claude Opus 4.6, Claude Sonnet 4.6, Claude Sonnet 4.5, Claude Haiku 4.5claude-opus-4-6, claude-sonnet-4-6, claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001
Mistral (11)Mistral Large 3, Mistral Medium 3, Mistral Small 3.2, Mistral Saba, Ministral 3B, Ministral 8B, Ministral 14B, Magistral Small 1.2, Magistral Medium 1.2, Devstral 2, Devstral Small 2mistral-large-2512, mistral-medium-2505, mistral-small-2506, mistral-saba-2502, ministral-3b-2512, ministral-8b-2512, ministral-14b-2512, magistral-small-2509, magistral-medium-2509, devstral-2512, devstral-small-2512
Amazon (6)Nova Micro, Nova Lite, Nova Pro, Nova Premier, Nova 2 Lite, Nova 2 Proamazon-nova-micro, amazon-nova-lite, amazon-nova-pro, amazon-nova-premier, amazon-nova-2-lite, amazon-nova-2-pro
Google (5)Gemini 3.1 Pro, Gemini 3.1 Flash Lite, Gemini 3 Flash, Gemini 2.5 Pro, Gemini 2.5 Flashgemini-3.1-pro-preview, gemini-3.1-flash-lite-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-flash
Cohere (5)Command A, Command A Reasoning, Command A Vision, Command A Translate, Command R7Bcommand-a-03-2025, command-a-reasoning-08-2025, command-a-vision-07-2025, command-a-translate-08-2025, command-r7b-12-2024
xAI (4)Grok 4, Grok 4.1 Fast, Grok 4 Fast, Grok Code Fast 1grok-4, grok-4.1-fast, grok-4-fast, grok-code-fast-1
Microsoft (4)Phi-4, Phi-4 Multimodal, Phi-4 Reasoning, Phi-4 Reasoning Plusphi-4, phi-4-multimodal-instruct, phi-4-reasoning, phi-4-reasoning-plus
Perplexity (4)Sonar, Sonar Pro, Sonar Reasoning Pro, Sonar Deep Researchsonar, sonar-pro, sonar-reasoning-pro, sonar-deep-research
Moonshot (3)Kimi K2.5, Kimi K2 Thinking, Kimi K2 (0905)kimi-k2.5, kimi-k2-thinking, kimi-k2-0905-preview
Tencent (3)Hunyuan TurboS, Hunyuan T1, Hunyuan A13Bhunyuan-turbos, hunyuan-t1, hunyuan-a13b
Zhipu (3)GLM-5, GLM-4.7, GLM-4.7 FlashXglm-5, glm-4.7, glm-4.7-flashx
Meta (2)Llama 4 Maverick, Llama 4 Scoutllama-4-maverick, llama-4-scout
DeepSeek (2)DeepSeek Reasoner, DeepSeek Chatdeepseek-reasoner, deepseek-chat
NVIDIA (2)Nemotron 3 Nano 30B, Nemotron Ultra 253Bnvidia/nemotron-3-nano-30b-a3b, nvidia/llama-3.1-nemotron-ultra-253b-v1
AI21 (2)Jamba Large 1.7, Jamba Mini 1.7jamba-large-1.7, jamba-mini-1.7
MiniMax (2)MiniMax M2.5, MiniMax M2.5 Lightningminimax-m2.5, minimax-m2.5-lightning
Kuaishou (1)KAT-Coder Prokat-coder-pro
Xiaomi (1)MiMo V2 Flashmimo-v2-flash

Legacy & Deprecated Models (30)

Tracked so your agent can detect outdated model IDs and suggest current replacements:

  • OpenAI: gpt-5.3-codex (deprecated), gpt-5.2-codex (deprecated), gpt-5.1-codex-mini (deprecated), o3-pro (deprecated), o3-deep-research (deprecated), o3-mini (legacy), gpt-4.1 (deprecated), gpt-4o (deprecated), gpt-4o-mini (deprecated)
  • Anthropic: claude-opus-4-5 (legacy), claude-opus-4-1 (legacy), claude-opus-4-0 (legacy), claude-sonnet-4-0 (legacy), claude-3-7-sonnet-20250219 (deprecated)
  • Google: gemini-3-pro-preview (deprecated), gemini-3-pro-image-preview (deprecated), gemini-2.5-flash-lite (deprecated), gemini-2.0-flash-lite (deprecated), gemini-2.0-flash (deprecated)
  • xAI: grok-4.1 (deprecated), grok-3 (legacy), grok-3-mini (legacy)
  • Mistral: mistral-small-2503 (legacy), codestral-2508 (legacy)
  • MiniMax: minimax-m2.1 (legacy), minimax-01 (deprecated)
  • Meta: llama-3.3-70b (legacy)
  • DeepSeek: deepseek-r1 (legacy), deepseek-v3 (deprecated)
  • Zhipu: glm-4.6v (deprecated)

Self-Hosting

If you prefer to run the server locally instead of using the hosted endpoint:

Option 1: Build from Source (recommended for local use)

Requires Go 1.23+.

bash
git clone https://github.com/aezizhu/universal-model-registry.gitcd universal-model-registry/go-servergo build -o model-id-cheatsheet ./cmd/server

Then add it to Claude Code as a local stdio server (zero latency, no network):

bash
claude mcp add --scope user model-id-cheatsheet -- /path/to/model-id-cheatsheet

Or run in SSE mode for other clients:

bash
MCP_TRANSPORT=sse PORT=8000 ./model-id-cheatsheet# Endpoint: http://localhost:8000/sse

Option 2: Docker

bash
git clone https://github.com/aezizhu/universal-model-registry.gitcd universal-model-registrydocker build -t model-id-cheatsheet .docker run -p 8000:8000 model-id-cheatsheet

Your SSE endpoint will be at http://localhost:8000/sse.

Option 3: Deploy to Railway

[Deploy on Railway]

Or manually:

bash
railway loginrailway initrailway up

Staying Up to Date

Model data is automatically checked and updated daily at 7 PM Pacific Time -- no human intervention needed.

How it works:

  1. Railway cron runs the updater daily, scraping 6 providers' public documentation pages (no API keys needed)
  2. Models removed from docs --> auto-deprecated via PR (status changed to "deprecated" in code)
  3. New models detected --> GitHub issue created for review
  4. CI runs on the auto-generated PR --> if tests pass --> auto-merged into main
  5. Railway auto-deploys from main

No provider API keys required. The updater reads publicly available documentation pages to detect model changes. Only GITHUB_TOKEN and GITHUB_REPO are needed for creating PRs and issues.

Auto-Update Pipeline Details

Railway Cron (primary) -- The hosted instance uses a Railway cron service that runs the updater daily. See configs/railway-updater.toml for the configuration.

Required env vars (set in Railway dashboard):

  • GITHUB_TOKEN -- GitHub personal access token with repo scope
  • GITHUB_REPO -- Repository in "owner/repo" format (e.g. "aezizhu/universal-model-registry")

Providers checked (via public docs):

  • OpenAI (via GitHub SDK source), Anthropic, Google, Mistral, xAI, DeepSeek

CI/CD Workflows:

  • .github/workflows/ci.yml -- runs tests on every PR
  • .github/workflows/auto-merge.yml -- auto-merges bot PRs (labeled auto-update) after CI passes

GitHub Actions (alternative) -- A GitHub Actions workflow is also included at .github/workflows/auto-update.yml for users who self-host without Railway. No API keys needed -- only GITHUB_TOKEN (automatically provided by GitHub Actions).


Security

  • Rate limiting: 60 requests/minute per IP
  • Connection limits: Max 5 SSE connections per IP, 100 total
  • Request body limit: 64KB max
  • Input sanitization: All string inputs truncated to safe lengths
  • HTTP hardening: ReadTimeout 15s, ReadHeaderTimeout 5s, IdleTimeout 120s, 64KB max headers
  • Non-root Docker: Containers run as unprivileged user
  • Graceful shutdown: Clean connection draining on SIGINT/SIGTERM

Tech Stack

  • Language: Go 1.23
  • MCP SDK: github.com/modelcontextprotocol/go-sdk v1.3.0 (official)
  • Transports: stdio, SSE, Streamable HTTP
  • Binary size: ~10MB
  • Tests: 156 unit tests
  • Security: Per-IP rate limiting, connection limits, input sanitization
  • Deploy: Docker (alpine), Railway

Contributing

Contributions are welcome! Whether it's adding a new model, fixing data, or improving the server:

  1. Fork the repo and clone it locally
  2. Edit model data in go-server/internal/models/data.go
  3. Update test counts in go-server/internal/models/data_test.go
  4. Run the tests:
    bash
    cd go-server && go test ./... -v
  5. Submit a PR -- we'll review it quickly

If you spot an outdated model or incorrect pricing, opening an issue is just as helpful.

License

MIT

来源:README.md,提交 8e309b1

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Model 集成