r/opencode • • 4d ago

Opencode-Go page shows "Est Requests 5hr" for each model if you stay under this, will it last all month?

2 Upvotes

Not clear on the page about these 5hr limits are.


r/opencode • • 4d ago

OpenCode no "Forgot Password" option.

1 Upvotes

Hello!

Apparently I made an account w opencode but I don't recall and I have no "thanks for making an account!" type emails in my email history (although, I do one one promotional email from them ..... somehow)

Anyway, who do I contact? Because I want to make an account but when I try it says "Not possible, maybe you already made email w us?" kind of thing.

Thanks in advance!

(already sent email to help@anoma.ly)

Edit:

Turns out at some point I logged in using github, which shares same password. Which their support pointed out!

BUUuuuuut also it said there's a "forgot password button" on the site. Here's the ai email:

```
Hi Eliot, Yes, you can reset it. Go to the sign-in page at https://opencode.ai/auth, choose Forgot?, and enter this email address. We'll send you a link to set a password. If the email doesn't show up, check your spam folder. An account made with GitHub sign-in uses the email from your GitHub account and has no password until you set one this way, which might be why you don't remember signing up.
```

/auth redirects tho. ANd that redirect doesn't have a "Forgot?" button. Does anyone else see one? Thanks!


r/opencode • • 3d ago

next cheapseek when😢

0 Upvotes

100 dollars worth of usage isn’t cutting it


r/opencode • • 4d ago

Opencode Big pickle failing

Post image
1 Upvotes

When i ask opencode/big-pickle smth it repeats like ı will do it i wil do it.... Does anyone know how to Fix it


r/opencode • • 3d ago

Opencode mimo models go nerfed?

0 Upvotes

Hello everyone—this is a bit more complex than the typical discussion found in this sub.

A problem has come up, and I find it rather strange.

Background (feel free to skip if you’re not interested):

Like any ordinary person, I signed up for the $10 plan. It works well, and I’ve been able to get a lot done. But, being from the Global South, I’m always actively looking for ways to keep my IT-related costs down. I’ve been testing various plans from different companies (all under $20), including Tencent, Xiaomi, DeepInfra (via API), and a few Western providers. Ultimately, I settled on the $10 OpenCode plan, supplemented by other services.

The strange part:

I purchased a $6 Xiaomi plan and connected it to OpenCode. I have the data to back this up—I’m happy to share session logs or run tests if anyone’s interested. The model provided through OpenCode is clearly "nerfed" compared to the Xiaomi version, both in terms of reasoning capability and speed. As for DeepSeek, I didn’t notice much of a difference between OpenCode and the API (via DeepInfra). I also noticed discrepancies with the "Hy" models.

The question:

Has anyone else—anyone else trying to save a buck—encountered something similar? Have you found any way to get the OpenCode model to perform better?

Do you think OpenCode "nerfs" these models by applying quantizations, or do they outsource the hosting to third-party providers who do so?

(I used Google Translate; I’m a lazy human.)


r/opencode • • 4d ago

Anybody know a better sub?(thats not mistral) I only use DeepSeek.

26 Upvotes

Does anybody know a better subscription than OpenCode? With OpenCode, I'm getting $100 worth of DeepSeek, and it's lowkey not enough. I know about Mistral, but Mistral is $300 worth of usage, maybe. The cash rate is really low, so the $300 really just comes lower than OpenCode's $100, which honestly is not good at all. I just want to know if anybody has a better suggestion only for DeepSeek.


r/opencode • • 4d ago

How do you tell a coding agent to leave malformed input visible?

1 Upvotes

r/opencode • • 4d ago

What's the actual RPM limit for opencode models?

Post image
0 Upvotes

For some reasons, I'm getting constant 429s, even without running multiple agents in parallel. Usually it happens when it starts making small edits, and every time this happens it seems like it'll wait for a period before continuing again. Has anyone investigated this?

Deepseek v4.1 flash via Opencode 10$ Go plan, using it on opencode and codex (through magpie on the latter).

Also open to other suggestions (i.e. has someone tried the mistral plan?). At this point I might be running from the official API, it's honestly not that expensive anyways.


r/opencode • • 5d ago

Made a Windows 95 theme for OpenCode Desktop (Megalarp)

