genpark-image-token-cost-calculator-skill
mcp
Warn
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Pass
- Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Multi-modal vision token cost and tile decomposition calculator for OpenAI, Anthropic, and Google architectures
README.md
genpark-image-token-cost-calculator-skill
Vision token budget and tile decomposition estimator for OpenAI GPT-4o, Claude 3.5 Sonnet, and Gemini multimodal architectures.
Architecture
flowchart TD
Dim[Image Dimensions W x H] --> Scaler[Aspect-Preserving Scaler]
Scaler --> Tiler[512x512 Tile Decomposer]
Tiler --> Tokens[Token Summation: Tiles * 170 + Base]
Tokens --> Cost[Estimated USD Cost Output]
Features
- Accurate Tile Math: Replicates exact tiling logic used by model API providers.
- Detail Toggle: Supports high and low detail vision modes.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found