News for hackers. Stuff that matters.

Show HN: Codeium: Free Copilot Alternative for Vim / Neovim

https://github.com/Exafunction/codeium.vim

I'm Varun from the Codeium team. After support for VSCode, Jetbrains, Jupyter, and Colab, we are super excited to bring free AI-powered code autocomplete to Vim and Neovim.

And in the spirit of Show HN, we have a playground version for anyone to try the tech in the browser without any installation (https://www.codeium.com/playground)! We also made the vim client open source and are open to contributions.

( 80 comments | 22 points | on HN )
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by s17n on Wednesday January 18, 2023 @04:41PM (#34433515)
Just out of curiosity, is there a reason that both this and copilot support Vim but not Emacs?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:43PM (#34433540)
This is one of the next IDEs we will be supporting! We're keeping folks on our discord (https://discord.com/invite/3XFf78nAx5) updated on this.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by harryvederci on Wednesday January 18, 2023 @05:16PM (#34433917)
Because Vim is better than Emacs.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by mcbuilder on Wednesday January 18, 2023 @06:12PM (#34434475)
Heretic!
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by gandalfgeek on Wednesday January 18, 2023 @05:42PM (#34434170)
You can use https://github.com/zerolfx/copilot.el to get Copilot completions in Emacs.

Video explainer: https://youtu.be/dZMGH_3UdSE

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by Bilal_io on Wednesday January 18, 2023 @04:36PM (#34433453)
Your playground doesn't work well with Firefox on Android 13 (pixel 4a). The keyboard keeps getting hijacked.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:44PM (#34433551)
Sorry to hear that. Point noted, we will take a look - most of our testing has been on chrome / safari.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by renewiltord on Wednesday January 18, 2023 @04:38PM (#34433485)
How does this work? Does it ship a model to me and do it all locally? I love Copilot (one of my favourite subscriptions) but I can't use it on a plane. Would love to do this and just toggle between the two.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:46PM (#34433584)
No the model actually runs remotely. We would love to have some way to run a lightweight model on the user's machines but it's just not feasible given model size and amount of computation required.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by delijati on Wednesday January 18, 2023 @05:12PM (#34433860)
What are the current requirements to run that model?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by honkler on Wednesday January 18, 2023 @05:24PM (#34434000)
nah. We know it's because if people had the model with them, they wouldn't pay you.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by space_fountain on Wednesday January 18, 2023 @05:29PM (#34434039)
Have you looked at the size of these models these days? Do you have the compute to run a model that takes up 100s of gigs just in hard drive space?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by honkler on Wednesday January 18, 2023 @05:31PM (#34434064)
yeah, i know, and I have a good enough system to run these models. Google "fauxpilot".
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by space_fountain on Wednesday January 18, 2023 @05:36PM (#34434110)
Do you find the quality comparable to copilot? That's still an order of magnitude fewer parameters than copilot uses?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @05:30PM (#34434054)
We are a free product.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by honkler on Wednesday January 18, 2023 @05:31PM (#34434069)
only for first few customers. After that you'll want new customers to open their wallets for you. You are not a charity. So cut the BS please.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @05:37PM (#34434121)
I don't really want to argue but we have been pretty open about the fact that we want to keep this product free for users going forward as well. We have been pretty clear about our plan to monetize additional features but the focus now is to democratize this technology.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nequo on Wednesday January 18, 2023 @05:46PM (#34434206)
> we have been pretty open about the fact that we want to keep this product free for users going forward as well

I think that parent’s tone is way too combative. But the “Pricing” page on your website[1] only says that the service is free for early users.

  One Plan

  It's pretty simple. Early users get free forever access to Codeium.
It does not say whether all future users will have to pay or only those who want additional features. The wording strongly suggests the former.

[1] https://www.codeium.com/pricing

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by sneak on Wednesday January 18, 2023 @07:06PM (#34434959)
So this sends code from the user's machine to your API?

This isn't disclosed on the linked page, nor is a privacy policy linked.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by askiiart on Wednesday January 18, 2023 @04:33PM (#34433412)
Not to be confused with Codium [1], a completely FOSS, telemetry-free build of VS Code

https://vscodium.com/

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:39PM (#34433489)
Yes, good point. Interestingly, our VSCode extension also works on VSCodium since we uploaded it to the OpenVSX registry!
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by askiiart on Wednesday January 18, 2023 @04:49PM (#34433607)
Awesome! If it weren't for Microsoft's... basically monopoly on extensions, I'd be all over Codium.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by tmtvl on Wednesday January 18, 2023 @05:12PM (#34433867)
Per the docs*, not completely telemetry-free, yet an admirable attempt.

* https://github.com/VSCodium/vscodium/blob/master/DOCS.md

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by askiiart on Friday January 20, 2023 @07:10AM (#34451974)
Oh, thank you for the correction!
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by cschmatzler on Wednesday January 18, 2023 @04:54PM (#34433669)
Which languages do you support? My main work is in Elixir, where Copilot is incredibly weak. It’s completely understandable that less training data for less popular languages means worse performance, but it’d be interesting to hear whether you’re trying to alleviate that limitation for more niche languages somehow.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:59PM (#34433731)
Elixir is not a language we are currently confident in, but in the very near future (O(weeks)), we believe we will have a model that is better than Copilot for Elixir and other niche languages.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by chillfox on Wednesday January 18, 2023 @06:43PM (#34434772)
If you are planning on supporting niche languages, then please support Crystal (https://crystal-lang.org/), I am currently using Copilot with it and it’s doing ok for writing tests, but is quite bad otherwise.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by freedomben on Wednesday January 18, 2023 @04:55PM (#34433672)
Does this use GPT-3 or something else on the background? If not, what is the source of the training data?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @04:58PM (#34433717)
We don't rely on any 3rd party APIs in order to keep serving costs down (which is necessary to keep this as a free service). We only use permissively licensed public code to train.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by jen20 on Wednesday January 18, 2023 @05:05PM (#34433786)
What counts as permissively licensed? The FAQ is mealy-mouthed about this.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @05:16PM (#34433916)
He won't answer because he's following OpenAI's criminal footsteps.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by RockRobotRock on Wednesday January 18, 2023 @05:36PM (#34434113)
Totally unbiased opinion from someone who sells their own GPT-like software.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @05:47PM (#34434210)
There's no GPT in my software, nor does it work like it.

Anything else you care to be wrong about?

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by RockRobotRock on Wednesday January 18, 2023 @06:16PM (#34434524)
Oh, I see that you're actually suing GitHub and OpenAI, it all makes sense now. TOTALLY not biased in any way!
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @06:23PM (#34434597)
Oh, and don't bother responding to me again.

I won't answer.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @06:22PM (#34434581)
Congratulations! You're WRONG AGAIN! LoL

It's not my lawsuit :-)

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by RockRobotRock on Wednesday January 18, 2023 @06:23PM (#34434604)
"We’ve filed a law­suit chal­leng­ing GitHub Copi­lot" from your Twitter account, but okay.

https://twitter.com/JOSourcing/status/1588296106554716160?s=...

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by RockRobotRock on Wednesday January 18, 2023 @08:52PM (#34435776)
I'm sorry i didnt realize you were just quoting the page
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by elorm on Wednesday January 18, 2023 @05:55PM (#34434305)
What happened to operating in good faith on this platform? That's such a mean comment to make on such a lighthearted topic.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @06:09PM (#34434441)
This person had ample opportunity to answer the question. But he didn't, just like the other thieves who don't answer questions about the legality of their datasets.

It's a pattern.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by rpdillon on Wednesday January 18, 2023 @07:24PM (#34435109)
You're using words like 'criminal' and 'thieves', but I'm not aware of any criminal case, and certainly not any convictions in any jurisdiction. Did I just miss it?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by bombolo on Thursday January 19, 2023 @03:39PM (#34445298)
You can be a criminal without being convicted.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by rpdillon on Thursday January 19, 2023 @06:45PM (#34447269)
Who decides?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by jeroenhd on Wednesday January 18, 2023 @06:07PM (#34434425)
Reading the FAQ it seems to come down "people copy/paste from publicly available code anyway so who cares. We'll look into attribution in the future maybe".

I've never read an FAQ that avoids it's own questions this much. They say "permissive licenses", they could've just listed what licenses were deemed acceptable by their scraper. Licenses like WTFPL, MIT-0 or CC0 are perfectly usable for ML because they require nothing in exchange for the code. There are projects out there using these licenses, though most will require attribution at the very least.

Microsoft went full "licenses don't apply to machine learning, sue us", just like most AI companies when it comes to things like copyright, but I don't think claiming to care about licenses and then refusing to name any permissable licenses for your model is much better. At least MS doesn't lie about their intentions.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by jen20 on Wednesday January 18, 2023 @06:33PM (#34434688)
Indeed - I would argue it is _much_ worse.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by honkler on Wednesday January 18, 2023 @05:25PM (#34434011)
be explicit about it. what is "permissively licensed"?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by bombolo on Wednesday January 18, 2023 @07:21PM (#34435090)
MIT license still has the copyright notice requirement…
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by bonsaisai on Wednesday January 18, 2023 @05:11PM (#34433858)
Is this OK? Autocomplete suggests the text with what appears to be someone's username.

https://freeimage.host/i/HaLPXDB

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @05:19PM (#34433945)
We are actively iterating on our data cleaning to deanonymize any user information. Of course some cases are tricky to find, but we recognize these issues are serious and will continue to work here. All of our training data is public, so we know that we won't ever produce private user info.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @07:35PM (#34435200)
>We are actively iterating on our data cleaning to deanonymize any user information.

You're actively trying to doxx people?

Do you have any idea what the words you're using even mean??

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nothrowaways on Thursday January 19, 2023 @03:06AM (#34437877)
If they are using a publicly available code, I don't think it is appropriate to accuse them of doxxing, anyone could just go to GitHub and find the snippet of code.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Friday January 20, 2023 @10:43AM (#34454571)
What does deanonymize mean?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @06:16PM (#34434525)
That's proof that this "programmer" is foolishly using scraped content as a dataset.

If you found that, you'll find all sorts of private information in there.

This post should be taken down.

The project is a security risk.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by zabil on Wednesday January 18, 2023 @05:32PM (#34434073)
Trying this out on neovim. Is there a way to use another key combination to accept the auto completion instead of a Tab?

This is to avoid clashing with nvim-cmp's tab configuration. copilot plugin uses an alt-l combination to accept the suggestion for example

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @05:44PM (#34434185)
Thanks for the feedback. Currently there is not, but we will look into setting up custom keybindings or some other approach.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by gkfasdfasdf on Wednesday January 18, 2023 @05:37PM (#34434124)
How is this free exactly? The cost to running a quality model is certainly not zero or even cheap. Is this explained anywhere?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by varunkmohan on Wednesday January 18, 2023 @05:43PM (#34434178)
It isn't zero, that's for sure! Before Codeium, we as a team were building scalable ML infrastructure for some of the world's largest ML workloads, so we have a lot of experience in building infra (especially ML serving infra) that optimizes computation on GPUs/mixed compute resources to drastically reduce serving costs. We will probably talk more about these infra side optimizations in future blog posts!
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by sva_ on Wednesday January 18, 2023 @05:54PM (#34434288)
Not a very elegant way of tip-toeing around the question of "how do you finance this?/what's the catch?"
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nothrowaways on Wednesday January 18, 2023 @07:16PM (#34435043)
The catch is the code runs on your machine but the team doesn't tell you.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by freedomben on Thursday January 19, 2023 @12:41PM (#34443126)
Yes, but that would actually be an awesome feature! If only it didn't call home so much to send unknown payloads...
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nequo on Wednesday January 18, 2023 @05:53PM (#34434274)
What is your monetization strategy? What additional features are you planning that will generate revenue?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by neuronexmachina on Wednesday January 18, 2023 @06:28PM (#34434647)
From their faq: https://www.codeium.com/faq

> How do you plan to make money?

> Fair question whenever anything is billed as free forever, especially when there are clear infrastructure serving costs as we do! To be clear, this free forever deal is in order to provide some special benefit to early adopters like yourself who have supported Codeium from the beginning. We are actively working on a bunch of exciting additional features that we may consider as part of a paid Pro subscription, but we are committed to offering state-of-the-art code completion forever for free to you and as cheaply as possible to every developer at large.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by parhamn on Wednesday January 18, 2023 @06:03PM (#34434383)
I think it is okay to still be figuring out the pricing and other details while you build this out, even if it is at a Show HN stage. Perhaps, I would not recommend using this on your sensitive projects just yet.

Given that most of the responses are about "what is the trick?", "how is it funded", etc., it seems like HN does not feel the same? If they were to respond with some random VC as the source of funding, would it suddenly be less nefarious (even though the incentives are probably worse)? What are the other implied obligations of doing a Show HN?

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by pvg on Wednesday January 18, 2023 @06:10PM (#34434449)
even if it is at a Show HN stage

'Show HN' is for things that can be tried and that's about it. It has different criteria (and inputs) from things like 'Launch HN'.

A Show HN needn't be complicated or look slick. The community is comfortable with work that's at an early stage.

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

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by RobotToaster on Wednesday January 18, 2023 @06:06PM (#34434409)
Worth noting that only the extension is actually free (as in speech), the actual important parts, the server and model, are proprietary.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by mlboss on Wednesday January 18, 2023 @06:23PM (#34434603)
Is there a free copilot alternative which can utilize SalesForce CodeGen model ? I looking to standup a service in my firm provide code generation capabilities.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by b1ue64 on Wednesday January 18, 2023 @06:38PM (#34434731)
Now port it to Emacs
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by cadamsau on Wednesday January 18, 2023 @06:43PM (#34434770)
The negative comments in this thread are coming from a mix of critics and assholes.

The difference between a critic and an asshole is whether they care about your success. You can safely ignore the assholes; critics provide the same information, but package it better.

I hope you and your team succeeds in creating a competitor in this space, it's going to get really exciting.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by BaculumMeumEst on Wednesday January 18, 2023 @06:52PM (#34434844)
just as my copilot trial is expiring, nice. will plan to try this out tonight
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by k__ on Wednesday January 18, 2023 @06:57PM (#34434883)
Played around with it a little bit, but it always tries to write C code in TypeScript files.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by yoyohello13 on Wednesday January 18, 2023 @07:03PM (#34434931)
I will say this website is extremely responsive. I kept clicking back and forth on the nav links just because it loaded fast.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nothrowaways on Wednesday January 18, 2023 @07:10PM (#34434995)
Be careful of this project.

I am analyzing their binary in a sandbox as I write this.

I was excited when I installed it a couple of hours ago. But suddenly my firewall notifications start piling up.

As soon as you install it, it downloads a large binary that includes the trained models and starts a web server on your computer. Then it phones home what they call "meta data", it keeps sending heart beat even if you opt out.

Basically the go binary on your machine is everything the tool needs. But before giving output it dials home.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by NicoleJO on Wednesday January 18, 2023 @07:37PM (#34435221)
Disgusting behavior.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by v3ss0n on Wednesday January 18, 2023 @07:17PM (#34435050)
yeah that kind of behavior , i had been seeing a lot in several opensource/binary projects. Mostly they are telemetry but some arent.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by honkler on Wednesday January 18, 2023 @07:17PM (#34435055)
Lovely. Just take the trained model and upload it to github. Let people use it without "dailing home". After all, OP mentioned in comments somewhere that they are doing it for "democratizing the technology". I cannot see a better way of democratizing. And ofcourse OP will have no problem with it because their goal was not to make money off it, I was told.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by v3ss0n on Wednesday January 18, 2023 @07:24PM (#34435117)
Democratizing by spying , sounds about right ;P

They should relase the current model and sell later updated models for a fee , that would be a good business idea.

Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by nothrowaways on Wednesday January 18, 2023 @07:29PM (#34435152)
Exactly.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by freedomben on Thursday January 19, 2023 @12:39PM (#34443103)
May I ask what sandbox software do you use?
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by alach11 on Wednesday January 18, 2023 @07:25PM (#34435121)
I just ran a few experiments with data science workflows comparing Codeium to Copilot. For my tasks, Copilot performed noticeably better.
Re:Show HN: Codeium: Free Copilot Alternative for Vim / Neovim by dang on Wednesday January 18, 2023 @07:25PM (#34435125)
Recent and related:

Show HN: Codeium – a free, fast AI codegen extension - https://news.ycombinator.com/item?id=33885676 - Dec 2022 (39 comments)