No free usage allowance: The Forge LLMs API does not include a free monthly usage quota. All token usage is billed.
Forge LLMs usage is charged to the developer of the Forge app and counted toward your Forge monthly bill.
Forge LLMs billing follows a three-step process:
On your bill, you see two line items: input credits and output credits. You can also see a detailed breakdown of usage per model in the developer console.
Credits are charged per model, not per model tier. Each model has its own input and output token-to-credit conversion rate, so two models in the same family can be priced differently. For example, Sonnet 5 uses fewer credits per token than Sonnet 4.6.
The model IDs in this table correspond to the Claude models listed in Forge LLMs models.
The following table shows how many credits each model consumes per 1 million tokens. The USD columns show the effective cost after applying the credit billing rates below.
| Model | Input credits per 1M tokens | Output credits per 1M tokens | Effective cost per 1M input tokens ($USD) | Effective cost per 1M output tokens ($USD) |
|---|---|---|---|---|
Opus 5.5 (claude-opus-5-5) | 40 credits | 40 credits | $4 | $20 |
Opus 5 (claude-opus-5) | 50 credits | 50 credits | $5 | $25 |
Opus 4.8 (claude-opus-4-8) | 50 credits | 50 credits | $5 | $25 |
Opus 4.7 (claude-opus-4-7) | 50 credits | 50 credits | $5 | $25 |
Opus 4.6 (claude-opus-4-6) | 50 credits | 50 credits | $5 | $25 |
Sonnet 5.5 (claude-sonnet-5-5) | 20 credits | 20 credits | $2 | $10 |
Sonnet 5 (claude-sonnet-5) | 20 credits | 20 credits | $2 | $10 |
Sonnet 4.6 (claude-sonnet-4-6) | 30 credits | 30 credits | $3 | $15 |
Sonnet 4.5 (claude-sonnet-4-5-20250929) | 30 credits | 30 credits | $3 | $15 |
Haiku 5.5 (claude-haiku-5-5) | 5 credits | 5 credits | $0.50 | $2.50 |
Haiku 4.5 (claude-haiku-4-5-20251001) | 10 credits | 10 credits | $1 | $5 |
The list method of the @forge/llm SDK returns a ModelListResponse. Each entry in models includes the model's current credit rates in the pricing field:
1 2 3 4 5 6 7 8 9 10 11 12 13 14{ "models": [ { "model": "claude-sonnet-5", "status": "active", "class": "sonnet", "pricing": { "inputCreditsPerMillionTokens": 20, "outputCreditsPerMillionTokens": 20 } } ] }
1 2 3 4 5 6 7 8 9 10 11import { list } from '@forge/llm'; try { const { models } = await list(); for (const { model, pricing } of models) { console.log(model, pricing.inputCreditsPerMillionTokens, pricing.outputCreditsPerMillionTokens); } } catch (err) { console.error('Failed to list models', err); }
Use these values, rather than the model's tier, to estimate costs in your app.
Credits are billed at the following rates:
Suppose your app consumes the following tokens in a given month:
Multiply the token count (in millions) by the model's input or output rate from the table:
Apply the credit billing rates:
Rate this page: