frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Terence Tao on the suspension of UCLA grants

https://mathstodon.xyz/@tao/114956840959338146
189•dargscisyhp•3h ago•135 comments

Cerebras Code

https://www.cerebras.ai/blog/introducing-cerebras-code
329•d3vr•12h ago•132 comments

Aerodynamic drag in small cyclist formations: shielding the protected rider [pdf]

http://www.urbanphysics.net/2025_Formation_Paper_Preprint_v1.pdf
10•PaulHoule•3d ago•2 comments

Hardening mode for the compiler

https://discourse.llvm.org/t/rfc-hardening-mode-for-the-compiler/87660
110•vitaut•8h ago•26 comments

Ladybird Browser July Update

https://ladybird.org/newsletter/2025-07-31/
192•net01•3h ago•51 comments

Coffeematic PC – A coffee maker computer that pumps hot coffee to the CPU

https://www.dougmacdowell.com/coffeematic-pc.html
200•dougdude3339•12h ago•52 comments

Why leather is best motorbike protection – whilst being dragged along concrete

https://www.youtube.com/watch?v=xwuRUcAGIEU
71•lifeisstillgood•2d ago•21 comments

Weather Model based on ADS-B

https://obrhubr.org/adsb-weather-model
182•surprisetalk•2d ago•28 comments

JavaScript retro sound effects generator

https://github.grumdrig.com/jsfxr/
76•selvan•3d ago•17 comments

At 17, Hannah Cairo solved a major math mystery

https://www.quantamagazine.org/at-17-hannah-cairo-solved-a-major-math-mystery-20250801/
343•baruchel•17h ago•148 comments

I couldn't submit a PR, so I got hired and fixed it myself

https://www.skeptrune.com/posts/doing-the-little-things/
266•skeptrune•17h ago•155 comments

Robert Wilson has died

https://www.theartnewspaper.com/2025/08/01/robert-wilson-playwright-director-artist-obituary
55•paulpauper•7h ago•13 comments

Ask HN: Who is hiring? (August 2025)

192•whoishiring•19h ago•220 comments

Ethersync: Peer-to-peer collaborative editing of local text files

https://github.com/ethersync/ethersync
127•blinry•3d ago•21 comments

Ferroelectric Helps Break Transistor Limits

https://spectrum.ieee.org/negative-capacitance-schottky-limit
8•pseudolus•3d ago•0 comments

The Rickover Corpus: A digital archive of Admiral Rickover's speeches and memos

https://rickovercorpus.org/
58•stmw•9h ago•11 comments

Yearly Organiser

https://neatnik.net/calendar/
40•anewhnaccount2•4d ago•12 comments

Microsoft is open sourcing Windows 11's UI framework

https://www.neowin.net/news/microsoft-is-taking-steps-to-open-sourcing-windows-11-user-interface-framework/
33•bundie•2h ago•29 comments

Does the Bitter Lesson Have Limits?

https://www.dbreunig.com/2025/08/01/does-the-bitter-lesson-have-limits.html
139•dbreunig•14h ago•66 comments

The First Widespread Cure for HIV Could Be in Children

https://www.wired.com/story/the-first-widespread-cure-for-hiv-could-be-in-children/
11•sohkamyung•1h ago•2 comments

Native Sparse Attention

https://aclanthology.org/2025.acl-long.1126/
120•CalmStorm•14h ago•16 comments

Anthropic revokes OpenAI's access to Claude

https://www.wired.com/story/anthropic-revokes-openais-access-to-claude/
233•minimaxir•12h ago•80 comments

Researchers map where solar energy delivers the biggest climate payoff

https://www.rutgers.edu/news/researchers-map-where-solar-energy-delivers-biggest-climate-payoff
93•rbanffy•14h ago•54 comments

Launch HN: Societies.io (YC W25) – AI simulations of your target audience

100•p-sharpe•22h ago•49 comments

Show HN: Draw a fish and watch it swim with the others

https://drawafish.com
856•hallak•4d ago•220 comments