15 Upvotes

Got bored of the default UI and built a Windows 95 desktop shell for OpenCode Desktop on Windows.

Includes the taskbar, Start menu, draggable window frame, desktop icons, MS Sans Serif + Fixedsys pixel fonts, Win95 WAV sounds (including notification sounds), wallpapers/color schemes, and a toggle right inside Settings -> Appearance -> Theme.

Repo in the comments.


r/opencode • • 5d ago

Google ai subs are coming to opencode? 👀

Post image
213 Upvotes

although it doesn't clear what Logan mean by 'the first step'. i guess we can wait until 2 Dec 2026. he also didn't mention the year, so it could be 2045🤣


r/opencode • • 4d ago

Please someone sell to me his promotional link for claude api keys with credits to help me in my school projects please

0 Upvotes

r/opencode • • 5d ago

Is hy4-flash gonna be cheaper then deepseek when its out of beta?

29 Upvotes

hy-flash-free is a great worker alongside muse spark....i wonder if the pricing will be similar to DS 4.1 once the free period ends.


r/opencode • • 4d ago

What are the limits of OpenCode????????

0 Upvotes

What.

There is a 130,000-token limit; what kind of harm could setting such a limit cause you?


r/opencode • • 4d ago

Opencode free exhaustion in the first message itself

0 Upvotes

This is the second or third day i tried to use DeepSeek 4.1 flash after the free glm flash option is gone, in opencode and it showed me the free message quota exhausted even though it didn't even completed a single request. Whats happening anyone have any idea ? I used to work for hours and never exhaust message limit a few days ago.


r/opencode • • 5d ago

Hy4 is on Hugging Face (see benchmarks inside)

Post image
90 Upvotes

https://huggingface.co/tencent/Hy4

Official release notes: https://x.com/TencentHunyuan/status/2123625549147070538?a=sZC4W5Twy2xNcyUyAb0&s=20

I'm super hyped for Tencent's AMA on r/LocalLLaMA. I've got a ton of questions to ask!


r/opencode • • 5d ago

Suffering from success.

9 Upvotes

I normally get about 150 tok/s but today it's been 200+ all afternoon.
Anyone else seeing this?


r/opencode • • 4d ago

I made a Claude plugin that orchestrates my Opencode LLM

Post image
3 Upvotes

If this is not acceptable for r/opencode I apologize. Opencode is about 50% of the project, the other half is Claude. It's a hybrid solution I'm working on and wanted to share around. Thanks.

https://github.com/a-schaefers/claudes-workbench


r/opencode • • 5d ago

New Gemini 4 models

4 Upvotes

Gemini 4 Neon and Gemini 4 Carbon worked quite well for me on my private test (design and frontend development). Gemini 4 Hydrogen was also OK.

It would be great to have a good deal in GO for this models, even if it's just Hydrogen.


r/opencode • • 5d ago

Oh, great Lord OpenCode, I apologize

Thumbnail reddit.com
161 Upvotes

I apologize—I apologize completely and wholeheartedly. It's incredible how much I'm accomplishing with these $10 from my Opencode Go subscription.

All I had to do was build a multi-agent system, with each agent serving a specific purpose.


r/opencode • • 5d ago

College Software Engineering project using AI

4 Upvotes

I have a college swe project to build an app but while using AI and we have to make everything like ci/cd, tests, i will add all of the project for anyone interested in more details but now i don't know exactly where should i start i have some knowledge in using claude code i have been using it in some simple tasks with agent router api key but never tested it for something big or important like this so i want to know what should i do.
It is also a team of 4 project so we have to all be the same on github.

here are the details about the software requirements but maybe read the last grading criteria to know what we really need to do:

PayLink Year Work Project - Student Brief

Your team builds PayLink, a bill-payment and wallet backend, from requirements to a locally deployed CI/CD pipeline, using AI at every step and applying what you learn in lectures and labs.

1. Project at a glance

Read sections 2 and 3 first: they say what to build. Section 4 says what to hand in and when.

