r/opencode • • 23d ago

I'm looking for a pay-as-you-go API provider that offers open-source models

I want to connect it to any agent, add credits to my account, and use them whenever I need an agent

I have a few requirements

A wide variety of models

Credits that never expire

Models not be downgraded

Does anyone have any recommendations

6 Upvotes

19 comments sorted by

9

u/loss-of-time 23d ago

openrouter?

2

u/ironj 23d ago

+1 for OpenRouter (that I'm using right now).

1

u/torrso 23d ago

OpenCode Zen?

1

u/Ahmed1515a 23d ago

this one of option but the deepseek flash v4.1 the price the peak hour of deepseek api all time

2

u/squirrelscrush 23d ago

If you're using DeepSeek only then DeepSeek's own API. Nothing beats it.

2

u/dani01h 23d ago

Cloudflare is the one

2

u/look 23d ago edited 23d ago

Neuralwatt using energy pricing. It has some of the best paygo API rates you can find anywhere, with a good variety of models, all running native weights and fast tokens/sec speeds.

https://neuralwatt.com/models

It is the best independent open model provider I have found, by far, and I’ve tried very nearly all of the others (including all of the ones I see recommended in the comments here).

2

u/xapep 22d ago

Get the never-expiring part in writing before you top up. That's usually where these offers fall apart: the balance is tied to an active account, or it quietly zeroes after a year.

For the model list, the part that bites later is prefix caching. Plenty of cheap providers post a good rate on open weights and then don't cache, or drop the cache after a few minutes, which on agent runs is most of the bill. Send the same long system prompt twice and compare the prompt-token count in the usage block.

I work on Entrim, a PAYG API for open models, so take this as one option rather than a neutral list. DeepSeek V4.1 Flash and GLM 5.3, running in Slovenia, and $10 of credits to test with.

2

u/zitoliv 22d ago

For "not downgraded": check which quantization each provider serves, the cheapest endpoints are often fp4 (someone priced every DeepSeek endpoint on OpenRouter). Then run the same task on two providers before committing credits.

2

u/Sandeep_Kommineni 19d ago

Depends on the model your using and your harness and usecase as well. Like your prioritizing latency or more usage or etc??

1

u/NickChecksOut 23d ago

„Credits that never expire” is the problem here. Even in OpenRouter they expire after a year.

1

u/mean_mistreater_ 18d ago

i work at keln so biased, but it might fit. we check model quality continuously so you don’t get degraded models, and credits don’t expire. we also benchmarked openrouter, vercel and ramp on caching, speed and cost on deepseek v4.1 flash if that’s useful: https://keln.ai/blog/ai-gateway-benchmark-deepseek-v4-1-flash

1

u/Popular-Task-8998 23d ago

open weight*