The tradeoff between human and AI context

https://softwaredoug.com/blog/2025/07/30/layers-of-ai-coding
22•softwaredoug•2d ago•0 comments

Replacing tmux in my dev workflow

https://bower.sh/you-might-not-need-tmux
274•elashri•1d ago•305 comments

Ask HN: Who wants to be hired? (August 2025)

92•whoishiring•19h ago•201 comments

Our Farewell from Google Play

https://secuso.aifb.kit.edu/english/2809.php
282•shakna•1d ago•107 comments

Ergonomic keyboarding with the Svalboard: a half-year retrospective

https://twey.io/hci/svalboard/
101•Twey•17h ago•55 comments
Open in hackernews

Cerebras Code

https://www.cerebras.ai/blog/introducing-cerebras-code
329•d3vr•12h ago

Comments

namanyayg•11h ago
I was waiting for more subscription base services to pop up to compete with the influence provider on a commodities level.

I think a lot more companies will follow suit and the competition will make pricing much better for the end user.

congrats on the launch Cerebras team!

sophia01•11h ago
My understanding is that the coding agents people use can be modified to plug into any LLM provider's API?

The difference here seems to be that Cerebras does not appear to have Qwen3-Coder through their API! So now there is a crazy fast (and apparently good too?) model that they only provide if you pay the crazy monthly sub?

baq•11h ago
define 'crazy'.

it's two kilotokens per second. that's fast.

ttoinou•11h ago
I’d say super fast
bangaladore•11h ago
It's more than 10x faster than the fastest alternative. And roughly 50x the average alternative.

Certainly, somewhere between fast and crazy.

amelius•10h ago
It generates code faster than I can inspect it.

In other words, it's needlessly fast.

pxc•8h ago
You might be able to use the extra time to have it do things like run some formatters, linters, run the code in a VM before you inspect it, or modify it for compliance with a style guide that you've written, and continually revise it for up to 5 tries until the conditions are met, something like that.

So maybe there's something useful to do with the extra speed. But it does seem more "useful" for vibe coding than for writing usable/good code.

pxc•11h ago
You can still get it pay-as-you-go on OpenRouter, afaict, and the billing section of the Cerebras Cloud account I just created has a section for Qwen3-Coder-480B as well.
sophia01•11h ago
Yeah just checked apparently it is available as a preview (not on main models/pricing page).
social_quotient•11h ago
Exactly! You can use tools like https://github.com/musistudio/claude-code-router which let you use other LLMs.

The way I would use this $50 Cerebras offering is as a delegate for some high token count items like documentation, lint fixing, and other operations as a way not only to speed up the workflow but to release some back pressure on Anthropic/claude so you don’t hit your limits as quickly… especially with the new weekly throttle coming. This $50 dollar jump seems very reasonable, now for the 1k completions a day, id really want to see and get a feel for how chatty it is.

I suppose thats how it starts but id the model is competent and fast, the speed alone might force you a bit to delegate more to it. (Maybe sub agent tasks)

JackYoustra•11h ago
I've been waiting on this for a LONG time. Integration with Cursor when Cerebras released their earlier models was patchy at best, even through openrouter. It's nice to finally see official support, although I'm a bit worried about long-term the time for bash mcp calls ending up dominating.

Still, definitely the right direction!

EDIT: doesn't seem like anything but a first-party api with a monthly plan.