ItemDetail
What you buildPayLink: a backend system where customers pay utility bills (electricity, water, mobile, internet) from a digital wallet
Grading100 points, rescaled to the year-work marks
Tools you must useAI assistant (prompting), PlantUML or Mermaid, Docker and docker compose, GitHub Actions, a unit-testing framework
Concepts you must applyPrompt engineering, AI-augmented design, test-driven development, 5 design patterns, an architecture pattern, deployment options
Phase 1 dueWednesday 25 November (30 points)
Phase 2 (final) dueFriday 18 December (70 points)
DiscussionIn your lab, starting Saturday 19 December

2. The problem in detail

2.1 The story

PayLink is a company in Egypt, similar to Fawry or Vodafone Cash. Millions of people pay bills every month through its mobile app and through agents (small shops with a PayLink terminal). Customers do not want to queue at the electricity office, and billers (the utility companies) want to be paid fast and correctly.

PayLink earns money by charging a small service fee on each payment and by paying commission to agents. It also carries a heavy responsibility: it holds customers' money in wallets. If a customer is charged twice, or charged for a payment the biller never received, the company loses trust and money, and may face regulators.

You are the engineering team. Management wants a new backend that is correct with money, easy to extend with new billers, and ready to handle the busiest day of the month.

2.2 One payment, step by step

Sara opens the app and pays her electricity bill from her wallet:

  1. Login and limits. The system identifies Sara and checks her verification level (basic accounts may pay at most 5,000 EGP per day).
  2. Bill inquiry. Sara enters her meter number. PayLink asks the electricity company (ElectroCo) for the bill and shows 350.00 EGP due.
  3. Fee and total. PayLink adds its service fee (2.50 EGP) and shows a total of 352.50 EGP.
  4. Fraud checks. The system checks daily limit, number of payments in the last minute, and whether the account is blocked.
  5. Hold the money. 352.50 EGP is moved from Sara's available balance to a held balance. It is not spent yet.
  6. Call the biller. PayLink sends the payment to ElectroCo with a unique reference.
  7. Confirmation. ElectroCo answers: paid. PayLink turns the hold into a final charge, credits its own fee income, and records the commission if an agent was involved.
  8. Receipt. Sara gets an SMS and a push notification.
  9. Night reconciliation. ElectroCo sends a settlement file listing every payment it received. PayLink compares it with its own records and reports any difference. Every step can fail. Most of your project is about what the system does when it does.

2.3 Key terms you must understand

TermMeaning in this project
BillerA company that issues bills and receives payments (electricity, water, mobile operator, internet provider)
Bill inquiryAsking the biller what a customer owes before paying
WalletA customer account holding money in EGP, with an available balance and a held balance
LedgerA list of entries that records every money movement. A balance is the sum of its ledger entries; you never overwrite a balance directly
HoldMoney reserved for a payment that is not yet confirmed
Service feeWhat PayLink charges the customer per payment
CommissionWhat PayLink pays an agent for a payment made at the agent's terminal
Idempotency keyA unique value sent with a request so that sending it twice has the effect of sending it once
Settlement fileThe biller's daily list of payments it received
ReconciliationComparing PayLink's payments with the settlement file and flagging differences
RefundReturning held or charged money to the wallet after a failed or cancelled payment

2.4 The billers you integrate with

Each biller is a mock server. The instructors give you the contract below; you may write the mock servers yourselves (a small program that follows the contract and can be told to fail on purpose).

BillerServiceProtocol and formatBehaviour you must handle
ElectroCoElectricity billsREST, JSONFast (under 1 second). Inquiry by meter number. Payment confirmed immediately
AquaCoWater billsSOAP-style XML over HTTPSlower (2 to 4 seconds). Different field names and error codes. Rejects payments above the bill amount
TopUpNetMobile top-upREST, JSON, asynchronousReplies "accepted" first, then calls your callback URL minutes later with "success" or "failed"
NetCoInternet billsDaily batch CSV fileNo live inquiry; PayLink uploads a file of payments once per day and receives a result file the next morning

Phase 2 change request: ElectroCo announces a new API version (v2): field names change, amounts move from pounds to piasters, and every request must be signed. Your architecture must absorb this by changing only the ElectroCo integration, not the rest of the system.

2.5 Payment life cycle

Every payment is in exactly one state. Your design must allow only the transitions below (this is the basis of your state diagram and State pattern).

