tokscale_competitive_intel
Analyze any AI tool's competitive position using local usage data. Get rank, cost profile, and head-to-head comparisons against all competitors.
Instructions
Competitive intelligence for any AI tool company. Pass a target tool (by tokscale client slug like 'claude', 'codex', 'devin-cli' or canonical platform name like 'devin', 'other') and get: the target's rank by tokens among all detected tools, its full profile (tokens, cost, model mix, cache_read_pct, cost_per_million_tokens, market share), and a head-to-head comparison against every competitor (each competitor's tokens, cost, model_count, share, cost_per_million_tokens). Returns market_totals for context. If the target is not found, lists all detected clients. Use this to benchmark one AI tool against its competitors on this machine. All data is local — this is your own usage, not aggregate market data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | The AI tool to analyze. Accepts a tokscale client slug (e.g. 'claude', 'codex', 'devin-cli', 'copilot') or a canonical platform name (e.g. 'devin', 'claude', 'other'). Case-insensitive. To discover valid slugs, call tokscale_market_share first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present if tokscale is unavailable or target is empty | |
| found | No | Whether the target was found in local data | |
| target | No | The resolved target slug(s) | |
| competitors | No | All other detected tools with comparison metrics | |
| market_totals | No | Aggregate market context: { tokens, cost, messages, tool_count } | |
| rank_by_tokens | No | Target's rank among all detected tools by token volume | |
| target_profile | No | Target's full usage profile with model mix and market share |