estimate_ai_cost
Estimate token count and USD API cost of a text across major AI models (OpenAI GPT, Anthropic Claude, Google Gemini), and whether it fits each context window. Token counts are approximate. Pass text, or tokens directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| tokens | No | ||
| output_tokens | No | Expected reply length in tokens (default: same as input) |