ktsakas•11h ago
Does it work with claude-code-router? I was getting API errors this week trying to use qwen3 Cerebras through OpenRouter with Claude code router.
amirhirsch•10h ago
API Error: 422 {"error":{"message":"Error from provider: {\"message\":\"body.messages.0.system.content: Input should be a valid string\",\"type\":\"invalid_request_error\",\"param\":\"validation_error\",\"code\":\"wrong_api_format\"}
amirhirsch•10h ago
i ended up getting it working through copying the transformer in this issue: https://github.com/musistudio/claude-code-router/issues/407

It hits the request per minute limit instantly and then you wait a minute.

nubela•5h ago
Did you make payment? I also found it unusable due to rate limits. Not sure if it is because I was on the free trial.
d4rkp4ttern•9h ago
I really wish Qwen3 folks put up an Anthropic-compatible API like the Kimi and GLM/Zai folks cleverly did — this makes their models trivially usable in Claude Code, via this dead-simple setup:

https://github.com/pchalasani/claude-code-tools?tab=readme-o...

thanhhaimai•11h ago
> running at speeds of up to 2,000 tokens per second, with a 131k-token context window, no proprietary IDE lock-in, and no weekly limits!

I was excited, then I read this:

> Send up to 1,000 messages per day—enough for 3–4 hours of uninterrupted vibe coding.

I don't mind paying for services I use. But it's hard to take this seriously when the first paragraph claim is contradicting the fine prints.

amirhirsch•11h ago
the distinction is from weekly limits of claude code.
sneilan1•11h ago
Claude code weekly limits are hard to distinguish. It's not easy to understand their usage limits. I've found when I run into too much opus usage, I switch to sonnet but I've never ran into a usage limit with sonnet 4 yet.
sneilan1•11h ago
1,000 messages per day should be plenty as a daily development driver. I use claude code sonnet 4 exclusively and I do not send more than 1,000 messages per day. However, that is my current understanding. I am certainly not pressing enter 1,000 times! Maybe there are more messages being sent under the hood that I do not realize?
thanhhaimai•11h ago
The issue is not about whether the limit is too high or too low. What turned me back was that they claimed "no weekly limits" as a selling feature, without mentioning that they change it to a "daily limits".

I understand it's a sale tactics. But it seems not forthcoming, and it's hard for me to trust the rest of the claims.

twothreeone•11h ago
I don't see what's hard to understand about this.. other providers have weekly limits and daily limits. If you max out your daily every day you might still hit your weekly after 3-4 days of usage, meaning you cannot send more for the rest of the week. This is saying that no such weekly limit exists on top of the daily. E.g. see https://techcrunch.com/2025/07/28/anthropic-unveils-new-rate...
brandall10•10h ago
Claude Code does not have a daily limit, it has 5 hour windows that reset. On the $100 plan it's pretty hard to hit a window limit w/ Sonnet unless you're using multiple/subagents. The $200 is better suited to those who do that or want to use a significant amount of Opus.

Also the weekly limit selling point is silly - it almost certainly only impacts those who are abusing, ie. running 24/7.

b2m9•37m ago
At this point I'm afraid to ask, but I will do I anyways:

How do Claude's rate limits actually work?

I'm not a Pro/Max5/Max20 subscriber, only light API usage for Anthropic - so it's likely that I don't really understand the limits there.

For example, community reports that Anthropic's message limit for Max 5 translates to roughly 88k token per 5-hour window (there's variance, but it's somewhere in this 80-120k ballpark based on system load; also assuming Sonnet, not Opus). A normal user probably won't consume more than 250k token per day with this subscription. That's like 5M token for a month of 20 active days - which doesn't justify the 100 USD subscription cost. This also doesn't square with Anthropic's statement that users can consume 10000+ USD of usage on the Max 20 tier.

I'm clearly misunderstanding Claude's rate limits here. Can someone enlighten me? Is the 5-hour window somehow per task/instance and not per account?

brendoelfrendo•10h ago
It's not hard to understand, but I think there's a compelling argument to be made that the "daily AND weekly" limits is surely user hostile and differing limits across different pricing tiers can make it harder to tell at a glance what you actually need. It's not that Cerebrus has a feature worth advertising, it's that everyone else has introduced an anti-feature that has become the norm.
twothreeone•10h ago
I don't know, I thought it was useful info given the context of the market. When I buy any service in general (e.g. a phone line) I'd like to know the highlights that differentiate that particular provider from others. And it didn't seem to me like this was front and center to their marketing, it sure seems like their output speed is the killer feature. This was just another item mentioned at the end of a sentence which also says a number of other things and just provides additional clarity about the endpoint.. ¯\_ (ツ)_/¯
SamDc73•10h ago
Still not sure if it's 1000 messages or calls though, if messages that's good.
itsafarqueue•3h ago
Your “one enter” press might generate dozens or even hundreds of messages in an agent. Every file read, re-read, read a bit more, edit, whoops re-edit, ls, grep, etc etc counts as a message.
superasn•9h ago
Pretty sure this is there to prevent this[1] from happening to them

[1] https://www.viberank.app/

bravesoul2•8h ago
That's a CO2 emissions leader board!
LudwigNagasena•4h ago
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/
wraptile•2h ago
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.
echelon•7h ago
Oh my god. That's insane.

The anti-AI people would be pulling their pitchforks out against these people.

Would there be any way of compiling this without people's consent? Looking at GitHub public repos, etc.?

I imagine a future where we're all automatically profiled like this. Kind of like perverse employee tracking software.

kristjansson•9h ago
It’s a true statement - no weekly limits, just a daily limit. Easier to work with when you can only get locked out of your tool for 23h59m
brandall10•8h ago
The CC weekly limits are in place to thwart abuse. This bit of marketing isn't particular useful as that limit primarily impacts those who are running it at all hours.

OTOH, 5 hour limits are far superior to daily limits when both can be realistically hit.

bluelightning2k•8h ago
What a productive second you must have had
bongodongobob•7h ago
The weekly limit is the daily limit x 7.
handfuloflight•2h ago
You're going to send 1,000 messages in 1 minute?
newswasboring•1h ago
Slightly funny in light of this https://www.catherinejue.com/fast
attentive•9h ago
To put this into perspective, github copilot Business license is 300 "premium" requests a MONTH.
Paradigma11•37m ago
But one premium request includes all subrequests from tool use and/or internal follow up requests.
Palmik•34m ago
Yes, to differentiate from Claude Code which has 5-hour-window limits as well as weekly limits on top
dude250711•11h ago
[flagged]
fishsticks89•11h ago
It will just be replaced by more vibe code in the future. Code is like toilet paper now.
reactordev•11h ago
Nah, we’ll have a Legacy Coder agent to fix vibe coding agents so you’ll be supervising those. Yey…
andrewmutz•10h ago
If you review every change as it goes, vibecoded results are often better than human-only and written much faster
jbc1•10h ago
If you’re reviewing every change then what does “vibe coding” even mean?
chpatrick•10h ago
It's not like human code doesn't need review.
jazzyjackson•10h ago
the usage of vibe coding in my experience is towards those folks who run whatever the AI produced and if it does what they expect without throwing errors they ship it. If it throws errors they plug that back into the chatbot until the code stops throwing errors.

The whole point of vibe coding is its working faster than you would on your own. If you're reviewing it carefully and understand how it works, you might as well have written it by hand.

tjr•10h ago
Even if it appears to do what you want, but you don't actually read and understand the code, how do you know it doesn't do something else also? Maybe something you don't want?
jdiff•9h ago
Irrelevant in vibe coding. If it walks like a duck and quacks like a duck, you don't go looking for extra heads, eyes, fingers, tongues, or tails. You ship it then throw repl.it under the bus when it blows up.
steve_adams_86•10h ago
If I'm not mistaken, vibe coding is supposed to be when you don't review at all, you just let'r rip. Reviewing the AI's code is just... Like if coding was riding a bike, and you got an electric bike. Kind of. It doesn't seem like vibes to me.
0xfaded•10h ago
This is me seeing co-workers PRs :(
teaearlgraycold•10h ago
I call this "half vibe coding" (needs a better term). For instances where you know how you'll solve a problem but don't want to type it all out it's great. I tend to comb through the output. Even the SOTA models will make pretty bad performance mistakes, poor maintenance decisions, etc. But it's super useful for getting over the hump of getting started on something.
dxxvi•10h ago
I agree 100%.
dang•9h ago
"Don't be snarky."

"Don't be curmudgeonly."

https://news.ycombinator.com/newsguidelines.html

sneilan1•11h ago
I'm so excited to see a real competitor to Claude Code! Gemini CLI, while decent, does not have a $200/month pricing model and they charge per API access - Codex is the same. I'm trying to get into the https://cloud.cerebras.ai/ to try the $50/month plan but I can't even get in.
bangaladore•11h ago
Unless I'm misunderstanding something. Cerebras Code is not equivalent to Claude Code or Gemini CLI. It's a strange name for a subscription to access an API endpoint.

You take your Cerebras Code endpoint and configure XYZ CLI tool or IDE plugin to point at it.

sneilan1•10h ago
Oh so this is not an integrated command line tool like Claude code? I assumed it was something where Cerebras released a decent prompt and command line agent setup. A lot of the value of Claude Code is how polished it is and how much work went into the prompt design.
unshavedyak•10h ago
There is i believe a forked Gemini Code which will work like Claude Code, or so it looks like on Youtube.
d4rkp4ttern•10h ago
Yes it’s called OpenCode and today I was surprised to learn it works with Claude Pro/Max subscriptions:

https://opencode.ai/docs/

dcre•7h ago
OpenCode is not a fork of the Gemini CLI. It is its own thing.
d4rkp4ttern•17m ago
Ah I see, didn’t know
wordofx•9h ago
This doesn’t feel like a competitor. Amp does tho.
flashblaze•3h ago
I don't hear about Amp often. Have you tried it? How does it compare to Claude Code?
wordofx•3h ago
It’s really good. Was discussing it with a friend recently who said he thinks it works out cheaper because it takes less loops to get things right. I’ve been having better success with it so would recommend it over Claude Code for now.
alfalfasprout•11h ago
2k tokens/second is insane. While I'm very much against vibe coding, such performance essentially means you can get near-github copilot level speed with drastically better quality.

For in-editor use that's game changing.

itsafarqueue•3h ago
At full pace that means 62 mins until you hit the daily cap.
kvemkon•1h ago
Reminds me of high write speed on SSD (1.5 GB/s continuously to TLC) means 1 TB SSD warranty expires instead of 5 years just in less than 5 days (600 TB written).
knicholes•11h ago
It says it works with your favorite IDE-- How do you (the reader) plan to use this? I use Cursor, but I'm not sure if this replaces my need to pay for Cursor, or if I need to pay for Cursor AND this, and add in the LLM?

Or is VS code pretty good at this point? Or is there something better? These are the only two ways I'd know how to actually consume this with any success.

alfalfasprout•11h ago
any plugin that allows using an OpenAI compatible endpoint should work fine (eg; RooCode, Cline, etc. for VSCode).

Personally, I use code-companion on neovim.

Maybe not the best solution for vibe coders but for serious engineers using these tools for AI-assisted development, OpenAI API compatibility means total flexibility.

HardCodedBias•11h ago
This has to be a monstrous money loser.

If they can maintain this pricing level, and if Qwen3‑Coder is as good as people say then they will have an enormous hit on their hands. A massive money losing hit, but a hit.

Very interesting!

PS: Did they reduce the context window, it looks like it.

kristopolous•11h ago
They are a hardware company. They have a custom chip they are running it on.

The $200/month is their "poor person" product for people who can't shell out $500k on one of their rigs.

https://www.cerebras.ai/system

HardCodedBias•10h ago
I know. These things are unbelievable machines. The people at Cerebras are fearless wrt. taking on difficult hardware challenges.

But this will certainly be a money loser. They have likely been waiting for an open source model that somewhat conforms to their hardware's limitations and which gives acceptable recommendations.

It looks like they have found it with QWEN. We'll see!

bdcravens•9h ago
OpenAI lost around $5B last year.

https://www.lesswrong.com/posts/CCQsQnCMWhJcCFY9x/openai-los...

UnPerson-Alpha2•4h ago
Honest ? What are you thinking in terms of cost structure that makes you sure it is a money loser? Can you break down your assumptions.
supernova8•11h ago
How is this even possible?
kristopolous•11h ago
It's their own hardware : https://www.cerebras.ai/blog/cerebras-cs3
unshavedyak•10h ago
Incase i'm missing something, why wouldn't it be possible?

Claude and Gemini have similar offerings for a similar/same price, i thought. Eg if Claude Code can do it for $200/m, why can't Cerebras?

(honest question, trying to understand the challenge for Cerebras that you're pointing to)

edit: Maybe it's the speed? 2k tokens/s sounds... fast, much faster than Claude. Is that what you're referring to?

UnPerson-Alpha2•4h ago
He just wrote another way of making an exclamation, like "wow, incredible!".
meepmorp•10h ago
They make frisbee-sized CPUs.
clbrmbr•11h ago
At $200/month the comparable should be Opus 4 not Sonnet 4.
rowanG077•10h ago
Not really. With Opus 4 you will burn into the thousand a month with serious usage. I tested it yesterday and 5 hours of use was 60$. If I extrapolate that you will easily hit 1K+.
lordofgibbons•9h ago
Are you comparing using opus via API based usage vs opus via the $200/mo plan?
rowanG077•9h ago
I didn't know anthropic offered a fixed price version.
unshavedyak•11h ago
Super curious to see some comparisons to claude code. Especially Opus, since they're primarily comparing it to Sonnet in that graph.
dpkirchner•10h ago
For those that have tried this, what kind of time-to-first-token latency are you seeing?
txyx303•10h ago
feels very low compared to claude/gpt for me
anonym29•7h ago
I had 9 seconds, earlier with Cline. That said, resulting output file I had requested generation of was over 122KB in 58.690 seconds, so I was approaching 2KB per second even factoring in high TTFT.
M4v3R•3h ago
The high TTFT (around 5-6 seconds) is what kills the excitement for this for me. Sure, when it starts outputting its crazy fast so it’s good for generating single file prototypes, but as soon as you try to use it in Cline or any other agentic loop you’ll be waiting for API requests constantly and it’s a real bottleneck.
hollerith•3h ago
TTFT == time to first token.

(I would've just said, "the throughput is fantastic, but the latency is about 3 times higher than other offerings".)

crawshaw•10h ago
If you would like to try this in a coding agent (we find the qwen3-coder model works really well in agents!), we have been experimenting with Cerebras Code in Sketch. We just pushed support, so you can run it with the latest version, 0.0.33:

  brew install boldsoftware/tap/sketch
  CEREBRAS_API_KEY=...
  sketch --model=qwen3-coder-cerebras -skaband-addr=
Our experience is it seems overloaded right now, to the point where we have better results with our usual hosted version:

  sketch --model=qwen
lvl155•10h ago
Their hardware is incredible. Why aren’t more investors lining up for this in this environment?
dmitrygr•9h ago
Contradictions do not exist. Whenever you think that you are facing a contradiction, check your premises. You will find that one of them is wrong.
thfuran•7h ago
Neither do perfectly efficient, perfectly rational markets.
sejje•3h ago
A perfectly efficient market would be a bad premise, sure.
orbifold•7h ago
In this case the hardware is a nightmare to program.
dmitrygr•6h ago
Bingo
arisAlexis•3h ago
Or just bad marketing vs the Goliath (Nvidia)
no_flaks_given•2h ago
This model is super quantized and the quality isn't great, but that's necessary because just like everyone else except for Nvidia and AMD

They shat the bed. They went for super crazy fast compute and not much memory, assuming that models would plateu at a fee billion parameters.

Last year 70b parameters was considered huge, and a good place to standardize around.

Today we have 1t parameter models and we know it still scales linearly with parameters.

So next year we might have 10T parameter LLMs and these guys will still be playing catch up.

All that matters for inference right now is how many HBM chips you can stack and that's it

lxe•10h ago
Is this available as cline/roo-code integration? I think it might be on openrouter too.
d3vr•10h ago
Cline support added in v3.20.4: https://github.com/cline/cline/releases/tag/v3.20.4

Roo Code support added in v3.25.5: https://github.com/RooCodeInc/Roo-Code/releases/tag/v3.25.5

Cerebras has also been added as a provider for Qwen 3 Coder in OpenRouter: https://openrouter.ai/qwen/qwen3-coder?sort=throughput

d3vr•10h ago
BTW you can also go through HuggingFace: https://huggingface.co/Qwen/Qwen3-Coder-480B-A35B-Instruct?i...
scosman•10h ago
Groq also probably has this in the works. Fun times.
Consumer-Basics•2h ago
Verified or just a thought?
Flux159•9h ago
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 quality is also not quite what Claude Code gave me, but the speed is definitely way faster. If Cerebras supported caching & reduced token pricing for using the cache I think I would run this more, but right now it's too expensive per agent run.

Havoc•9h ago
This seems to be rate limited by message not token so the lack of cache may matter less
Flux159•8h ago
The lack of caching causes the price to increase for each message or tool call in a chat because you need to send the entire history back after every tool call. Because there isn’t any discount for cached tokens you’re looking at very expensive chat threads.
NitpickLawyer•4h ago
Yes, but the new "thing" now is "agentic" where the driver is "tool use". So at every point where the LLM decides to make a tool use, there is a new request that gets sent. So a simple task where the model needs to edit one function down the tree, there might be 10 calls - 1st with the task, 2-5 for "read_file", then the model starts writing code, 6-7 trying to run the code, 8 fixing something, and so on...
itsafarqueue•3h ago
Yup. If you’ve ever watched a 60+ minute agent loop spawning sub agents, your “one message” prompt leaves you several hundred messages in the hole.
andhuman•3h ago
No it’s by token. The FAQ says this:

> Actual number of messages per day depends on token usage per request. Estimates based on average requests of ~8k tokens each for a median user.

https://cerebras-inference.help.usepylon.com/articles/346886...

sysmax•7h ago
Adding entire files into the context window and letting the AI sift through it is a very wasteful approach.

It was adopted because trying to generate diffs with AI opens a whole new can of worms, but there's a very efficient approach in between: slice the files on the symbol level.

So if the AI only needs the declaration of foo() and the definition of bar(), the entire file can be collapsed like this:

  class MyClass {
    void foo();
    
    void bar() {
        //code
    }
  }
Any AI-suggested changes are then easy to merge back (renamings are the only notable exception), so it works really fast.

I am currently working on an editor that combines this approach with the ability to step back-and-forth between the edits, and it works really well. I absolutely love the Cerebras platform (they have a free tier directly and pay-as-you-go offering via OpenRouter). It can get very annoying refactorings done in one or two seconds based on single-sentence prompts, and it usually costs about half a cent per refactoring in tokens. Also great for things like applying known algorithms to spread out data structures, where including all files would kill the context window, but pulling individual types works just fine with a fraction of tokens.

If you don't mind the shameless plug, there's a more explanation how it works here: https://sysprogs.com/CodeVROOM/documentation/concepts/symbol...

postalcoder•7h ago
this works if your code is exceptionally well composed. anything less can lead to looney tunes levels of goofiness in behavior, especially if there’s as little as one or two lines of crucial context elsewhere in the file.

This approach saves tokens theoretically, but i find it can lead to wastefulness as it tries to figure out why things aren’t working when loading the full file would have solved the problem in a single step.

sysmax•6h ago
It greatly depends on the type of work you are trying to delegate to the AI. If you ask it to add one entire feature at a time, file level could work better. But the time and costs go up very fast, and it's harder to review.

What works for me (adding features to huge interconnected projects), is think what classes, algorithms and interfaces I want to add, and then give very brief prompts like "split class into abstract base + child like this" and "add another child supporting x,y and z".

So, I still make all the key decisions myself, but I get to skip typing the most annoying and repetitive parts. Also, the code don't look much different from what I could have written by hand, just gets done about 5x faster.

DrBenCarson•6h ago
Yep and it collapses in the enterprise. The code you’re referencing might well be from some niche vendor’s bloated library with multiple incoherent abstractions, etc. Context is necessarily big
sysmax•5h ago
Ironically, that's how I got the whole idea of symbol-level edits. I was working on project like that, and realized that a lot of work is actually fairly small edits. But to do one right, you need to you need to look through a bunch of classes, abstraction layers, and similar implementations, and then keep in your head how to get an instance of X from a pointer to Y, etc. Very annoying repetitive work.

I tried copy-pasting all the relevant parts into ChatGPT and gave it instructions like "add support for X to Y, similar to Z", and it got it pretty well each time. The bottleneck was really pasting things into the context window, and merging the changes back. So, I made a GUI that automated it - showed links on top of functions/classes to quickly attach them into the context window, either as just declarations, or as editable chunks.

That worked faster, but navigating to definitions and manually clicking on top of them still looked like an unnecessary step. But if you asked the model "hey, don't follow these instructions yet, just tell me which symbols you need to complete them", it would give reasonable machine-readable results. And then it's easy to look them up on the symbol level, and do the actual edit with them.

It doesn't do magic, but takes most of the effort out of getting the first draft of the edit, than you can then verify, tweak, and step through in a debugger.

hooo•5h ago
Totally agree with your view on the symbolic context injection. Is this how things are done with code/dev AI right now? Like if you consider the state of the art.
seunosewa•40m ago
They search for the token of interest, e.g. grep -n then they read that line and the next 50 lines or so. They continue until they get to the end.
BenGosub•2h ago
If they say it costs $50 per month, why do you need to make additional payments?
davidweatherall•2h ago
$50 per month is their SaaS solution that let's you make 1000 requests per day. The openrouter cost is the raw API cost if you try to use qwen3-coder via the pay as you go model when using Cline
seunosewa•28m ago
The Cerebras.ai plan offers a flat fee of $50 or $200.

The API price is not a reason to reject the subscription price.

cellis•9h ago
What are the token prices?
anonym29•7h ago
$2/Mtok in and out but no caching discounts
deevus•8h ago
I'm finding myself switching between subscriptions to ChatGPT, T3 Chat, DeepSeek, Claude Code etc. Their subscription models aren't compatible with making it easy to take your data with you. I wish I could try this out and import all my data.
atkailash•8h ago
I use regular cerebras for plan stage in cline, so I’m very excited to try this out
attentive•7h ago
Attn: Cerebras

Any attempt to deal with "<think>" in the code gets it replaced with "<tool_call>".

Both in inference.cerebras.ai chat and API.

Same model on chat.qwen.ai doesn't do it.

unraveller•7h ago
Some users who signed up for pro ($50 p.m.) are reporting further limitations than those advertised.

>While they advertise a 1,000-request limit, the actual daily constraint is a 7.5 million-token limit. [1]

Assumes an average of 7.5k/request whereas in their marketing videos they show API requests ballooning by ~24k per request. Still lower than the API price.

[1] https://old.reddit.com/r/LocalLLaMA/comments/1mfeazc/cerebra...

itsafarqueue•3h ago
Bait and switched their FAQ after the fact too. Come on Cerebras, it’s only VC money you’re burning here in the first place, let’s see some commitment to winning market share. :money: :fire:
esafak•7h ago
They should just host all the latest open source models FTW.
segmondy•6h ago
FYI, you are probably going to use up your tokens because there's a total limit of tokens per day, so in about 300 requests it's feasible to use it all up. See https://www.reddit.com/r/LocalLLaMA/comments/1mfeazc/cerebra...
exclipy•4h ago
Windsurf also has Cerebras/Qwen3-Coder. 1000 user messages per month for $15

https://x.com/windsurf/status/1951340259192742063

another_twist•2h ago
How does context buildup work for the code generating machines generally ? Do the programs just use human notes + current code directly ? Are there some specific ranking steps that need to be done ?