Live data from Hacker News

Cerebras Code

cerebras.ai

161–170 of 185 posts

Re: Cerebras Code

#161
post #70

Tried this out with Cline using my own API key (Cerebras is also available as a provider for Qwen3 Coder via via openrouter here: https://openrouter.ai/qwen/qwen3-coder ) and realized that without caching, this becomes very expensive very quickly. Specifically, after each new tool call, you're sending the entire previous message history as input tokens - which are priced at $2/1M via the API just like output tokens.…

the API price is not very relevant to this flat fee service announcement.

In fact it seems obvious that you should use the flat fee model instead

Re: Cerebras Code

#162
Anyone get this working in Cursor? I can connect openrouter just fine, but Cerebras just errors out instantly. Same url/key works via curl, so some sort of Cerebras/Cursor compatibility issue.

Re: Cerebras Code

#163
post #70

Tried this out with Cline using my own API key (Cerebras is also available as a provider for Qwen3 Coder via via openrouter here: https://openrouter.ai/qwen/qwen3-coder ) and realized that without caching, this becomes very expensive very quickly. Specifically, after each new tool call, you're sending the entire previous message history as input tokens - which are priced at $2/1M via the API just like output tokens.…

The Cerebras.ai plan offers a flat fee of $50 or $200. The API price is not a reason to reject the subscription price.

The flat fee is for a fixed max amount of tokens per day. Not requests, tokens.

Re: Cerebras Code

#164

Earlier quoted context omitted.

There is i believe a forked Gemini Code which will work like Claude Code, or so it looks like on Youtube.

Yes it’s called OpenCode and today I was surprised to learn it works with Claude Pro/Max subscriptions: https://opencode.ai/docs/

https://github.com/QwenLM/Qwen3-Coder is the gemini code fork i was referring to i think. Not positive

Re: Cerebras Code

#165
So for <$1.7/day I can hire a programmer at a sort-of Claude Sonnet 4 level? I know it's got its quirks, limits, and needs supervision, but it's like 20x cheaper than an average programmer.

Re: Cerebras Code

#166
This token throughput is incredible and going to set a new bar in the industry. The main issue with the cerebras code plan is that number of requests/minute is throttled, and with agentic coding systems each tool call is treated as new "message" so you can easily hit the api limits (10 messages/minute).

One workaround we're doing now that seems to work is use claude for all tasks but delegate specific tools with cerebras/qwen-3-coder-480b model to generate files or other token heavy tasks to avoid spiking the total number of requests. This has cost and latency consequences (and adds complexity to the code), but until those throttle limits are lifted seems to be a good combo. I also find that claude has better quality with tool selection when the number of tools required is > 15 which our current setup has.

Re: Cerebras Code

#167
post #166

This token throughput is incredible and going to set a new bar in the industry. The main issue with the cerebras code plan is that number of requests/minute is throttled, and with agentic coding systems each tool call is treated as new "message" so you can easily hit the api limits (10 messages/minute). One workaround we're doing now that seems to work is use claude for all tasks but delegate specific tools with cere…

[deleted]

Re: Cerebras Code

#169

Earlier quoted context omitted.

That’s almost no CO2 emissions at all. Here is a CO2 emissions leaderboard (need to sort by the correct column): https://celebrityprivatejettracker.com/leaderboard/

The number one has 32k which is equivellent of 64,000 commercial transantlantic flight trips (per person). For reference, 2024 had a record flights summer of 140k.

A commercial transatlantic flight costs $0.50 per person?

Re: Cerebras Code

#170

So for <$1.7/day I can hire a programmer at a sort-of Claude Sonnet 4 level? I know it's got its quirks, limits, and needs supervision, but it's like 20x cheaper than an average programmer.

ofc it depends where you would hire, for me (NL) its above 100x more efficient
Post reply on HN