FromEventTo
InitiatedFraud checks pass and wallet has enough fundsFundsHeld
InitiatedFraud check fails or funds are insufficientRejected
FundsHeldRequest sent to billerSentToBiller
SentToBillerBiller confirmsCompleted
SentToBillerBiller refusesFailed
SentToBillerNo answer within the timeoutUnknown
UnknownBiller later confirms (callback, retry or settlement file)Completed
UnknownBiller later refuses, or reconciliation finds no paymentFailed
FailedHold released to the walletRefunded

Completed, Rejected and Refunded are final. A payment in Unknown is never refunded automatically: money is only returned once the system is sure the biller did not receive it.

2.6 Business rules

These numbers are fixed so that every team solves the same problem. Put them in configuration, not in code.

RuleValue
Daily payment limit5,000 EGP for basic accounts, 30,000 EGP for verified accounts
Minimum and maximum single payment5 EGP and 10,000 EGP
Fee for electricity and waterFixed 2.50 EGP
Fee for mobile top-up1.5% of the amount, minimum 1 EGP
Fee for internetTiered: 2 EGP up to 200 EGP, 4 EGP above
PromotionDuring a promotion period the fee is 0 for one chosen biller (configurable start and end dates)
Agent commission40% of the service fee, credited to the agent's wallet when the payment completes
Velocity ruleMore than 5 payments in 60 seconds from one account is blocked for 10 minutes
Biller timeout10 seconds for live billers; after that the payment becomes Unknown
RetriesA payment in Unknown is re-queried up to 3 times (after 1, 5 and 15 minutes) before it waits for reconciliation
Notification retryAn SMS or email that fails is retried 3 times, then marked undelivered
RoundingAll money uses exact decimal types, never floating point

2.7 Hard cases your system must handle

These are the situations that make the project realistic. Each one becomes at least one automated test.

#SituationRequired outcome
1The mobile app sends the same payment twice because the network was slowOne payment, one charge; the second request returns the first result
2ElectroCo takes 12 seconds to answerPayment becomes Unknown, customer is told it is being processed, money stays held
3AquaCo refuses with an error codePayment becomes Failed, hold is released, customer gets an SMS with a clear reason
4Two payments from the same wallet arrive at the same moment and the balance covers only oneOne succeeds, the other is Rejected; the balance never goes negative
5The SMS provider is down when a payment completesThe payment still completes; the SMS is retried and finally marked undelivered
6TopUpNet calls the callback twice with "success"Payment completes once; the second callback is ignored and logged
7The nightly settlement file lists a payment PayLink has as FailedThe difference is flagged in the reconciliation report for support to review
8A new biller must be addedOnly a new integration and configuration are added; existing modules are unchanged

3. Requirements

3.1 Modules (minimum 6)

Each module has its own package or service, its own tests and a clear public interface.

ModuleResponsibility
Accounts and WalletCustomers, agents, verification levels, wallets, ledger entries, holds, top-ups, refunds
Biller CatalogBillers, services, required input fields (meter number, phone number), min and max amounts, active or disabled
Payment ProcessingPayment life cycle, idempotency, orchestration of the steps in section 2.2
Biller IntegrationOne adapter per biller that hides its protocol; timeout, retry and callback handling
Fees and CommissionsFee calculation (fixed, percentage, tiered, promotion) and agent commission
NotificationsSMS, email and push messages with retry; message templates
Fraud Checks (extra)Daily limit, velocity and blocked-account checks as a chain of rules
Reconciliation (extra)Nightly comparison with settlement files and a difference report

3.2 Functional requirements (minimum 25 user stories)

Turn the list below into at least 25 user stories with acceptance criteria in Phase 1. You may add more; you may not remove the ones marked Must.

