Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/iofold/ainative-claude-pluginsnpx agentmods add skills/iofold/ainative-claude-plugins/ai-models-gatewayWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/iofold/ainative-claude-plugins/ai-models-gateway)<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/ai-models-gateway"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/ai-models-gateway/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/iofold/ainative-claude-plugins/ai-models-gateway"><img src="https://agentmods.dev/badge/skills/iofold/ainative-claude-plugins/ai-models-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01699 |
| Opus 5.5 | $0.00031 | $0.00680 |
| Sonnet 5.5 | $0.00015 | $0.00340 |
| Haiku 4.5 | $0.00008 | $0.00170 |
Grade A, and why
ai-models-gateway scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Models & Cloudflare AI Gateway
Overview
This skill provides current (2025-2026) AI model information, pricing comparisons, and guidance on using Cloudflare AI Gateway as a unified endpoint for OpenAI, Google, and Anthropic.
Helper script: scripts/lib/openai-helper.ts - Lightweight OpenAI-compatible client for hooks/scripts
Reference Files
For detailed information, consult:
references/models.ts- TypeScript definitions with all model IDs, gateway strings, pricing, and helper functionsreferences/api-parameters.md- Detailed API parameters, constraints, and provider-specific nuances
Quick Model Selection
| Use Case | Recommended Model | Price (Input/MTok) | Context |
|---|---|---|---|
| Cheapest | gpt-5-nano |
$0.05 | 400K |
| Budget + 1M context | gemini-2.5-flash-lite |
$0.10 | 1M |
| Balanced | gpt-5-mini, gemini-2.5-flash |
$0.25-0.30 | 400K-1M |
| Flagship | gpt-5.4, gemini-3.1-pro-preview |
$2.00-2.50 | 1M+ |
| Code/agentic | gpt-5, claude-sonnet-4-6 |
$1.25-3.00 | 200K-400K |
| Maximum intelligence | gpt-5.4-pro, claude-opus-4-6 |
$5.00-30.00 | 200K-1M |
| Long context (1M+) | gemini-2.5-flash, gpt-5.4 |
$0.30-2.50 | 1M+ |
| Image generation | gemini-3.1-flash-image-preview (Nano Banana 2) |
$0.50 | 1M |
| Image gen (max quality) | gemini-3-pro-image-preview (Nano Banana Pro) |
$2.00 | 1M |
Model Selection Decision Tree
Is cost the primary concern?
├── Yes → gpt-5-nano ($0.05) or gemini-2.5-flash-lite ($0.10, 1M context)
│
├── Need long context (>400K)?
│ ├── Budget → gemini-2.5-flash (1M, $0.30)
│ └── Quality → gpt-5.4 (1.05M, $2.50)
│
├── Need maximum intelligence?
│ ├── OpenAI → gpt-5.4-pro ($30, xhigh reasoning)
│ └── Anthropic → claude-opus-4-6 ($5)
│
├── Code/agentic tasks?
│ └── gpt-5 ($1.25) or claude-sonnet-4-6 ($3)
│
└── Balanced quality/cost?
└── gpt-5-mini ($0.25) or gemini-3-flash-preview ($0.50)
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -1 lines · -54 tokens per session 167fa128a8af
- 3mo ago First seen · 151 lines · 131 tokens per session scan A a3c6700a1710
ai-models-gateway is a skill published in the GitHub repository iofold/ainative-claude-plugins (3 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 1,699 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
ai-models-gateway compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-models-gatewayiofold/ainative-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 77 | Claude Code |
| open-sourcebrowser-use/browser-use | Skill | 122k | yesterday | MIT | A | 101 | Claude Code |
| gemini-api-agent-platformdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 61 | Claude Code, Codex |
| prowler-mcpprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 67 | Claude Code |
| deepstream-sopNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 219 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| gemini-api-devgoogle-gemini/gemini-skills | Skill | 5.0k | 11d ago | Apache-2.0 | A | 96 | Claude Code |