Spring til hovedindhold
Sammenlign

OpenCode vs. Codex vs. Claude Code

En gratis open source-kodeagent sammenlignet med de to agenter, der følger med ChatGPT og Claude. Her kan du se, hvad de koster, og hvad du får for pengene.

Vores dom

Vælg OpenCode, hvis du vil have den laveste regning eller frihed til at skifte modeller: Agenten er gratis, og Go-planen er den billigste betalingsmulighed med adgang til åbne kodemodeller. Vælg Codex eller Claude Code, hvis du vil bruge OpenAIs eller Anthropics egne førende modeller i agenten. OpenCode kan også bruge et abonnement eller en API-nøgle, du allerede betaler for. Priserne står i tabellen nedenfor med dato.

 OpenCodeCodexClaude Code
StartprisGratis planGratis plan$20/mo
Gratis plan
Brugervenlighed55/10062/10060/100
Til tekniske teams
Bedst tilImprove coding / development, Reduce software costsImprove coding / developmentImprove coding / development
Priser tjekket

OpenCode

Open-source AI coding agent that works with any model provider — great paired with OpenRouter.

Codex

OpenAI's agentic coding tool for building and fixing software from the terminal or editor.

Claude Code

An agentic command-line coding tool for building and refactoring software with AI.

Det korte svar

OpenCode is a free, open-source agent: you pay only for models, through its own $10 Go plan, its pay-as-you-go Zen credits, or a subscription or API key you already have. Codex and Claude Code come bundled with ChatGPT and Claude plans from $20 a month. OpenCode Go is the cheapest paid plan of the three, at $10 a month for open coding models such as GLM-5.3 and DeepSeek V4.1 Flash, and its team plan is $20 a member. Codex and Claude Code include their own vendor's frontier models, which Go mostly does not.

Pris på hvert niveau

NiveauOpenCodeCodexClaude Code
Billigste måde at komme i gang påFree (free models or your own key) · $0Free · $0Pro · $20Faktureres årligt: $17
StandardplanGo · $10Plus · $20Pro · $20Faktureres årligt: $17
Stort forbrugGo Plus · $40Pro 100 · $100Max · $100
Højeste niveau for enkeltpersonerGo Plus · $40Pro 500 · $500Ultra · $200
TeampladsGo Teams · $20Business (Standard seat) · $25Faktureres årligt: $20Team (Standard seat) · $25Faktureres årligt: $20
Premium-teamplads—Business (Premium seat) · $125Faktureres årligt: $100Team (Premium seat) · $125Faktureres årligt: $100

Alle planer side om side

Hver værdi linker til den officielle side, den stammer fra.

OpenCode (OpenCode)

Plan
Free (free models or your own key)
Pr. måned
$0
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
A set of free models, or bring your own subscription or API key from 200+ providers.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Go
Pr. måned
$10
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
One allowance shared across Go models, set per model as a monthly dollar limit; the 5-hour limit is 20% and the weekly limit 50% of the monthly allowance. Example monthly limits: GLM-5.3 $500 (raised through 22 Nov 2026), DeepSeek V4.1 Flash $100, most others $15–$60.
Offentliggjorte tal
Estimated requests per 5 hours and a monthly dollar limit, per model
API-kreditter pr. måned
Ingen
Kilde
Plan
Go Plus
Pr. måned
$40
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
One allowance shared across Go models, set per model as a monthly dollar limit; the 5-hour limit is 20% and the weekly limit 50% of the monthly allowance. Higher limits than Go: GLM-5.3 $1,000 (raised through 22 Nov 2026), DeepSeek V4.1 Flash $200, most others $60–$240.
Offentliggjorte tal
Estimated requests per 5 hours and a monthly dollar limit, per model
API-kreditter pr. måned
Ingen
Kilde
Plan
Go Teams
Pr. måned
$20
Faktureres årligt
Kun månedligt
Pladser
2 or more
Kodeagent
Inkluderet
Forbrugsgrænser
Each member gets their own allowance, $5 a month higher than Go on every model.
Offentliggjorte tal
Per-model monthly dollar limits
API-kreditter pr. måned
Ingen
Kilde
Plan
Zen (pay as you go)
Pr. måned
Tilpasset pris eller betaling efter forbrug
Faktureres årligt
Kun månedligt
Pladser
Any
Kodeagent
Inkluderet
Forbrugsgrænser
No plan allowance; you pay per token.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde

Codex (OpenAI)

Plan
Free
Pr. måned
$0
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Begrænset
Forbrugsgrænser
Limited Codex access; GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Go
Pr. måned
$8
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Begrænset
Forbrugsgrænser
Limited Codex access for lightweight tasks; GPT-6 Luna at Standard speed in the desktop app, subject to rollout.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Plus
Pr. måned
$20
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
Estimated local messages per 5 hours: GPT-6.2 Sol 17–180, GPT-6.2 Astra 6–50, GPT-6.1 Terra 35–285, GPT-6 Luna 350–3,000. Weekly limits may also apply.
Offentliggjorte tal
Ranges per 5 hours, by model
API-kreditter pr. måned
Ingen
Kilde
Plan
Pro 100
Pr. måned
$100
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
No five-hour limit at present; weekly allowance larger than Plus (doubled on 29 Oct 2026). No Ultrafast.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
$100
Kilde
Plan
Pro 200
Pr. måned
$200
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
No five-hour limit at present; more usage than Pro 100. OpenAI's Work and Codex article says Pro 200 gets GPT-6.2 Sol Ultrafast in Codex; the Pro tiers article says Ultrafast is Pro 500 only.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
$200
Kilde
Plan
Pro 500
Pr. måned
$500
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
Highest included usage of the Pro tiers; no five-hour limit at present; Ultrafast included (uses allowance at 6x–8x the Standard rate).
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
$500
Kilde
Plan
Business (Standard seat)
Pr. måned
$25
Faktureres årligt
$20
Pladser
2–200
Kodeagent
Inkluderet
Forbrugsgrænser
Estimated local messages per 5 hours: GPT-6.2 Sol 17–180, GPT-6.2 Astra 6–50, GPT-6.1 Terra 35–285, GPT-6 Luna 350–3,000. Weekly limits may also apply.
Offentliggjorte tal
Ranges per 5 hours, by model (same as Plus)
API-kreditter pr. måned
Ingen
Kilde
Plan
Business (Premium seat)
Pr. måned
$125
Faktureres årligt
$100
Pladser
2–200 (mix with Standard seats)
Kodeagent
Inkluderet
Forbrugsgrænser
More usage than a Standard seat, with no five-hour limit.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Enterprise & Edu
Pr. måned
Tilpasset pris eller betaling efter forbrug
Faktureres årligt
Kun månedligt
Pladser
Custom
Kodeagent
Inkluderet
Forbrugsgrænser
Flexible-pricing workspaces have no fixed rate limits and scale with credits; others match Plus per seat for most features.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
API key (pay as you go)
Pr. måned
Tilpasset pris eller betaling efter forbrug
Faktureres årligt
Kun månedligt
Pladser
Any
Kodeagent
Inkluderet
Forbrugsgrænser
No plan allowance; you pay for every token. CLI, SDK and IDE only, no cloud features.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde

Claude Code (Anthropic)

Plan
Free
Pr. måned
$0
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Ikke inkluderet
Forbrugsgrænser
Limited usage every 5 hours and every week. Claude Code is not included.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Pro
Pr. måned
$20
Faktureres årligt
$17
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
1x baseline, reset every 5 hours plus a weekly limit; at least 5x Free per session. Chat and Claude Code share one pool. Fable only through paid usage credits.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Max
Pr. måned
$100
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
5x Pro usage every 5 hours and every week; Fable included up to half the weekly limit; priority access at busy times.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
$100
Kilde
Plan
Ultra
Pr. måned
$200
Faktureres årligt
Kun månedligt
Pladser
1
Kodeagent
Inkluderet
Forbrugsgrænser
10x Pro usage every week; no five-hour limit for verified accounts; Fable up to half the weekly limit.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
$200
Kilde
Plan
Team (Standard seat)
Pr. måned
$25
Faktureres årligt
$20
Pladser
2–150
Kodeagent
Inkluderet
Forbrugsgrænser
More usage than Pro (multiple not stated).
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Team (Premium seat)
Pr. måned
$125
Faktureres årligt
$100
Pladser
2–150 (mix with Standard seats)
Kodeagent
Inkluderet
Forbrugsgrænser
5x the usage of a Standard seat; Fable up to half the weekly limit.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
Enterprise
Pr. måned
Tilpasset pris eller betaling efter forbrug
Faktureres årligt
$20
Pladser
20+
Kodeagent
Inkluderet
Forbrugsgrænser
Usage billed at API rates; admins set user and org spend limits.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde
Plan
API key (pay as you go)
Pr. måned
Tilpasset pris eller betaling efter forbrug
Faktureres årligt
Kun månedligt
Pladser
Any
Kodeagent
Inkluderet
Forbrugsgrænser
No plan allowance; no hard stop, the account is charged for what it uses.
Offentliggjorte tal
Ikke offentliggjort
API-kreditter pr. måned
Ingen
Kilde

Bedste valg efter brugertype

Udvikler, der arbejder aleneLige

  • OpenCode: Go · $10/md.
  • Codex: Plus · $20/md.
  • Claude Code: Pro · $20/md.

Go at $10 is half the price of Plus or Pro, but it runs open models. If you want GPT-6.2 or Claude Opus and Sonnet in the agent, the $20 plans are the way in.

Stort dagligt forbrugFordel: OpenCode

  • OpenCode: Go Plus · $40/md.
  • Codex: Pro 100 · $100/md.
  • Claude Code: Max · $100/md.

Go Plus costs $40 against $100, with monthly dollar limits per model, for example $200 on DeepSeek V4.1 Flash. The $100 plans buy frontier-model time instead.

TeamFordel: OpenCode

  • OpenCode: Go Teams · $20/md.
  • Codex: Business (Standard seat) · $25/md.
  • Claude Code: Team (Standard seat) · $25/md.

Go Teams is $20 a member with a 2-member minimum, against $25 ($20 annual) for Business or Team seats, which add admin controls and frontier models.

StuderendeFordel: OpenCode

  • OpenCode: Free (free models or your own key) · $0/md.
  • Codex: Go · $8/md.
  • Claude Code: Pro · $20/md.

OpenCode's free models need no account. None of the three lists an individual student discount.

Stramt budgetFordel: OpenCode

  • OpenCode: Free (free models or your own key) · $0/md.
  • Codex: Free · $0/md.
  • Claude Code: Pro · $20/md.

OpenCode with free models costs nothing, and the agent can also use a subscription or API key you already pay for.

Hvad almindelige opsætninger koster

Side project, a few sessions a week

Short sessions on evenings or weekends.

  • OpenCode: Go · $10/md.
  • Codex: Plus · $20/md.
  • Claude Code: Pro · $20/md.

Daily professional use

The agent is part of your workday.

  • OpenCode: Go Plus · $40/md.
  • Codex: Pro 100 · $100/md.
  • Claude Code: Max · $100/md.

Team of five developers

One bill, per-member limits.

  • OpenCode: Go Teams · $20/plads/md.
  • Codex: Business (Standard seat) · $25/plads/md.
  • Claude Code: Team (Standard seat) · $25/plads/md.

CI and scripted runs

Pay per token.

  • OpenCode: Zen (pay as you go) · Tilpasset pris eller betaling efter forbrug
  • Codex: API key (pay as you go) · Tilpasset pris eller betaling efter forbrug
  • Claude Code: API key (pay as you go) · Tilpasset pris eller betaling efter forbrug

Hvor hver løsning er bedst

OpenCode

  • Free, open-source agent with free models and no account needed.
  • Cheapest paid plan: Go at $10 a month.
  • Works with 200+ providers, so you can switch models without switching tools.
  • Zen sells models at cost plus a payment fee.

Codex

  • Includes OpenAI's newest models, GPT-6.2 Astra and Sol.
  • Cloud tasks, GitHub code review and Slack on Plus and above.
  • Pro tiers have no five-hour limit for now.

Claude Code

  • Includes Anthropic's Opus, Sonnet and, on Max and Ultra, Fable.
  • Pro can be billed annually at $17 a month.
  • Ultra has no five-hour limit for verified accounts.

Hvad sker der, når du rammer en grænse?

  • OpenCode Go sets a monthly dollar limit per model; the 5-hour limit is 20% of it and the weekly limit 50%. At the limit you can turn on Extra Usage and pay from Console credits.
  • Codex and Claude Code meter by a five-hour window plus a weekly limit, and both let paid plans keep going on purchased credits.

Hvilken plan passer til din måde at arbejde på?

Flyt skyderne. Resultatet er et estimat baseret på de verificerede priser ovenfor og antagelserne nedenfor.

OpenCode · Anbefalet plan

Go Plus

$40 om måneden

Samme arbejde via API'et (DeepSeek V4.1 Flash (Zen))
$6.10

Planen tjener sig selv ind ved cirka 65.6 opgaver om dagen pr. person

Ved dette forbrug er API'et sandsynligvis billigere end planen.

Codex · Anbefalet plan

Pro 100

$100 om måneden

Samme arbejde via API'et (GPT-6.2 Sol)
$49

Planen tjener sig selv ind ved cirka 20.5 opgaver om dagen pr. person

Ved dette forbrug er API'et sandsynligvis billigere end planen.

Claude Code · Anbefalet plan

Max

$100 om måneden

Samme arbejde via API'et (Sonnet 5.5)
$49

Planen tjener sig selv ind ved cirka 20.5 opgaver om dagen pr. person

Ved dette forbrug er API'et sandsynligvis billigere end planen.

Estimat, ikke et tilbud

Antagelser bag estimatet
  • Én agentopgave sender cirka 150.000 inputtokens, hvor 80% kommer fra promptcachen, og modtager cirka 15.000 outputtokens.
  • 22 hverdage med brug om måneden.
  • Op til 1 time eller 5 opgaver om dagen passer til en startplan; op til 3 timer eller 20 opgaver passer til mellemplanen; op til 6 timer eller 50 opgaver passer til den høje plan; derover passer den højeste plan, der tilbydes. Disse intervaller er Dapols’ vurdering: ingen af virksomhederne offentliggør antal timer pr. plan.
  • Teams på to eller flere får teampladser: Standard ved let brug, Premium ellers.

Forbehold

  • OpenCode Go and the Codex or Claude plans buy different things: Go mostly covers open models, the others their own vendor's frontier models.
  • Prices are in US dollars and exclude tax. The raised GLM-5.3 limit on Go ends on 22 November 2026.
  • Usage allowances are not fixed message counts on any of the three, so the calculator is an estimate.
  • Go limits are set per model as a monthly dollar amount, so how far $10 goes depends on which model you pick. Kilde
  • The raised GLM-5.3 limit applies through 22 November 2026; a 50% Gemini 4 Argon discount runs through 30 November 2026. Kilde
  • Go's model list changes as OpenCode tests and adds models; some models are limited to certain regions. Kilde
  • OpenCode itself is free and open source; Go and Zen pay for models, not for the agent. Kilde
  • OpenAI's message figures are estimates, not fixed limits; cloud tasks can use more of the allowance than local messages. Kilde
  • ChatGPT Work and Codex share one allowance, so non-coding Work tasks draw from the same pool. Kilde
  • Two OpenAI help articles disagree on whether Pro 200 includes any Ultrafast access. Kilde
  • OpenAI's Business page says plan usage will share one limit across ChatGPT and Codex starting in December 2026. Kilde
  • A Business workspace gets up to $500 a month in API credits in total, not per seat. Kilde
  • API requests over 272K input tokens cost more: input doubles and output is 1.5x for the whole request. Kilde
  • Anthropic publishes limits as multiples of Pro, not as message counts. How fast you reach a limit depends on the model, chat length and file size. Kilde
  • Chat, the desktop app and Claude Code all draw from the same usage pool. Kilde
  • Anthropic says it may add weekly or monthly caps, or model and feature limits, at its discretion. Kilde
  • Max and Ultra API credits do not raise your Claude Code usage limits; they are for separate API-key work. Kilde
  • Prices exclude applicable tax. Kilde

Få en e-mail, når priserne ændrer sig

Én kort besked, når prisen eller grænsen for en plan ændres. Ingen andre e-mails.

Ofte stillede spørgsmål

Is OpenCode cheaper than Codex or Claude Code?

Yes on list price. OpenCode itself is free, and its Go plan costs $10 a month against $20 for ChatGPT Plus or Claude Pro. Go mostly covers open models such as GLM-5.3 and DeepSeek V4.1 Flash, while the $20 plans include each vendor's own frontier models.

Is there a $200 OpenCode plan?

Not on OpenCode's own pages as of 18 November 2026. The plans are Go at $10, Go Plus at $40 and Go Teams at $20 a member. The "$200" people mention is a usage limit: OpenCode raised the GLM-5.3 monthly limit on the $10 Go plan, and its Go page now shows $500 through 22 November 2026.

Can I use OpenCode with a model I already pay for?

Yes. OpenCode works with 200+ providers, so you can bring your own subscription or API key instead of buying Go.

Which has the best team plan?

OpenCode Go Teams is the cheapest at $20 a member with a 2-member minimum. ChatGPT Business and Claude Team cost $25 a seat, or $20 billed annually, and add admin controls, single sign-on and their vendors' frontier models.

Stadig i tvivl?

Tag quizzen på 2 minutter, så anbefaler vi det rigtige valg til din virksomhed.

Tag quizzen