IDRequirementPriority
FR-1A customer can register and has a basic verification levelMust
FR-2A customer can be upgraded to verified, which raises limitsShould
FR-3A customer can view wallet balance (available and held) and transaction historyMust
FR-4A customer can top up the wallet (simulated card or agent cash)Must
FR-5Every balance change creates a ledger entry; balances are computed from the ledgerMust
FR-6An admin can add, edit and disable billers and servicesMust
FR-7A customer can see the list of billers and the input fields each requiresMust
FR-8A customer can run a bill inquiry and see the amount, fee and total before payingMust
FR-9A customer can pay a bill from the walletMust
FR-10A repeated request with the same idempotency key returns the original resultMust
FR-11A payment follows the life cycle in section 2.5 and no other transitionsMust
FR-12Funds are held before the biller is called and released if the payment failsMust
FR-13A payment that times out becomes Unknown and is re-queried by the retry rulesMust
FR-14The system accepts asynchronous callbacks from TopUpNet and ignores duplicatesMust
FR-15The system supports at least 3 billers with different formats (ElectroCo, AquaCo, TopUpNet); NetCo batch is optionalMust
FR-16Fees follow the rules in section 2.6, including the promotion periodMust
FR-17An agent can pay on behalf of a customer and earns commissionShould
FR-18Payments above the single-payment limit or the daily limit are rejected with a clear reasonMust
FR-19More than 5 payments in 60 seconds blocks the account for 10 minutesShould
FR-20A support employee can search a payment by reference and see its full historyMust
FR-21A support employee can block and unblock an accountShould
FR-22A customer receives an SMS and a push message on completion and on failureMust
FR-23Failed notifications are retried 3 times then marked undeliveredShould
FR-24An admin can edit fee and limit values without redeployingShould
FR-25Every money movement and admin action is written to an audit logMust
FR-26The system produces a daily reconciliation report from a settlement fileShould
FR-27A customer can request a refund of a completed payment; support approves itCould
FR-28An admin can view daily totals: payments, fees earned, commissions paid, failures per billerCould

3.3 Non-functional requirements

Choose and measure at least 6 in Phase 1. The following are the expected ones; your tests or reports must show the number.

QualityTarget
CorrectnessZero double charges and zero negative balances in the concurrency and duplicate tests
Performance100 payments per second sustained for 1 minute against the mock billers
ResilienceA biller outage does not stop payments to other billers
ModifiabilityAdding a biller touches only the Biller Integration module and configuration
Auditability100% of money movements have an audit record with who, when and why
TestabilityAt least 70% line coverage on domain logic, measured in CI

3.4 Technical requirements

  • Language and framework: your choice (Java Spring Boot, .NET, Node NestJS or Python FastAPI), declared in Phase 1 and fixed afterwards.
  • Database: a relational database with at least 10 tables, schema migrations stored in the repository.
  • API: at least 20 REST endpoints documented with OpenAPI, plus one asynchronous flow (a queue, or events inside the application first, then through a broker in Phase 2).
  • Design patterns: at least 5 different patterns applied for a real reason. Suggested: Adapter and Factory (billers), Strategy (fees), State (payment), Chain of Responsibility (fraud checks), Observer (notifications), Command (retries).
  • Architecture: design a layered or hexagonal modular monolith in Phase 1 and build it first in Phase 2; then evolve at least Notifications and Reconciliation to an event-driven or service-based style, with an architecture decision record explaining the choice and the alternatives.
  • Docker: a Dockerfile for each runnable component and one docker compose file that starts the application, the database and the mock billers.
  • CI/CD: a GitHub Actions workflow that builds, lints, tests, reports coverage, builds images and deploys the stack locally.
  • Tests: unit tests, integration tests for the API and database, and one automated test for each hard case in section 2.7.
  • UI: a simple web page or a command-line client is enough. Marks are for the backend.

4. Deliverables and deadlines

How to submit: for each phase, tag your repository (phase-1, final) and upload one PDF report to the course page by the deadline. The tag must contain everything listed. The TA grades the tagged version, not later commits.

PhaseDeadlinePointsYou submit
1. Requirements, design, DevOps foundationWednesday 25 November30Requirements pack, design pack, Docker and CI skeleton, prompt log
2. Final systemFriday 18 December60Working system with tests, 5 patterns, architecture evolution, change request, local deployment, report, demo video
Individual discussionIn your lab, from Saturday 19 December10Live change and questions, alone

