Model prices
AI model prices, straight from each provider
Published rates for 18 models from Google, OpenAI and Anthropic, priced in USD per million tokens, last checked 2026-11-15. On your own key the provider bills you directly, and Subbie adds no markup.
Price a prompt
In a long agent session the whole conversation is resent every turn, which means most input hits the cache after the first answer. The real counts appear under each answer.
All models
These are each provider's standard API rates for pay-as-you-go use, with no markup from Subbie, since your own key means the provider bills you. Rates move, so trust the linked sources over this page. "Cached in" is the rate for prompt text the provider saw recently; Anthropic adds a one-time charge to write the cache, and Subbie switches Anthropic caching on for you.
Anthropic models
| Model name | Input | Cached input | Cache write | Output | Remarks |
|---|---|---|---|---|---|
Claude Fable 5.2claude-fable-5-2 | $8 | $0.2 | $10 | $40 | |
Claude Opus 5.5claude-opus-5-5 | $4 | $0.2 | $5 | $20 | default |
Claude Sonnet 5.5claude-sonnet-5-5 | $2 | $0.1 | $2.5 | $10 | |
Claude Haiku 5.5claude-haiku-5-5 | $0.1 | $0.01 | $0.125 | $0.5 | Above 100,000 prompt tokens: input $0.5, output $2.5. |
Claude Opus 5claude-opus-5 | $5 | $0.5 | $6.25 | $25 | |
Claude Sonnet 5claude-sonnet-5 | $2 | $0.2 | $2.5 | $10 | |
Claude Haiku 4.5claude-haiku-4-5 | $1 | $0.1 | $1.25 | $5 |
Standard API with global routing; cache writes use the 5-minute rate. Environment variable ANTHROPIC_API_KEY; rates from platform.claude.com/docs/en/about-claude/pricing
OpenAI models
| Model name | Input | Cached input | Output | Remarks |
|---|---|---|---|---|
GPT-6 Astragpt-6-astra | $10 | $1 | $50 | |
GPT-6.1 Solgpt-6.1-sol | $2 | $0.1 | $10 | default |
GPT-6.1 Terragpt-6.1-terra | $1 | $0.05 | $5 | |
GPT-6 Lunagpt-6-luna | $0.1 | $0.01 | $0.5 |
Short context, standard tier. Environment variable OPENAI_API_KEY; rates from developers.openai.com/api/docs/pricing
Gemini models (Google)
| Model name | Input | Cached input | Output | Remarks |
|---|---|---|---|---|
Gemini 4 Carbongemini-4-carbon | $2 | $0.1 | $10 | Announced for 2026-12-01: input $4, cached $0.2, output $20. |
Gemini 4 Argongemini-4-argon | $2 | $0.1 | $10 | Announced for 2026-12-01: input $4, cached $0.2, output $20. |
Gemini 4 Hydrogengemini-4-hydrogen | $1.5 | $0.075 | $7.5 | |
Gemini 3.8 Flashgemini-3.8-flash | $0.75 | $0.075 | $3.75 | default Announced for 2027-01-01: input $1.5, cached $0.15, output $7.5. |
Gemini 3.6 Flashgemini-3.6-flash | $0.75 | $0.075 | $3.75 | Announced for 2027-01-01: input $1.5, cached $0.15, output $7.5. |
Gemini 3.5 Flash-Litegemini-3.5-flash-lite | $0.3 | $0.03 | $2.5 | |
Gemini 3.1 Flash-Litegemini-3.1-flash-lite | $0.25 | $0.025 | $1.5 |
Standard paid tier. Environment variable GEMINI_API_KEY; rates from ai.google.dev/gemini-api/docs/pricing
OpenAI-compatible endpoints
Groq, OpenRouter, vLLM, LM Studio, Ollama, llama.cpp and the like. Whatever the endpoint charges is what you pay, and a model running on your own machine is free per token.
Export SUBBIE_API_KEY, then start subbie --provider compatible --base-url <url> --model <name>. Token counts always show, but a price only appears for models listed here.
You can also get this list from /models.json or /api/models, and in the agent subbie models shows it while subbie models --refresh pulls the newest copy. Spot a wrong price? The provider's page is right; let us know on X and we'll correct it.