Modelflare

claude-sonnet-5

Explore Claude Sonnet 5 API pricing, Anthropic Messages access and OpenAI-compatible requests. Review model groups and integration requirements.

API

  • anthropic
  • openai

Models & Pricing

Prices are in USD. The listed group rate applies before any request-specific multiplier. Your account may have different access or discounts.

GroupPriceConditionsUnitPrice
claude-awardInputStandardPer 1M tokensUSD 0.5
claude-awardOutputStandardPer 1M tokensUSD 2.5
claude-awardCache ReadStandardPer 1M tokensUSD 0.05
claude-awardCache WriteStandardPer 1M tokensUSD 0.625
claude-first-topupInputStandardPer 1M tokensUSD 0.06
claude-first-topupOutputStandardPer 1M tokensUSD 0.3
claude-first-topupCache ReadStandardPer 1M tokensUSD 0.006
claude-first-topupCache WriteStandardPer 1M tokensUSD 0.075
claude-premiumInputStandardPer 1M tokensUSD 1
claude-premiumOutputStandardPer 1M tokensUSD 5
claude-premiumCache ReadStandardPer 1M tokensUSD 0.1
claude-premiumCache WriteStandardPer 1M tokensUSD 1.25
claude-stableInputStandardPer 1M tokensUSD 0.63
claude-stableOutputStandardPer 1M tokensUSD 3.15
claude-stableCache ReadStandardPer 1M tokensUSD 0.063
claude-stableCache WriteStandardPer 1M tokensUSD 0.7875
claude-tmp-cheapInputStandardPer 1M tokensUSD 0.12
claude-tmp-cheapOutputStandardPer 1M tokensUSD 0.6
claude-tmp-cheapCache ReadStandardPer 1M tokensUSD 0.012
claude-tmp-cheapCache WriteStandardPer 1M tokensUSD 0.15

Integration guide

Use the Anthropic Messages request shape with an Anthropic-compatible client, or select a listed OpenAI-compatible endpoint for an existing application. Authentication headers, output limits and streaming events depend on the selected protocol.

Request example

Set MODELFLARE_API_KEY in your local environment and adapt this example to your application. Sending a request consumes your account quota.

curl https://modelflare.dev/v1/messages \
  -H "x-api-key: $MODELFLARE_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
       "model": "claude-sonnet-5",
       "max_tokens": 1024,
       "messages": [
         {
           "role": "user",
           "content": "Explain quantum entanglement in one paragraph."
         }
       ]
     }'

Read the integration documentation

Frequently asked questions

Which price applies to my request?

Use the price for your model group and billing unit in the table. Input, output and cached tokens may have different rates. Media specifications and request conditions can change the quote; the final charge is recorded in usage logs.

Can I use my existing API client?

Check the supported endpoints on this page. Point a compatible client at Modelflare, use a Modelflare API key and keep the model ID exactly as shown. Protocol compatibility does not imply that every provider-specific parameter is available.

Why might a listed model be unavailable to my key?

Model-group access, API-key restrictions, balance and request limits are checked separately from the public catalog. Review your account permissions and the returned error before retrying.

claude-first-topup

Exclusive Claude pricing unlocked when any single top-up reaches US$50. Ideal for personal development, feature validation, and light usage.