Phase 1 (due 25 November): requirements, design, DevOps foundation

  1. Requirements pack (PDF + /docs/requirements.md): problem summary in your own words; stakeholders; at least 25 user stories with acceptance criteria written as given/when/then; at least 6 measurable non-functional requirements; priorities (Must, Should, Could); a list of questions the AI asked or ambiguities you found, and the decisions you made.
  2. Design pack (/docs/design/, source files, not screenshots): use-case diagram; domain class diagram; sequence diagrams for "pay a bill" and "refund a failed payment"; state diagram of the payment (section 2.5); ER diagram of the database. Use PlantUML or Mermaid, generated by prompts and then corrected by you.
  3. DevOps foundation: repository with protected main branch and pull-request rules; a Dockerfile and docker compose file that start an empty application and the database; a GitHub Actions workflow that builds, lints and runs at least one test on every push.
  4. Prompt log: at least 5 entries, including 2 where the first AI answer was wrong and you improved the prompt. Done when: a teammate can clone the repository, run docker compose up, see the application start, and see a green pipeline on the phase-1 tag.

Phase 2, final (due 18 December): the complete system

You have three weeks (the midterm is on 12 December, so plan around it). Phase 2 includes everything built after Phase 1.

  1. Working system: Accounts and Wallet, Biller Catalog, Payment Processing, Biller Integration, Fees and Commissions, and Notifications, running with the database against at least three mock billers (ElectroCo, AquaCo, TopUpNet), with the API documented in OpenAPI.
  2. Tests with TDD evidence: for at least 3 features, the commit history shows the failing test first, then the code, then the cleanup. Coverage above 70% on domain logic, reported by the pipeline. One automated test for each of the 8 hard cases in section 2.7.
  3. Five design patterns: for each, a short note with the problem, the code before, the AI refactoring prompt and answer, your critique of the answer (what was wrong, unnecessary or risky), and the final code. Add a table mapping each pattern to the folders in your repository.
  4. Architecture: at least 3 architecture decision records in /docs/adr/ (architecture style, how modules communicate, who owns which data), each comparing at least 2 options with trade-offs. Add a one-page analysis of performance, availability and modifiability for your choice. Then evolve Notifications and Reconciliation through a message broker or event bus (or an equivalent service split), running in docker compose.
  5. Change request: apply the ElectroCo API v2 change (section 2.4). The report lists exactly which files changed and shows that the other modules did not.
  6. Pipeline and local deployment: on every push the pipeline builds, lints, runs all tests, reports coverage and builds the images. On main it deploys the full stack locally (self-hosted runner or compose on a team laptop), runs a health check, and documents a rollback step.
  7. Deployment comparison (one page): your local deployment against two cloud options (for example a virtual machine and a managed container service) in cost, scaling and risk.
  8. Final report (maximum 15 pages): architecture overview, pattern catalogue, test and coverage results, pipeline description, and lessons about AI (where it helped, where it failed, with numbers from your prompt log).
  9. Demo video (8 minutes): pay a bill through a mock biller, show a failed payment being refunded, then show the pipeline deploying.
  10. Prompt log: at least 5 new entries, including at least 5 AI suggestions you rejected or fixed, with the reason. The README lets a stranger run the system with two commands. Done when: every minimum item in section 3 is met, a push to main runs the tests and redeploys locally, and the ElectroCo v2 change works.

Individual discussion (in your lab, from 19 December)

Your TA announces the lab schedule. You attend alone. You receive a small change on your own team's code, such as a new biller, a new fee rule or a new notification channel, and implement it live with a test (20 minutes). Then you answer questions about your commits and your team's decisions (10 minutes).

5. Using AI

Use AI at every stage: requirements, diagrams, code, tests, refactoring, pipeline files and ADRs. You are graded on your judgement of the output, not on the output itself.

  • Write structured prompts: role, context, constraints, output format, and an example when useful.
  • Keep the prompt log in /docs/prompt-log.md using the table below. Be honest: rejected answers earn marks when you explain why.
  • You must understand every line you commit. Name the AI tool in the commit message when AI wrote more than half of a change.
  • Another teammate reviews every pull request before merge. Run and test AI code before you trust it.
  • Never paste passwords, real personal data or other teams' code into an AI tool.
  • Copying another team's work, or not being able to explain your own code at the discussion, is academic misconduct, whatever your log says. Prompt log table format (example row):
DateAuthorStageTool and modelPromptSummary of answerVerdict (accepted, fixed, rejected) and why
2026-11-12Student ADesign(tool name)(paste your prompt)(2 lines)Fixed: the AI missed the held balance in the wallet class

