Agent APIPricing
DocsModelsPricing

Managed Keys Pricing

Same pricing as official APIs. No markup, no hidden fees. Pay only for what you use.

How Managed Keys Work

1.

Add credits to your account — buy credits here or run co purchase

2.

Use any model with the co/ prefix: model="co/gpt-5"

3.

Credits are deducted per-token at official API rates. No expiration.

Add Credits to Your Account

Free tier available — star our GitHub repo for $0.90 free credit

OpenAI Models

ModelInput / 1M tokensOutput / 1M tokensBest For
gpt-5$1.25$10.00Coding, agentic tasks
gpt-5-mini$0.25$2.00Fast, cost-effective
gpt-5-nano$0.05$0.40Cheapest OpenAI
gpt-4o$2.50$10.00Previous gen flagship
gpt-4o-mini$0.15$0.60Most cost-effective
o4-mini$1.10$4.40Reasoning

Google Gemini Models

ModelInput / 1M tokensOutput / 1M tokensBest For
gemini-3.7-flashdefault$0.75$3.75Default model — intro pricing through 2026-12-31, then $1.50 / $7.50
gemini-3.6-flash$1.50$7.50Previous default, fast Gemini ($0.15 cached)
gemini-3.5-flash$1.50$9.00Previous fast Gemini
gemini-3-pro-preview$2.00$12.00State-of-the-art reasoning
gemini-2.5-pro$1.25$10.00Strong multimodal, 2M context
gemini-2.5-flash$0.15$0.60Best price-performance
gemini-2.0-flash$0.10$0.40Previous gen workhorse

Anthropic Claude Models

ModelInput / 1M tokensOutput / 1M tokensBest For
claude-opus-4-5$5.00$25.00Most capable
claude-sonnet-4-5$3.00$15.00Best balance
claude-haiku-4-5$1.00$5.00Fastest Claude
claude-opus-4-1$15.00$75.00Specialized reasoning
claude-sonnet-4$3.00$15.00Previous gen

FAQ

Is there a markup over official API pricing?

No markup. Prices above are provider list prices. For managed co/ models, agent.total_cost uses the backend's normalized usage and the pricing snapshot that settled the charge; an unknown managed model is rejected rather than billed from a default price. Direct-provider calls retain the local compatibility estimate when their model is outside the client table.

Do credits expire?

No. Credits never expire. Use them whenever you want.

How do I check my balance?

Run co status in your terminal, or visit the dashboard.

Can I switch between managed keys and my own keys?

Yes. Use the co/ prefix for managed keys, or remove it to use your own API keys. Same code, just change the model name.

Get Started

Star us on GitHub

If ConnectOnion saves you time, a ⭐ goes a long way — and earns you a coffee chat with our founder.