Claude (Anthropic) API

Anthropic's Claude family — strongest for reasoning, code, and long-context tasks

chat by Anthropic · 14 variants available
Get API key See pricing
Starting price
$0.3850
per million tokens · Claude-Haiku-4-5, chat, Input
Pay-as-you-go · No subscription · $10 minimum top-up · One API key for 14 variants + 307 total models

Overview

Claude by Anthropic is the leading AI assistant for reasoning, coding, and long-context tasks. AI Generate provides pay-per-call access to all Claude models including Haiku 4.5, Sonnet 4.5/4.6, and Opus 4.5/4.6 without monthly commitments.

All 14 Claude (Anthropic) variants & pricing

Every variant is accessible via the same API endpoint. Switch variants by changing the model parameter. No extra setup.

Variant Credits Price USD Unit
Claude-Haiku-4-5, chat, Input 55.00 $0.3850 per million tokens Details →
Claude-Sonnet-4-6, chat, Input 170.00 $1.1900 per million tokens Details →
claude-sonnet-4-5, Chat, Input 170.00 $1.1900 per million tokens Details →
Claude-Opus-4-7, chat, Input 285.00 $1.9950 per million tokens Details →
claude-opus-4-5, Chat, Input 285.00 $1.9950 per million tokens Details →
Claude-Haiku-4-5, chat, Output 285.00 $1.9950 per million tokens Details →
Claude-Opus-4-6, chat, Input 285.00 $1.9950 per million tokens Details →
Claude-Opus-4-8, chat, Input 400.00 $2.8000 per million tokens Details →
claude-sonnet-4-5, Chat, Output 855.00 $5.9850 per call Details →
Claude-Sonnet-4-6, chat, Output 855.00 $5.9850 per million tokens Details →
Claude-Opus-4-7, chat, Output 1430.00 $10.0100 per million tokens Details →
Claude-Opus-4-6, chat, Output 1430.00 $10.0100 per million tokens Details →
claude-opus-4-5, Chat, Output 1430.00 $10.0100 per million tokens Details →
Claude-Opus-4-8, chat, Output 2000.00 $14.0000 per milion tokens Details →

Use Claude (Anthropic) via API

Example call with the default variant. Replace model with any slug from the table above.

curl https://aimarcusimage.eu/api/v1/chat/completions \
  -H "Authorization: Bearer sk-aig-..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic-claude-haiku-4-5-chat-input",
  "messages": [
    {
      "role": "user",
      "content": "Hello from AI Generate"
    }
  ]
}'

FAQ

How much does Claude (Anthropic) cost?

Pricing starts at $0.3850 per million tokens for the most affordable variant. You pay per call from your credit balance — no monthly subscription, no minimum commitment. Starter top-up is $10 → 1,430 credits.

Is this an official Anthropic API?

AI Generate is an AI model aggregator that routes calls to Anthropic's upstream API. You get the exact same model outputs with simpler billing (pay per call, no contracts), one API key for 307 models, and the same OpenAI-compatible request shape across all providers.

Can I use Claude (Anthropic) in production?

Yes. The endpoint is rate-limited to 20 requests per 10 seconds per API key, retries are idempotent via taskId, and async results are delivered via polling or webhook. Set a spend cap in dashboard settings to protect against runaway usage.

Which Claude (Anthropic) variant should I pick?

For first tests, start with the cheapest variant (lowest "Price USD" in the table above). Upgrade to higher-resolution or "Quality" tiers only when you have validated prompts. The Playground lets you A/B test all variants with the same per-call pricing as the API.

OpenAI GPT-5
OpenAI's latest flagship model family — GPT-5 and all Codex variants
Google Gemini
Google's Gemini 2.5 and 3.x family — fast, multimodal, with long context