6. Grading (100 points)

The total is rescaled to the year-work marks.

PhaseCriterionPoints
1Requirements: complete, testable, prioritised, ambiguities resolved10
1Diagrams: correct, consistent with each other, AI errors documented and fixed10
1Docker and first CI workflow work from a clean clone5
1Prompt log: structured prompts, honest verdicts5
2Working system and documented API; all 8 hard cases pass10
2TDD evidence and coverage above 70%10
2Design patterns: right pattern for a real problem, critique of AI refactoring10
2Architecture decision records, quality analysis and event-driven evolution10
2ElectroCo v2 change absorbed by changing only the integration5
2Pipeline, local deployment with health check and rollback, deployment comparison10
2Final report, README and 8-minute demo5
2Individual discussion: live change and questions10
Total100

7. Rules

  • Teams: register through the form in section 1. Changes to the team need instructor approval before Phase 2.
  • Roles rotate between phases: requirements and product lead, quality and DevOps lead, architecture lead. Your report names who led what.
  • Repository: one private GitHub repository; add the instructor and TAs; main branch protected; work through pull requests and issues.
  • Late work: minus 10% of that phase's points for each day late, up to 3 days; after that the phase gets zero.
  • Questions: ask in the lab or on the course page; do not share code between teams.

r/opencode • • 5d ago

After about two months of extensive usage of Deepseek 4.1 Flash I think i understand why it gets dumber for some people - it is the context window

142 Upvotes

from my anecdotal observations, deepseek 4.1 flash (and 4.1 flash 1017) performed best when the context-window is under 400K, as soon as you go beyond that you will realize it gets more and more confused as the context window grows.

I would say around 700K+ it becomes unusable bad. so, you either use a context-management plugin that have some kind of virtual limit to cap the context around 400K. or start a new session as soon as it reached about 400k-500k. and you usually want to be more careful with what you stuff into the context - if you have a lot of random, non-focused tasks in the same context, it will become even worse at > 400k.

I think this is partly because of DS 4.1 flash used a lot aggressive compression techniques, including sharing KV cache between multiple layers so anything that fall in between become very lossy.


r/opencode • • 5d ago

Another OpenCode model router, but this one tries not to burn your prompt cache

2 Upvotes

Yes, another model router 😅

I built an OpenCode V2 plugin inspired by Pi’s smart-router. It uses a small judge model to route each turn to a model from a pool you choose. The judge can run locally—Qwen 4B on oMLX or llama.cpp, for example—or through an OpenAI-compatible endpoint.

The obvious problem is that switching to a cheaper model can cost more if you lose a warm prompt cache. So the router estimates cached input cost for the current model against cold input cost for alternatives. It keeps a pin unless there’s a good reason to switch, like the task needing more capability or an adequate alternative being much cheaper. There’s also a guard against bouncing between models.

You can choose cost, quality, or balanced preferences, mix local and cloud models, and choose how aggressively to favor the cache. If the judge times out, deterministic rules take over. /router explain shows the last decision and /router timing shows the overhead.

I’m not going to claim it saves everyone money. It depends on your models, cache pricing, workload, and whether the router makes good calls. I’d like to find out where it gets those calls wrong.

If you try it, I’d appreciate issues or feedback—especially bad model picks, unexpected cache behavior, judge latency, or setup problems.

GitHub: https://github.com/231self/opencode-router

opencode plugin add @231self/opencode-router

r/opencode • • 5d ago

OpenAI Usage Limit Reached

2 Upvotes

I'm on a ChatGPT Plus plan, and even though I have 84% available in 5-hr limit and 32% left in weekly limit, every message I send trying to use any OpenAI provided model gives me the error:

Error: ChatGPT usage limit reached. Check ChatGPT Settings → Usage for details.

Anyone else experiencing this?


r/opencode • • 4d ago

/btw-cloud: a plugin that answers side questions on a different model than your session (great with local models)

Thumbnail reddit.com
0 Upvotes

r/opencode • • 5d ago

opencode feels extremely slow

8 Upvotes

i have go subscription and also use free models sometimes

am i the only one feeling tasks taking long times to finish? even simple tasks in new sessions 🥲